Ali Abdalla
93d28bc088
Small fix to website header ( #6121 )
...
* header-fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-27 12:58:13 -07:00
Ali Abdalla
439efa39dd
Add banner for 4.0 livestream to website ( #6097 )
...
* add banner
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-25 21:54:01 -07:00
pngwn
5524e59057
playground proposal ( #6040 )
...
* tweaks
* add changeset
* fix demo overflowing
* make clear divider
* fix demos tab minimizing increasing width
* display width and breakpoints
* mobile responsive
* add delay and skip queue
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-10-25 02:25:12 -07:00
Yuichiro Tachibana (Tsuchiya)
f3f98f923c
Lite error handler ( #6076 )
...
* Revert "Lite: Error handling after initialization (#6005 )"
This reverts commit e0ed0642ac
.
* Lift up the error handler for @gradio/lite to app/src/lite/index.ts and use a new ErrorDisplay component to show the error
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-25 14:36:07 +09:00
Niranjan Kurhade
8241f9a7bd
Updated the twitter logo to its latest logo (X) ( #6052 )
...
* Updated the twitter logo to its latesst logo (X)
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-21 23:47:46 -07:00
Abubakar Abid
e27997fe6c
Fix root
when user is unauthenticated so that login page appears correctly ( #6042 )
...
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-20 13:20:24 -07:00
Freddy Boulton
f2cd6cb7f4
lite: install typing-extensions to avoid capping fastapi versions ( #6036 )
...
* install typing-extensions
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-20 10:53:12 -04:00
pngwn
6119d29a6a
chore: update versions ( #6025 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-20 10:47:21 +01:00
pngwn
62b89b8cc2
fix main entrypoint ( #6032 )
...
* fix main entrypoint
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-20 10:37:46 +01:00
Egon Ferri
6f15d65776
fix: allow multiple flagging directories ( #6011 )
...
Co-authored-by: Egon Ferri <egon.ferri@immobiliare.it>
2023-10-19 14:32:35 -07:00
Ali Abdalla
86cff0c293
Playground: Better spacing on navbar ( #6021 )
...
* navbar spacing
* add changeset
* add collapse
* fix collapse
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 11:48:19 -07:00
pngwn
d186165c14
chore: update versions ( #6017 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 11:23:27 -07:00
Abubakar Abid
77e7843f7a
Quick fixes to the gradio/lite guide ( #6020 )
...
* changeset
* fix link
* fix spelling
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-10-19 11:15:01 -07:00
Ali Abdalla
0312c990fb
Playground v1 ( #5386 )
...
* changes
* broken
* working
* working
* add changeset
* useing gradio code component
* rework demos
* lockfile
* fix anyio error
* add changeset
* changes
* many changes
* add changeset
* lockfile
* demos
* new
* fix load issue
* sizing and spacing
* gutters not transparent
* styling
* mobile responsive
* fix meta image
* remove ffmpeg demos
* use latest lite
* bring back demo names
* more mobile responsive
* latest cdn
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 10:56:10 -07:00
Abubakar Abid
f1721a0994
Gradio-lite Guide ( #5943 )
...
* lite guide
* guide
* serverless
* finish guide
* guide fix
* changes
* addressed review
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-10-19 10:44:24 -07:00
Yuichiro Tachibana (Tsuchiya)
fa154fb818
Add a message at the end of the Wasm worker initialization ( #6013 )
...
* Add a message at the end of the Wasm worker initialization
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 09:00:23 -07:00
pngwn
62c0a34a40
chore: update versions ( #5992 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-19 15:28:58 +01:00
pngwn
7315fb2fe2
Fix version ( #6015 )
...
* fix changesets
* release lite
* release lite
2023-10-19 15:10:34 +01:00
Yuichiro Tachibana (Tsuchiya)
0e0681fce7
Lite: Set wasClean: true
on the CloseEvent
emitted by WebSocket.close()
( #6009 )
...
* Set `wasClean: true` on the `CloseEvent` emitted by `WebSocket.close`
* add changeset
* Apply formatter
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 20:25:58 +09:00
Yuichiro Tachibana (Tsuchiya)
ec26b71dfb
Update static/AudioPlayerto use ../shared/Audio instead of the native <audio>
for Wasm support ( #6004 )
...
* Update js/audio/static/AudioPlayer.svelte to use ../shared/Audio.svelte instead of the native `<audio>` for Wasm support
* add changeset
* Update markup and stying
* Apply formatter
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 18:35:07 +09:00
Yuichiro Tachibana (Tsuchiya)
e0ed0642ac
Lite: Error handling after initialization ( #6005 )
...
* Update WorkerProxy to emit a unified `error` event for any type error and a `run-start` event when `run_file` or `run_code` is called, and update Index.svelte to handle these events
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 17:39:23 +09:00
Yuichiro Tachibana (Tsuchiya)
584fd97d59
Lite fix matplotlib install postprocess ( #5998 )
...
* Fix the postprocessing after installing matplotlib
* Apply formatter
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-19 13:12:55 +09:00
Abubakar Abid
b8b9f6d27e
Adds a Guide on how to stylize the DataFrame component ( #5936 )
...
* add guide
* fix prev and next guide hrefs
* make prev and next reactive
* add changeset
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-18 14:55:31 -07:00
Freddy Boulton
6a64b2d281
Add test ( #5985 )
2023-10-18 13:18:42 -07:00
pngwn
7415ffb0d8
chore: update versions ( #5981 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 20:06:23 +01:00
pngwn
bea931c31b
release lite ( #5988 )
2023-10-18 19:55:05 +01:00
Yuichiro Tachibana (Tsuchiya)
ab1e5da557
Lite: Fix error handling on the ASGI app ( #5982 )
2023-10-18 18:38:18 +01:00
Yuichiro Tachibana (Tsuchiya)
a32aabaf50
Lite: Show initialization progress messages ( #5983 )
2023-10-18 18:37:14 +01:00
Yuichiro Tachibana (Tsuchiya)
d8a6491a18
Specify FastAPI version for the Wasm runtime as a workaround ( #5987 )
2023-10-18 18:30:33 +01:00
Yuichiro Tachibana (Tsuchiya)
686719a3b0
Lite: Explicitly install a specific version of anyio
to avoid version conflicts ( #5980 )
...
* Lite: Explicitly install a specific version of `anyio` to avoid version conflicts
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-18 18:16:58 +09:00
pngwn
27d73cf2cd
chore: update versions ( #5976 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 00:27:20 -07: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
35f58db405
chore: update versions ( #5940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 23:38:35 -07:00
Yuichiro Tachibana (Tsuchiya)
11a3007916
Lite: Support opening the entrypoint HTML page directly in browser via the file:
protocol ( #5972 )
...
* Use a special fake hostname for the API access when the page is opened via the `file:` protocol
* Move js/app/src/lite/url.ts -> js/wasm/svelte/host.ts
* Add a comment
* Move js/wasm/svelte/host.ts -> js/wasm/network/host.ts
* add changeset
* Add a comment
* add changeset
* Update js/wasm/package.json adding a ESM subpath
* Fix `is_self_host()`
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-10-17 23:25:01 -07:00
Yuichiro Tachibana (Tsuchiya)
921334526f
Lite: Support the custom HTML element syntax <gradio-lite>
( #5953 )
...
* Create a custom element `<gradio-app`> for Gradio-lite
* Parse `<gradio-app`> attributes to configure the top level component
* Move custom-element code to lite/custom-element module
* add changeset
* Apply formatter
* Rename the custom element `<gradio-app>` to `<gradio-lite>`
* Fix the .gradio-lite to be minimum
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-10-18 15:07:13 +09:00
Yuichiro Tachibana (Tsuchiya)
6780d660bb
Make the HTTP requests for the Wasm worker wait for the initial run_code()
or run_file()
to finish ( #5958 )
...
* Make the HTTP requests for the Wasm worker wait for the initial `run_code()` or `run_file()` to finish
* add changeset
* Support top-level await with `run_file()`
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-10-17 11:49:40 -07:00
Yuichiro Tachibana (Tsuchiya)
f769876e0f
Apply formatter (and small refactoring) to the Lite-related frontend code ( #5956 )
...
* Apply formatter (and small refactoring) to the Lite-related frontend code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-18 01:15:00 +09:00
Hannah
465f58957f
Show empty JSON icon when value
is null
( #5944 )
...
* show empty json icon when value is null
* add changeset
* move empty check logic to parent component
* add changeset
* revert changes
* add changeset
* tweak
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-17 15:11:28 +02:00
Abubakar Abid
fee3d527e8
Adds column_widths
to gr.Dataframe
and hide overflowing text when wrap=False
( #5894 )
...
* changes
* added prop
* add changeset
* table
* null case
* fix tests
* add story
* format
* lint
* add changeset
* Update js/dataframe/shared/Table.svelte
Co-authored-by: aliabid94 <aabid94@gmail.com>
* add support for ints
* added test
* docstring
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-10-16 16:14:11 -07:00
renovate[bot]
f78e35d5ac
Update dependency svelte-i18n to v4 ( #5924 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 14:35:14 -07:00
pngwn
a46cb94870
chore: update versions ( #5831 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-16 13:30:41 -07:00
Ali Abdalla
8d909624f6
Fix styling issues with Audio, Image and Video components ( #5934 )
...
* audio styling fix
* video styling fix
* image examples styling fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-16 12:51:05 -07:00
Dawood Khan
3618238960
Fix dataframe line_breaks
( #5930 )
...
* fix
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-16 11:36:22 -07:00
Yuichiro Tachibana (Tsuchiya)
b67115e8e6
Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server ( #5627 )
...
* Create a Wasm-compatible <Image> component in @gradio/lite and use it in @gradio/image/example/Image.svelte
* add changeset
* Fix Image styling
* Move js/wasm/svelte/Image.svelte -> js/image/static/Image.svelte
* Shorten CSS class name
* Create Wasm-compatible video components
* add changeset
* Move the Wasm-compatible `Image` from `static` to `shared`
* Create Wasm-compatible audio components
* Fix `resolve_wasm_src()` to return the passed `src` as-is when the URL is not HTTP or refering to remote
* add changeset
* Fix `resolve_wasm_src()`
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-17 01:26:49 +09:00
Jing Yang Fan
4e62b8493d
Ensure websocket polyfill doesn't load if there is already a global.Webocket
property set ( #5840 )
...
* conditional global variable check
* move conditional to if block
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-16 10:17:46 +01:00
Yuichiro Tachibana (Tsuchiya)
1724918f06
Lite: Add a break statement ( #5919 )
...
* Add a break statement
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-16 12:36:53 +09:00
Arnav Kohli
e24163e15a
Added dimensionality check to avoid bad array dimensions ( #5915 )
...
* Added dimensionality check to avoid bad array dimensions
Added a simole dimensionality check to keep the code coherent
* lint
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-15 19:23:22 -07:00
Dawood Khan
0592c301df
Fix Dataframe line_breaks
( #5897 )
...
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-15 18:29:39 -07:00
Archit-Kohli
921716f618
Fixed visibility issue for all notebooks on GitHub ( #5917 )
...
* fixed visibility error in notebooks in github
* Delete fixNotebooks.py
deleted script used to fix notebooks
* Update generate_notebooks.py
fixed a small bug that prevented visibility of notebooks in GitHub
2023-10-15 18:16:57 -07:00
Yuichiro Tachibana (Tsuchiya)
c4e3a92743
Fix curly brackets in docstrings ( #5901 )
...
* Fix curly brackets in docstrings
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-15 18:11:35 -07:00