Commit Graph

6639 Commits

Author SHA1 Message Date
Hannah
2d705bcf74
Add body color to gr.Accordion (#8284)
* add color to body

* add changeset

* add accordion_text_color var

* change default to body_text_color

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-21 23:52:38 +01:00
pngwn
fe91e10269
chore: update versions (#8335)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-21 21:01:35 +00:00
pngwn
6d3aa5fa93
Cs fix patch (#8345)
* fix param name

* format

* patch
2024-05-21 20:44:52 +00:00
Liam Dyer
47012a0c4e
ensure the client correctly handles all binary data (#8322)
* fix: walk blobs ignoring blobs in arrays directly

* add changeset

* fix function

* add changeset

* address review comments

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-05-21 20:11:35 +00:00
gtmnayan
82ba397592
add missing orig_name (follow up to #8334) (#8341)
* add missing orig_name (follow up to #8334)

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-21 20:51:54 +01:00
Freddy Boulton
4dc7fa7cd7
Fix Chatbot, Dataframe, Markdown custom components (#8339)
* Add code

* add changeset

* ts ignore

* Add code

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-21 11:11:39 -04:00
aliabid94
35905c5c8f
Cleanup markdown styling (#8311)
* changes

* add changeset

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-20 15:36:23 -07:00
Abubakar Abid
0d6973d5b7
Update SECURITY.md (#8338) 2024-05-20 12:22:04 -07:00
Freddy Boulton
f138b4159e
Use Any if JsonValue cannot be imported (#8336)
* Add fallback

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-20 15:13:17 -04:00
gtmnayan
0236b1ab12
fix: prevent triggering gr.File.select on delete (#8334)
* fix: prevent triggering gr.File.select on delete

* extract into named function

* go away eslint

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-20 13:00:22 +00:00
Liam Dyer
4d78f29666
fix: zero gpu auth ignoring hf_token (#8323) 2024-05-20 13:58:46 +01:00
Steven Shimizu
81cc4007bc
Fixed README badges (#8324) 2024-05-20 12:32:32 +00:00
Yuvraj Sharma
ffa2091f2d
fixed link to '30 built-in components' (#8331) 2024-05-20 13:29:54 +01:00
pngwn
32e2b64042
chore: update versions (#8320)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-17 14:30:02 -07:00
Abubakar Abid
a71ed8071d
fix clog (#8321) 2024-05-17 14:12:39 -07:00
Steven Shimizu
ff56e7b23e
Update custom component installation instructions (#8308)
Added pip 21.3+ requirement to be able to build from pyproject.toml
2024-05-17 13:57:50 -07:00
cswamy
9e31697d94
Added image-to-image diffusers pipeline (#8318)
* fix in external.py

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-17 13:57:05 -07:00
Ali Abdalla
1f9a5f0aa3
Fix bad redirect breaking website build (#8319)
* fix bad redirect

* add changeset

* second missing slash

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-17 13:44:55 -07:00
Abubakar Abid
8f46556b38
Fix api recorder (#8247)
* fix api recorder

* add changeset

* call data

* fix

* changes

* add changeset

* changes

* format frontend

* lint

* changes

* format

* add changeset

* changes

* add changeset

* fixes

* add changeset

* fix'

* format

* fixes

* add changeset

* add test

* format

* changes

* fix backend tests

* changes

* format

* fix py tests

* push

* data

* add logging

* remove console log

* fix root

* remove console

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-17 13:37:44 -07:00
Ricci084
15d85b13f1
Update Python version requirement in Chinese README (#8314) 2024-05-17 04:21:37 -07:00
Freddy Boulton
c6495e1c87
Add auth to demo (#8305) 2024-05-16 13:08:21 -04:00
Shaurya Khurana
69e50edd13
Update 05_gradio-lite.md to fix spelling error: straightrward to straightforward (#8303) 2024-05-16 11:18:10 +01:00
pngwn
11b88915d3
chore: update versions (#8291)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-16 00:23:53 +02:00
Freddy Boulton
ee1e2942e0
Ensure JSON component outputs handled properly in postprocess (#8292)
* Add code

* Json postprocess

* add changeset

* add changeset

* Fix json tests

* fix flag

* Address comments

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-15 21:38:50 +00:00
pngwn
929d216d49
always create a jwt when connecting to a space if a hf_token is present (#8296)
* fix param name

* format

* always create a jwt if a hf token is present

* add changeset

* add changeset

* remove throw

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-15 16:20:34 +02:00
Freddy Boulton
4350215348
Link to troubleshooting guide in the custom component loading status (#8279)
* Add code

* Add code

* add changeset

* Add code

* remove unused style

* add changeset

* Update js/app/src/Index.svelte

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>

* Update guides/06_custom-components/06_frequently-asked-questions.md

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>

* Update guides/06_custom-components/06_frequently-asked-questions.md

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-05-14 23:02:45 +00:00
renovate[bot]
16c0235f53
chore(deps): update dependency svelte-eslint-parser to ^0.36.0 (#8290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 20:18:48 +00:00
renovate[bot]
7c81897076
chore(deps): update dependency esbuild to ^0.21.0 (#8229)
* chore(deps): update dependency esbuild to ^0.21.0

* add changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-14 13:05:39 -07:00
pngwn
053316dd0f
chore: update versions (#8286)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-14 12:45:39 +00:00
pngwn
7d9d8eab50
use the correct query param to pass the jwt to the heartbeat event (#8285)
* fix param name

* format

* fix jwt queryparam

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-14 12:20:07 +00:00
pngwn
ca8864f514
chore: update versions (#8274)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-13 23:23:49 +00:00
Abubakar Abid
de52f0e5af
Reduce the analytics that are collected in Gradio (#8263)
* reduce analytics

* add changeset

* mark flaky

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-05-13 23:10:08 +00:00
Freddy Boulton
7e976fd9bf
Send ProcessCompleted message when job is cancelled (#8260) 2024-05-13 17:43:25 -04:00
Abubakar Abid
d708ca8fca
Reorganize Guides in a more logical order (#8262)
* guides reorg

* separate flagging

* examples

* tweak

* Update 01_quickstart.md

* redirect

* redirect

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 20:13:31 +00:00
Yuichiro Tachibana (Tsuchiya)
4ae17a4653
Embedded Lite example apps in the docs (#8278)
* Disable MDsveX's smartypants option to preserve the Python code embedded in the doc as Lite apps unchanged

* Add Lite embedded apps to 06_gradio-lite-and-transformers-js.md

* add changeset

* Add comments

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 12:08:31 -07:00
Freddy Boulton
719d5962bb
Fix bug where status tracker was the target of pointer events (#8261)
* Fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 12:06:32 -07:00
Abubakar Abid
a9e1a8ac56
Make exceptions in the Client more specific (#8264)
* more specific exceptions

* format

* add changeset

* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 12:06:06 -07:00
Freddy Boulton
0bf3d1a992
Fix bug where client could not connect to apps that had self signed certificates (#8276)
* Add code

* add changeset

* Cancel request

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 18:22:39 +00:00
pngwn
9a87eb1992
Cs fix client (#8275)
* fix param name

* format

* fix cs
2024-05-13 15:43:21 +01:00
pngwn
fbf4edde7c
Client fixes (#8272)
* fix param name

* fix hidden state variable

* pass jwt to heartbeat event

* notebooks

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-13 15:35:07 +01:00
pngwn
30463c5e15
chore: update versions (#8225)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-10 19:31:04 +01:00
Hannah
e09b4e8216
Add support for passing keyword args to data in JS client (#8197)
* allow passing kwargs to data param

* add changeset

* tweak

* update data usage in client/js readme

* more readme tweaks

* edit codesnippet

* add changeset

* check parameters exist

* add changeset

* test

* remove null check

* remove test

* use api_info

* unit tests

* type tweak

* test

* remove unused vars

* tweak

* import semiver

* tests tweak

* format code snippet

* feedback changes

* format

* typefix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-10 19:46:28 +02:00
Freddy Boulton
c562a3d9a4
Cancel server progress from the python client (#8245)
* implementation + test

* add changeset

* WIP using events

* Use /cancel route

* Try bumping lite

* add changeset

* Fix stream closing issue

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-10 12:26:39 -04:00
Yuichiro Tachibana (Tsuchiya)
d62a48b183
Delete embedded Lite apps in the doc (#8232) 2024-05-10 15:50:38 +09:00
Dawood Khan
bf909bd145
Change upload icon for MultimodalTextbox (#8236)
* icon

* add changeset

* add changeset

* test fix

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 23:32:28 -04:00
Freddy Boulton
0a6f0a7e02
Fix custom component detection logic in analytics (#8254)
* Add code

* add changeset

* revert

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 23:49:51 +00:00
Yuichiro Tachibana (Tsuchiya)
32d915aad5
Apply clean_indent() to the file contents specified with <gradio-file> tags (#8219)
* Apply clean_indent() to the file contents specified with <gradio-file> tags

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 12:49:24 -05:00
Abubakar Abid
52dac637a3
Adds examples_per_page to gr.ChatInterface and allows clear_btn in gr.Interface to be hidden (#8244)
* add  to  and allow setting  to  in

* docs

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 10:23:27 -05:00
renovate[bot]
5a93d639f6
chore(deps): update mcr.microsoft.com/devcontainers/python docker tag to v1 (#8251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 11:04:17 -04:00
Freddy Boulton
9ece050a70
Fix bug where updating a component's value in reload mode would not be shown in UI (#8227)
* Update code

* add changeset

* lint

* Add code

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-09 10:05:27 -04:00