Commit Graph

11 Commits

Author SHA1 Message Date
Ali Abdalla
b43055b297
Lite playground design changes (#7811)
* prevent new line on cmd+enter shortcut

* add copy button

* add download button

* better font sizing and align editor buttons

* button colors and header positioning

* add layout attribute

* height issue

* border fix

* overflow

* add changeset

* tests

* tweaks to index

* fix formatting in index.html

* fix event listener

* better alignment on header

* fix padding on code editor buttonsm

* add dark mode

* formatting

* fix heights issues

* add to guide

* shared worker and small fix

* Update guides/08_gradio-clients-and-lite/gradio-lite.md about SharedWorker mode (#7923)

* layout edit in guide

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-04-04 04:38:12 -07:00
Ali Abdalla
f739bef6c7
Add Playground to Lite Custom Element (#7660)
* lite playground changes

* add changeset

* formatting

* index

* fix tests

* fixes

* add changeset

* styling changes

* code parsing

* formatting

* remove tailiwnd

* add shortcut

* formatting

* linting

* formatting

* snake case

* typing

* try fix

* remove import

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-19 11:49:21 -07:00
Ali Abdalla
a7db8c1b8a
Add env to lite build (#7000)
* add venv

* comma

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 15:22:22 -08:00
Abubakar Abid
576b7ce827
lite build fix: install build package (#6999)
* install build package

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 14:59:18 -08:00
Ali Abdalla
523c08fe30
Design changes to Playground (#6997)
* design changes to playground

* formatting

* add changeset

* share your app

* tweak

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-11 02:39:20 +04:00
Abubakar Abid
ddd9749561
Just a small tweak to trigger a release of @gradio/lite (#5975)
* tweak

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-18 00:11:50 -07:00
pngwn
7fa5e766ce
format (#4810) 2023-07-06 18:43:49 +01:00
Yuichiro Tachibana (Tsuchiya)
da0e94479a
Lite: Add methods to run Python files mounted on a virtual file system, and unmount() method (#4785)
* Create WorkerProxy.runPythonFile() to run a mounted Python file and rename .runPythonAsync() to .runPythonCode()

* Fix lite/index.html and app/lite/index.ts adjusting the new option name

* Add changeset

* Add controller.unmount()

* Add changeset

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:43:14 +01:00
Yuichiro Tachibana (Tsuchiya)
622e8c62f2
Refactor the HTML files for the gradio-lite development (#4739) 2023-06-30 10:07:28 +01:00
renovate[bot]
a287ebeaeb
chore(deps): update dependency iframe-resizer to v4.3.6 (#4604) 2023-06-27 16:45:30 +01:00
Yuichiro Tachibana (Tsuchiya)
4fbdefe94e
Gradio-lite (Gradio Wasm) (#4402) 2023-06-27 08:09:50 +01:00