Ali Abdalla
5d080cdb74
Fix component events matrix in docs ( #4863 )
...
* fix events matrix
* regenerate json
* remove ordered_events
* remove hardcoded events
* mistake
* add end to docs
2023-07-10 20:52:14 +03:00
Freddy Boulton
6436e4ea5b
Refactor some python tests ( #4834 )
...
* Refactor
* Remove tests
* Fix image file
* trigger ci
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-10 13:40:46 -04:00
Freddy Boulton
cd551f70dd
Bump version ( #4861 )
2023-07-10 12:32:49 -04:00
Yuichiro Tachibana (Tsuchiya)
c7e8ed1e1d
Remove an unnecessary line of .prettierignore ( #4852 )
...
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-07-10 11:45:23 -04:00
sweep-ai[bot]
f5e057b06e
Create sweep.yaml config file ( #4854 )
...
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
2023-07-10 10:37:23 -05:00
Abubakar Abid
8613a52573
Quick update for the docstring in gr.Chatbot
( #4860 )
...
* push
* docstring
* remove file
* chatbot
* tweak
2023-07-10 10:35:09 -05:00
Freddy Boulton
34d5053076
Fire File change event when updated programmatically ( #4811 )
...
* Change
* Add code
* remove comments
* Add changelog
* remove test
* Fix typo
2023-07-10 11:29:34 -04:00
Dawood Khan
504c9d9d06
Add hyperlinks to download files in chatbot ( #4848 )
...
* add file links
* changelog
2023-07-10 10:34:01 -04:00
Yuichiro Tachibana (Tsuchiya)
76acf3cb0b
Lite: Fix the markdown-it package name spec on the Wasm worker ( #4846 )
...
* Fix the package name spec of markdown-it on the Wasm worker
* Add changeset
2023-07-10 10:03:21 +01:00
Yuichiro Tachibana (Tsuchiya)
f0150c6260
Lite: unload local modules before executing Python scripts ( #4826 )
...
* Unload the local modules before re-executing a Python script
* Add changeset
2023-07-10 10:03:09 +01:00
Yuichiro Tachibana (Tsuchiya)
9ff0fe924e
Update .prettierignore ( #4824 )
...
* Update .prettierignore
* Specify the exact paths of theme.css
2023-07-10 10:01:37 +01:00
Yuichiro Tachibana (Tsuchiya)
7dbfa228f7
Lite: PoC of an online editor ( #4809 )
...
* Add a Svelte app for local development
* Update the dev editor to deal with multiple files
* Rename the File type
* Rename entities
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-10 10:00:05 +01:00
Freddy Boulton
1c9ebdea5b
Pydantic V2 hotfix and patch release ( #4835 )
...
* Update models
* CHANGELOG
* Bump changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-07 16:13:09 -04:00
aliabid94
280b5697eb
Mobile queue fixes ( #4742 )
...
* changes
* changes
* changes
* changes
* changes
* Styling for error, warning and info toasts (#4603 )
* create abstract toast component for info/warning/error
* add icons
* add light mode theming
* add theme mode check and dark mode styles
* update theme_mode on update
* clean up render of toast content
* replace dynamic css vars with toast type css selectors
* tweak colours
* change error pill border colour to align with toasts
* formatting
* fix failed test
* rename icon files and clean up css
* changes
* changes
* changes
* changes
* changes
* changes
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-07-07 14:39:06 -05:00
Ali Abdalla
059d77eb98
Fix broken images in guides and website meta tags ( #4830 )
...
* testing meta tags
* fix broken images in guides
2023-07-07 20:51:42 +03:00
Ali Abdalla
9363328297
Fix Misleading Description for Duplicate Button ( #4832 )
...
* reword docstring for duplicatebutton
* formatting
2023-07-07 20:09:54 +03:00
Freddy Boulton
b4173886ba
Remove css ( #4831 )
2023-07-07 12:44:16 -04:00
Ali Abdalla
2883a12c1f
Fix Changelog Navbar in Website ( #4828 )
...
* working navbar for changelog
* testing meta tags
* nvm
2023-07-07 19:09:08 +03:00
Freddy Boulton
9b56057a98
Add gr.ClearButton component demo ( #4819 )
...
* add code
* Add notebook
* Fix typos
* Remove css
* Add notebook
2023-07-07 11:51:18 -04:00
Hannah
3208730b06
add sb and chromatic to readme ( #4829 )
2023-07-07 16:29:23 +01:00
renovate[bot]
d2e545a066
chore(deps): update all non-major dependencies ( #4807 )
2023-07-07 07:03:31 +01:00
Abubakar Abid
1b3e6ab2a5
v3.36.0 ( #4815 )
...
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-07-06 21:16:11 -05:00
Freddy Boulton
0f8e25cd65
Fix gr.Warning/gr.Info when using generators + interface ( #4823 )
...
* Fix bug
* Fix notebook
* Add test
* Lint backend
2023-07-06 19:37:20 -05:00
Abubakar Abid
c271a199dd
Install gradio from source for chromatic ( #4816 )
...
* Install gradio from source for chromatic
* switch order
* venv
2023-07-06 19:36:26 -05:00
aliabid94
5dc445b08f
Prevent broken scroll_to_output in Spaces ( #4822 )
...
* changes
* c
* change
* changes
2023-07-06 19:25:38 -05:00
Freddy Boulton
4b7cb2a436
Add storybook for Gallery ( #4818 )
...
* Add stories
* Add show_share_button story + label
* Fix typo
2023-07-06 17:31:17 -05:00
Ali Abdalla
df804ca281
Fixing redirects in website ( #4813 )
...
* testing redirect in vercel
* adding all redirects to vercel config
2023-07-06 22:21:40 +03:00
Hannah
530e4ef164
Add border to selected image in gr.Gallery ( #4790 )
...
* add border to selected image and restore outline prop
* changelog
* amend borders for consistency in light + dark
2023-07-06 19:50:38 +01:00
pngwn
7fa5e766ce
format ( #4810 )
2023-07-06 18:43:49 +01:00
Aarni Koskela
87e14e38b5
decode_base64_to_image: don't crash if EXIF data is broken ( #4764 )
...
* decode_base64_to_image: don't crash when if EXIF data is broken
* Simplify EXIF transposition to not read the EXIF data twice
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-06 10:35:08 -05:00
Freddy Boulton
bc97b7ba96
Fix login page styling ( #4797 )
...
* Fix login
* Add storybook
* Fix import
* fix import
* Add support inline
* Fix changelog
* Fix test
2023-07-06 11:21:55 -04:00
Ali Abdalla
b091c9165e
Fixes some issues with website migration ( #4806 )
...
* use _main embedded components
* fix horizontal scrolling in guide
* update guide headers on nav bar
* testing with redirects
* testing with trailingslash
2023-07-06 18:00:36 +03:00
Hannah
4b8443ce38
omit forks from chromatic deployment job ( #4805 )
2023-07-06 14:36:00 +02: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)
8d0d4e0a8e
Prebuild lite css ( #4788 )
...
* Customize scripts/generate_theme.py to reuse for the CSS generation for @gradio/lite
* Build theme.css at the build time of Gradio-lite and update the frontend app to load it at the initialization phase
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:38:15 +01:00
pngwn
ea889fa8c4
unit tests for shared component functionality ( #4794 )
...
* add more tests
* fixes
* fixes
* fixes
* fix testmatch
2023-07-06 10:55:45 +01:00
renovate[bot]
84d890fc1b
chore(deps): update dependency prettier to v3 ( #4792 )
2023-07-06 09:22:09 +01:00
pngwn
726115785b
place toast message at the top of the screen on mobile ( #4796 )
2023-07-06 09:12:46 +01:00
aliabid94
b8eb481473
Share button ( #4651 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* restore
* merge
* del image'
* update pnpm lock
* changes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chagnes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-05 19:50:17 -05:00
Abubakar Abid
f76348de02
Better message when share link is not created ( #4773 )
...
* better message when share link is not created
* remove comment
* changelog
* changes
* delete share
2023-07-05 11:06:30 -05:00
Hannah
acec00f60b
Improve chromatic workflow ( #4770 )
...
* only run post deployment link on PRs
* add check for chromatic token job
* replace deprecated set-output with github_env
* tweak
* add turbosnap config for vite
* sb tweak
* remove (incompatible) turbosnap
* remove redundant flag
* remove turbosnap
2023-07-05 15:18:21 +02:00
Dawood Khan
95ca4d9d69
Adds more tests to outbreak_forecast.spec.ts
( #4752 )
...
* tests
* Update outbreak_forecast.spec.ts
2023-07-04 15:23:50 -04:00
pngwn
a2805d5591
4701 upload button unit tests ( #4744 )
...
* First upload
* fix tests
* cleanuop
* tweak
* cleanup
* revert
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-04 19:47:31 +01:00
Yuichiro Tachibana (Tsuchiya)
f757febe18
Fix/lite dev code ( #4784 )
...
* Stop embedding JS scripts on lite.html because they are also bundled into the final build
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 19:29:27 +01:00
Freddy Boulton
3a6406e5d5
ClearButton browser test ( #4749 )
...
* Icon testids
* Simpler test
* Add test
* Demo check
* Add notebook
* Revert demo
* Fix code
* Add non-None callable value
* change
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 19:22:25 +01:00
Ali Abdalla
67ce44dee1
fix changelog issues ( #4787 )
2023-07-04 20:12:41 +03:00
Dawood Khan
f04c7a8c5f
Fixes column width for textbox in gr.Examples based on the content ( #4700 )
...
* fix
* changelog
* Update CHANGELOG.md
* changes
* changes
* tweaks
* fix
* fix
* fix
* fix types
* fix notebooks
* Update CHANGELOG.md
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 12:21:23 -04:00
Dawood Khan
156bb26280
more tests ( #4745 )
...
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:41:50 +01:00
Yuichiro Tachibana (Tsuchiya)
cb96d657b4
Lite: refactoring the dev script ( #4753 )
...
* Rename the 'start' npm command to 'dev' for in-project consistency
* Fix the 'dev:lite' npm command to launch the dev command of @gradio/wasm as well
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:35:58 +01:00
renovate[bot]
0529dfd43e
chore(deps): update dependency mdsvex to ^0.11.0 ( #4782 )
2023-07-04 15:19:06 +01:00