Abubakar Abid
88afd684be
Makes some fixes related to TempFiles ( #3523 )
...
* temp file fixes
* changes
* fixing tests
* formatting
* fix
* fix chatbot processing
* tests
* get tests to pass
* fix code demo
* changelog
* fix multimodal
2023-03-21 09:37:24 -07:00
Freddy Boulton
9d159be249
Add missing demos for Code and Barplot ( #3550 )
...
* Add missing demos
* Add code
* Linting
* Format notebook
* Remove extra print
* Update demo/barplot_component/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix code component formatting
* Fix barplot
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-20 19:16:18 -04:00
Abubakar Abid
d0ec3d97f2
Iframes guides and fixes theme_new_step_3\run.py
( #3506 )
...
* seafoam
* theme
* save
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-03-18 15:19:43 -07:00
aliabid94
8114202697
Use soft theme instead of glass theme in demo ( #3503 )
...
* changes
* changes
* changes
* changes
* changes
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* changes
* changes
* undo merge break
* changes
* changes
* changes
* fix
* theme_to_soft
* changes
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-18 13:07:23 -07:00
Abubakar Abid
de3254fd08
Theme+release ( #3494 )
...
* changes
* changes
* changes
* changes
* changes
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* save file
* update changelog
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-03-17 07:41:53 -07:00
Abubakar Abid
eb101c428f
Adds copy button to textbox via .style()
( #3452 )
...
* add copy to textbox
* changelog
* formatting, docstring
* changes
* formatting
* demo
* cleanup
* copy button
2023-03-15 16:45:45 -07:00
aliabid94
373c8dd716
Add elem classes ( #3466 )
...
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-15 14:01:53 -07:00
Radamés Ajna
226e87cd54
implement missing methods handle nested dict ( #3459 )
...
* implement missing methods handle nested dict
test for get 'user-agent'
extra example for gr.Requests
* missing notebook example
* add missing attributes, keys, values, items
* update changelog
* fix changelog
2023-03-14 15:15:12 -07:00
aliabid94
95bf08b2e2
Adding the .select event listener ( #3399 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changs
* changes
* changes
* changes
* changes
* changes
* changes
* preview
* fix notebook
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Add type hints (#3403 )
Co-authored-by: aliabid94 <aabid94@gmail.com>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* doc update
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-13 17:12:41 -07:00
Dawood Khan
f8159aa5f4
Making the chatbot even more multimodal ( #3413 )
...
* multimodal chatbot
* notebook
* fix tests
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix notebook
* changelog
* Update CHANGELOG.md
* Update gradio/components.py
* Update gradio/components.py
* Update gradio/components.py
* fixing security issue
* updating demo
* formatting
* demo notebooks
* changes
* typing
* changes
* changes
* changes
* add test
* fixes
* renaming demos
* fixed demo
* fixes
* fix demos
* chatbot
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-03-13 07:21:03 -07:00
aliabid94
092b7448e6
consecutive triggers with .then
( #3430 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Update guides/03_building-with-blocks/01_blocks-and-event-listeners.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* allow nest
* changes
* changes
* changes
* changes
* changes
* events
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-11 20:38:22 -08:00
pngwn
11bb732f5d
add code component ( #3421 )
...
* add code component
* changes
* changes
* code
* add code to all_demos
* change remove prefix
* changes
* notebooks
* fix pythong types
* changelog
* cleanup
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add interactive kwarg
* fix focus
* changelog
* fix demo
* tests
* cleanup
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* change padding to compute from block label styles
* use neutral colours for sucess animation
* cleanup
* update document
* add changelog for fix
* fix documentation
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-10 17:52:17 +00:00
Ali Abdalla
a5e3be71ba
Fix markdown embedded component in docs ( #3410 )
...
* revert to old md component demo
* changelog
2023-03-07 14:15:03 -08:00
pngwn
fddf376784
JS client take 2 ( #3388 )
...
* start
* change api
* integrate into gradio
* log
* try this
* format
* changes
* format
* fix css
* fix file
2023-03-07 16:36:25 +00:00
aliabid94
608d3b6250
Python backend to theming ( #2931 )
...
* add theme + theme atoms
* audio
* buttons
* chatbot
* forms
* start file
* complete file
* fixup workbench
* gallery
* highlighted text
* label
* json
* upload
* 3d model
* atoms
* chart
* md + html
* image
* plot + build
* table
* tabs
* tooltip
* upload
* tweaks
* tweaks + more tooling
* tweaks to padding/ lineheight
* app components _ start api docs
* format, more api docs
* finish api docs
* interpretation
* todos
* tweaks + cleanup
* tweaks + cleanup
* revert range tweaks
* fix notebooks
* fix test
* remove tw
* cleanup + login
* fix gitignore
* fix types
* run css script
* fix progress + tweaks
* update demos
* add css build to static check workflow
* tweak ci
* fix tests
* tweak markdown
* tweak chatbot + file
* fix tabs
* tweak tabs
* cleanup
* fix api docs
* fix example gallery
* add gradient to toast
* fix min height for interfaces
* revert tab changes
* update notebooks
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* undo radius
* undo radius
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* undo
* Add absolute imports
* mock theme in tests
* clean
* changes
* changes
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 12:52:31 -08:00
Dawood Khan
a2076441e2
Chatbot height kwarg ( #3369 )
...
* height
* height
* changelog
* fixes
* merge
* Fix File updating (#3375 )
* Fix
* Remove line
* Add unit test
* CHANGELOG
* Remove comment
* fixes
* Release 3.20.0 (#3374 )
* release-3.20.0
* update changelog
* New Version Docs (#3376 )
* [create-pull-request] automated change
* empty commit
* [create-pull-request] automated change
* empty commit
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* notebook
* changelog
* changelog
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-06 10:12:39 -08:00
pngwn
fc39cbdd9b
ensure image is always drawn ( #3386 )
...
* ensure image is always drawn
* fix demo
* notebooks
* clean
2023-03-06 16:04:42 +00:00
aliabid94
02fb8f5a1f
Updated chat ui ( #3370 )
...
* test
* changes
* chagnes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
* changes
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-03 18:17:48 -08:00
Jialei
be4ca360ca
Fix error when using backen_fn and custom js at the same time ( #3358 )
...
* Fix error when using backen_fn and custom js at the same time
* generate notebooks
* update changelog
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-03 14:37:05 -05:00
Freddy Boulton
d8023d455f
Add event that's triggered when slider is released ( #3353 )
...
* Add code
* Add unit test
* CHANGELOG + notebook format
* Clean up
* Remove comment
2023-03-02 21:29:49 -05:00
pngwn
5c01a029ce
resize image when shape is passed ( #3351 )
...
* resize image when shape is passed
* changelog
* cleanup
* handle square images + refactor
* leftover
2023-03-01 23:47:15 +00:00
Dawood Khan
f36211050c
Dropdown Component Updates ( #3211 )
...
* dropdown
* more dropdown updates
* dropdown styling + option visibility
* changelog
* notebook
* fix test
* Allow more image formats (#3225 )
* add wildcard to image input
* simplify mime types
* changelog
* regen noteboks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
* fix webcam mirroring (#3245 )
* fix webcam
* changelog
* fix changelog
* fix changelog
* fix changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add `interactive=False` mode to `gr.Button` (#3266 )
* add interactive=False to button
* add interactive=True by default
* changelog
* fix frontend
* fix backend test
* formatting
* review changes
* LaTeX height fix (#3258 )
* latex height fix
* changelog
* formatting
* em
* em
* accidentally added script (#3273 )
* Adding a script to benchmark the queue (#3272 )
* added benchmark queue script
* changelg
* fix instructions
* Fix matplotlib image size (#3274 )
* Fix matplotlib css
* CHANGELOG
* Undo lockfile
* Add timeouts to queue messages (#3196 )
* Fix + test
* Remove print statements + fix import for 3.7
* CHANGELOG
* Remove more print statements
* Add 60 second timeout for uploading data
* Fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* icons
* separate options into component
* formatting
* changelog
* changelog
* fix ui tests
* formatting again...
* backend test fix
* format
* doc fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: fienestar <fienestar@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-02-23 16:32:18 -05:00
pngwn
372a3cca2f
3248 image ( #3277 )
2023-02-23 08:46:44 +00:00
aliabid94
9c811ed892
Add info= parameter to form type inputs to provide more context for users ( #3291 )
...
* changes
* changes
* changes
* changes
* changes
* changes
2023-02-22 15:16:15 -08:00
fienestar
e536227615
Allow more image formats ( #3225 )
...
* add wildcard to image input
* simplify mime types
* changelog
* regen noteboks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-21 11:50:44 +00:00
pngwn
4fd2ae081c
3229 styling ( #3233 )
...
* ensure latex css is applied
* remove z-index on error status
* changelog
* formatting
* more styling fixes + adjust error message for non space
* simplify test
* simplify test
* update notebook
* pinning mdit-py-plugins
* missed a thing
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-19 15:16:08 +00:00
Abubakar Abid
56245276e7
Added diffusers demo with batching & some misc improvements to doc ( #3224 )
...
* added diffusers demo
* guide updates
* changelog
* update demo
* notebook
2023-02-17 18:53:21 -06:00
aliabid94
f34120c077
Support large files try 2 ( #3191 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* changes
* changes
* merge
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 15:31:02 -08:00
Freddy Boulton
3530a86433
Fix bokeh Plots ( #3212 )
...
* Add implementation
* Simpler approach
* Fix extra updates
* Fix python tests
* CHANGELOG + add bokeh plot demo
* Center content
* Fix value=bokeh case
* Add image to changelog
* Add notebook file
* Undo accidental changes
* Add missing plot type
* Fix type hints
* Fix requirements
* Lint
* Fix requirements
* remove lorenz
* Fix notebooks
* Remove bokeh demo
* Fix plot
* Don't use beforeUpdate
* FIx demo: Add load_event + bump bokeh>3.0
* Only load bokeh if needed
* Fix tests
* lint
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 16:47:06 -05:00
Dawood Khan
9c08bb92c5
Add ability add a single message from the bot/user side ( #3165 )
...
* chatbot fices
* chagnelog
* remove starts_with
* more fixes
* added chatbot multimodal demo
* fix height
* height
* update demo
* changelog
* format
* format
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 13:02:41 -05:00
Freddy Boulton
c06b4eab16
Bar Plot Component ( #3157 )
...
* Add code - first draft
* Getting better
* Work out the bugs
* Fix docstrings
* CHANGELOG
* Fix test
* Generate notebooks
* Add unit test
* Undo website package.lock
* Fix demo
* Fix notebooks
* Fix docstrings
* Improve example in CHANGELOG
* Address comments + feedback
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-09 16:42:25 -05:00
Ali Abdalla
559de6eee9
Fix demos page css and add close demos button ( #3151 )
...
* close button for demo window
* fix demos page css, replace stable diffusion
* changelog
* demo notebook
* add scrollbar for demo window
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-08 18:54:48 -08:00
Ali Abdalla
0773205fdb
Better docs navigation on mobile ( #3112 )
...
* fix responsiveness of embedded lineplot
* regenerate notebook
* nav button and sidebar
* better styling
* fix broken quickstart link
* fix styling on close button
* styling
* undo assets change
* changelog
* refactor code
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-07 12:42:57 -08:00
Abubakar Abid
f062c7e1fd
Adds a demo / information about how to create demos with variable #s of outputs ( #3127 )
...
* added demo
* added to guide
* changelog
* notebooks
* update demo
2023-02-06 11:38:54 -08:00
Freddy Boulton
9beb15b3ec
Turn Submit Button into Cancel Button for Interfaces with generators ( #3124 )
...
* Switch back from stop button
* Add unit test
* CHANGELOG
* Fix test
* lint
* Reset UI after exception
2023-02-06 14:30:21 -05:00
pngwn
a23bc03aeb
ensure video resets state correctly when a new src is loaded ( #3117 )
...
* improve is playing, remove console error
* add video demo to all_demos
* fix demo
* fix bug
* changelog + notebooks
* cleanup
* fix choppy video resizing
* reduce flashing due to prediction request, video loading + rendering
* fix notebooks
* changelog
2023-02-03 17:36:31 +00:00
Dawood Khan
63d5efcfc4
Chatbot Guide Update ( #3023 )
...
* chatbot guide
* guide update
* changelog
* demo updates
* demo fix
* notebook fix
* format
* guide fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-03 12:13:15 -05:00
Freddy Boulton
da4c46c33a
Change image url for fake diffusion demos ( #3120 )
...
* Change image url
:
* Fix demos
* CHANGELOG
* Use s3 link
2023-02-03 11:21:41 -05:00
Abubakar Abid
f3b3736596
Guide on 4 kinds of interfaces ( #3003 )
...
* guide on 4 kinds of interfaces
* interfaces
* changelog
* added demo
* added demos and edited markdown
Added standard and unified interface demos, along with updates to the markdown.
* updated notebooks
Updated notebooks with markdown changes and bug fixes
* interfaces
* moved location of guide
* ranemd
* renamed
* removed demo
* updated blocks code to interfaces
* upload requirements.txt file
* Delete run.ipynb to add another notebook file
upload and replace
* Add run.ipynb via upload option
Notebook for unified interface demo
* fixed typo
* fixes
* update demos
* notebooks
---------
Co-authored-by: yuvraj sharma <48665385+yvrjsharma@users.noreply.github.com>
2023-02-02 07:58:29 -08:00
Greysuki
cd7370d9eb
Final? ( #3098 )
...
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-02 12:16:38 +00:00
aliabid94
f434058dd4
Fix gallery grid ( #3107 )
...
* changes
* changes
* changes
* generate notebook
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-02 03:47:03 -08:00
Abubakar Abid
c85572192e
Updated series demo ( #3051 )
...
* updated demo
* notebook
* changelog
2023-01-25 14:21:37 +05:00
Ali Abdalla
02c7bfe1ed
Adding missing embedded components on docs ( #3027 )
...
* add embedded component for dataset
* add embedded component for examples
* add embedded component for progress
* remove make_waveform
* add embedded component for uploadbutton
* remove footer on lineplot embedded component
* remove broken image from gallery
* add embedded component for interpretation
* generated notebooks
* changelog
* change example component demo to images
* remove natgeo img in gallery demo
* regenerate notebooks
2023-01-24 13:15:06 -08:00
Dawood Khan
35d4243854
Add download button to model3d output ( #3014 )
...
* download button
* update model3d demo
* changelog
* Update CHANGELOG.md
* Update CHANGELOG.md
* add download button to filepreview
* remove icon from file comp
* notebook
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-23 10:14:29 -05:00
petrov826
c2b080ece3
fix chatbot example code ( #3039 )
...
* fix chatbot example code
explictly cast random.randint(1, 10) to string
* updated CHANGELOG.md and demo notebook
2023-01-21 11:00:15 +01:00
aliabid94
5bd42feb8c
Frontend fixes ( #3026 )
...
* fixes
* changes
* change
* changes
2023-01-20 13:24:24 -08:00
Freddy Boulton
db54b7b76a
Use gr.lineplot for kinematics demo ( #2998 )
...
* Use lineplot for kinematics
* Changelog
2023-01-18 05:21:34 -05:00
pngwn
d6fbc32ed1
Theme base 2 ( #2840 )
...
* add theme + theme atoms
* audio
* buttons
* chatbot
* forms
* start file
* complete file
* fixup workbench
* gallery
* highlighted text
* label
* json
* upload
* 3d model
* atoms
* chart
* md + html
* image
* plot + build
* table
* tabs
* tooltip
* upload
* tweaks
* tweaks + more tooling
* tweaks to padding/ lineheight
* app components _ start api docs
* format, more api docs
* finish api docs
* interpretation
* todos
* tweaks + cleanup
* tweaks + cleanup
* revert range tweaks
* fix notebooks
* fix test
* remove tw
* cleanup + login
* fix gitignore
* fix types
* run css script
* fix progress + tweaks
* update demos
* add css build to static check workflow
* tweak ci
* fix tests
* tweak markdown
* tweak chatbot + file
* fix tabs
* tweak tabs
* cleanup
* fix api docs
* fix example gallery
* add gradient to toast
* fix min height for interfaces
* revert tab changes
* update notebooks
* fix generating status animation
* fix weird table scrollbar that only appears on freddy's computer
* format
* fix dataset in gallery mode
* cleanup
* fix notebooks
* tweaks
* fix notebooks
* change
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-01-17 12:47:40 -08:00
Tasha Upchurch
94c9512df9
the original demo would fail after switching to the 3rd tab once, by … ( #2971 )
...
* the original demo would fail after switching to the 3rd tab once, by not returning to it again when directed to.
it appears that somewhere in tabs, that selected is not being updated when a tabitem is selected.
* Changelog + notebooks:
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-13 13:41:53 -05:00
Dawood Khan
9fff1e0fe8
Enable multi-select on gradio.Dropdown ( #2871 )
...
* multiselect dropdown
* fixes
* more fixes
* changes
* changelog
* formatting
* format notebooks
* type fixes
* notebok fix
* remove console log
* notebook fix
* type fix
* Revert "format notebooks"
This reverts commit fb8762ecff
.
* notebook fix
* bug fixes
* Update CHANGELOG.md
* Excluding untracked files from demo notebook check action (#2897 )
* excluding untracked files from wget
* changelog
* fix setting default values
* typeability and arrow key support
* python types
* reformat
* another type check
* minor fixes + interactive false fix
* change remove token styling
* separate multiselect into separate file
* style fixes
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* some more style fixes
* small bug fix
* addressed pr comments
* fix active color highlighting
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-04 19:13:46 -05:00
Dawood Khan
ad42e80dca
Upload filetypes of specified extensions ( #2901 )
...
* file extensions
* Update CHANGELOG.md
* update notebook
* formatting
* notebook fix
* fixes
2023-01-04 12:34:46 -05:00
aliabid94
58b1a074ba
Add Progress Bar component ( #2750 )
...
* changes
* version
* changes
* fixes
* changes
* changes
* changes
* changes
* chagnes
* chagnes
* fix
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* version update
* Commit from GitHub Actions (Upload Python Package)
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* changes
* changes
* changes
* changes
* change
* changes
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/routes.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* change
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: GH ACTIONS <aliabid94@users.noreply.github.com>
2022-12-30 11:45:54 -08:00
Abubakar Abid
5310782ed9
Added typing to even more files ( #2900 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* attempt fix
* serialize fix
* formatting
* all demos queue
* addressed review comments
* formatting
2022-12-29 15:18:19 -05:00
Ali Abdalla
d934828a7c
Excluding untracked files from demo notebook check action ( #2897 )
...
* excluding untracked files from wget
* changelog
2022-12-28 16:40:03 +04:00
Freddy Boulton
e7cca92831
Fix blocks_style demo ( #2890 )
...
* Fix blocks_style demo
* Add changelog
* Fix API + notebook
* Remove nested column
* moved highlighttext colormap to style
* Add back container
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-27 11:51:08 -05:00
Ali Abdalla
dc200af89c
Remove footers and min-height the correct way ( #2860 )
...
* fixes to readme
* add css to demos and remove footer js from html
* update changelog
* fix weird notebook
* fix weird notebook
* fix weird notebook
* fix weird notebook...
* actually fixed the problem
2022-12-21 19:01:42 +04:00
Freddy Boulton
51157d7410
Adding a LinePlot component demo to the docs ( #2868 )
...
* Add gradio demo
* Add linplot component notebook
* Link live_dashboard to LinePlot
* Fix notebooks + lint
2022-12-20 20:27:21 -05:00
Freddy Boulton
96297c0bad
LinePlot ( #2807 )
...
* First draft
* Fix tests
* Fix pdb
* Figure out stroke dash + legend position
* Add legend position
* Add back gif
* Add demo + update demo
* Format notebooks
* Changelog
* More changelog
* Undo notebooks
* Reword
* Set lower bound for altair
* Modify docstrings
* Add LinePlot image to changelog
2022-12-20 11:13:51 -05:00
Dawood Khan
714ab2cc09
Audio waveform ( #2706 )
...
* utils func
* changes
* changes
* changes
* notebook
* fix
* changes
* change
* changes
* changes
* notebook fix
* changes
* changes
* changes
* change
* fix
* revert backend changes, gr.make_waveform
* notebook
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* format fix
* changes
* changes
* revert pnpm
* change
* change
* changes
* changes
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-15 12:35:22 -06:00
Abubakar Abid
53005ab88a
Switch from SSH tunneling to FRP ( #2509 )
...
* FRP Poc (#2396 )
* FRP Poc
* Gracefully handle exceptions in thread tunneling
* comments
* Fix share error message when files are built locally (#2502 )
* fix share error message
* changelog
* formatting
* tunneling rename
* version
* formatting
* remove test
* changelog
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Wauplin <lucainp@gmail.com>
* 2509
* updated url to testing.gradiodash.com
* gradiotesting
* format, version
* gradio.live
* temp fix for https
* remove unnecessary tests
* version
* updated tunnel logic
* formatting and tests
* load testing
* changes
* Make private method + generate privilege key (#2519 )
* rm load test
* frp
* formatting
* Update run.py
* Update run.py
* updated message
* share=True
* [DO NOT MERGE] Add pymux for FRP (#2747 )
* Add pymux for FRP
* Cleaning pyamux
* Cleaning pyamux + make it work
* Forgot the thread
* Reformat
* some logs to be removed afterwards
* added share to hello world
* Transform into object
* I guess it's cleaner now
* Handle 404 + Transform to object
* Fix params names
* Add debug
* windows fix
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* removed share=True
* formatting
* hello world notebook
* version
* fixes
* formatting
* testing tunneling exists
* tests
* formatting
* lint
* Remove asyncio + kill proc on exit
* version
* version
* update changelog
* explicit message about reporting
Co-authored-by: Adrien <adrien@xcid.fr>
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-12-14 08:10:45 -06:00
Freddy Boulton
f60053d85f
gr.ScatterPlot component ( #2764 )
...
* Try clean install
* Resolve peer dependencies?
* CHANGELOG
* Add outbreak_forcast notebook
* generate again
* CHANGELOG
* Add image to changelog
* Color palette
* Fix colors + legend
* Tooltip
* Add axis titles
* Clean up code a bit + quant scales
* Add code
* Add size, shape + rename legend title
* Fix demo
* Add update + demo
* Handle darkmode better
* Try new font
* Use sans-serif
* Add caption
* Changelog + tests
* More tests
* Address comments
* Make caption fontsize smaller and enable interactivity
* Add docstrings + add height + width
* Use normal font weight
* Make last values keyword only
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix typo
* Accept value as fn
* reword changelog a bit
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-09 10:14:07 -05:00
Freddy Boulton
bed288a509
Add support for altair plots ( #2741 )
...
* Try clean install
* Resolve peer dependencies?
* frozen lockfile install
* Explicitly use version 16
* Add env
* Add altair demo
* Add unit test
* CHANGELOG
* Add image to changelog
* Add outbreak_forcast notebook
* Try again
* generate again
* Update ui/packages/plot/src/Plot.svelte
Co-authored-by: aliabid94 <aabid94@gmail.com>
* Fix title
Co-authored-by: aliabid94 <aabid94@gmail.com>
2022-12-02 14:53:42 -03:00
Abubakar Abid
5c8e7887dc
Add Markdown support in chatbots ( #2731 )
...
* started working on this
* demo
* added markdown support
* notebook
* changelog
* tests
* chatbot
* formatting
2022-11-29 14:26:21 -06:00
Kashif Rasul
d79039beb1
Latex support ( #2696 )
...
* initial use of dollarmath plugin
* add frontend support
* chnages
* changes
* changes
* changes
* changes
* fix
* added latex to kinematics blocks
* changes
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* added example to changelog
* remove param
* doc fix
* fixes
* latex noteboox fix
* fix
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-29 11:26:17 -08:00
Ali Abdalla
67275ec1d6
Add open in colab buttons to demos in docs and /demos ( #2608 )
...
* add generate_notebooks and run it
* add buttons to demos tab
* add buttons to docs
* add github check
* fix erros
* Update run.py
* Update run.py
* fix github action
* add nbformat
* wget files from demo directory
* testing with regex
* typo in github action
* cd first
* correct notebooks
* remove prit
* testing
* regenerate ids in notebooks
* testing action
* testing action
* testing action
* sort files before wget so no git diff
* skip DS store and others as sub files
* example demo change without notebook change
* fixes
* example demo change without notebook change
* example regenerated notebooks
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update .github/workflows/check-demo-notebooks.yml
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* gh action comments
* gh action syntax
* gh action syntax fixes
* test demo change without generating notebooks
* ran the suggested command
* remove unnecessary script
* add notebook for upload button demo
* switch to pull_request_target
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 16:56:46 -08:00
Dawood Khan
b5f22671a2
Add Upload Button ( #2591 )
...
* add upload button
* upload button
* changelog
* Update CHANGELOG.md
* format
* update file component
* upload button fixes
* label
* remove fileupload changes
* remove file component changes
* restore lock file
* pnpm lock file
* Update CHANGELOG.md
* fixes
* fixes
* more fixes
* fix tests
* fixes
* lockfile
* fix test
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-21 13:34:31 -05:00
Abubakar Abid
5e148c3752
Adding ability to access in Fastapi request object into your function ( #2641 )
...
* fastapi requests
* formatting
* implement
* fix
* formatting
* formatting
* changelog
* added demo
* remove print
* added to guide
* changes for queuing
* changes to gr.Request
* formatting
* formatting
* fixes
* lint
* fixed tests
* fix batching
* fixing tests
* cleanup
* lint
* added tests; fixed review
* improve docs
2022-11-19 00:52:06 -08:00
Freddy Boulton
8d59c1480e
More demo fixes ( #2656 )
...
* Minor tweaks
* Fix gr outputs
* Fix changelog
2022-11-16 15:42:24 -05:00
pngwn
4b57984ead
add password and email textbox types ( #2653 )
...
* add password and email textbox types
* changelog + fix tests
* formatting
* fix tests maybe
* fix tests
* add more tests
* whatever
* weird thing
2022-11-15 22:23:47 +01:00
Freddy Boulton
a8f961ec7e
Fix demos ( #2648 )
2022-11-15 10:04:01 -05:00
Freddy Boulton
9ec45f64b9
Move map to demos page ( #2627 )
2022-11-09 09:26:36 -05:00
Ali Abdalla
a80084f3df
Dropdown for seeing docs as latest or main ( #2544 )
...
* support docs for pip and git
* upload spaces with gradio wheel
* aws
* upload wheel to aws
* fix error in docker compose
* fix dockerfile
* fix dockerfile
* fix upload demos
* fix upload demos
* styling
* fake change
* remove check_version
* fixes
* fix buttons
* fix navigation on main
* add github action
* build version docs in docker
* fix path and docker errors
* add requests
* fix command
* more docker fixes
* more docker fixes
* no prerelease
* fix restart demos
* undo fake changes, and fix build_version
* fix variable
* fix mistake
* add how to build from main
* new line to requirements
* fix instructions
* Update CHANGELOG.md
* duplicate line in Dockerfile
* switch to github actions, use separate pages
* fix issues in github action
* fix path for github action
* more fixes
* more fixes
* fix github action
* add template
* fix demos template
* update release notes for 3.9
* add -A
* refactor
* keep old version htmls
* unpin gradio version in requirements
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-08 13:02:05 +01:00
Freddy Boulton
f795a4d3b1
Use read_sql in database guide ( #2604 )
...
* Move demo to gradio + fix code
* Foo
* Address comments
2022-11-04 16:31:08 -04:00
Freddy Boulton
a6e72f7814
Fix some spaces that were not building ( #2596 )
...
* Add requirements
* Delete unused demo
* Remove some spaces from download
* explain reasoning
2022-11-02 17:47:53 -04:00
Freddy Boulton
4a51cec5b4
Call fn by api_name when using Blocks.load ( #2593 )
...
* Updated implementation + test
* Add changelog
* Fix unit test
2022-11-02 13:38:56 -04:00
Freddy Boulton
fa08e711fa
Add live dashboard demo ( #2573 )
...
* Add live dashboard demo
* Remove markdown syntax
* Dont use global
* Undo change
2022-11-02 12:48:26 -04:00
Dawood Khan
3f9cf301ed
Fixing links in plotly map guide + demo ( #2578 )
...
* move demo to gradio org
* Update CHANGELOG.md
* Update CHANGELOG.md
2022-11-01 18:18:08 -04:00
Freddy Boulton
a23eb53e3b
Run events every given number of seconds ( #2512 )
...
* WIP
* Fix implementation
* Fix units
* Rename
* Delete dead code
* This works
* Fix tests
* Final fix - still rough
* Reduce code duplication
* Fixing bugs + test
* Changelog
* Add gif to changelog
* Update demo and remove unused imports
* undo accidental diff
* Linting
* Add to guides
* Address comments
* formatting changelog
* Fix warnings
2022-10-28 17:53:06 -04:00
aliabid94
10552cb6fd
Allow user to send inputs as dictionary ( #2550 )
...
* change
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* format
* changes
2022-10-28 10:52:28 -07:00
Freddy Boulton
943cdd5f35
Add dashboard demo to Demos tab ( #2508 )
...
* Add demo
* Changelog
* Undo
* Fix formatting
2022-10-25 11:15:18 -04:00
Abubakar Abid
d7c96e1ad8
Adds a demo to show how a sound alert can be played when a prediction is complete ( #2478 )
...
* add sound alert demo
* changelog
* update changelog
* address suggestions
2022-10-18 13:03:07 -07:00
Freddy Boulton
831ae1405f
Cancel events from other events ( #2433 )
...
* WIP
* Use async iteration
* Format + comment
* Very hacky WIP
* Fix synchronization
* Add comments + tidy up implementation
* Remove print
* Fix rebase
* Lint
* Disconnect queue when cancelled
* Add stop button for interface automaticallY
* Unit tests + interface fixes
* Skip some tests on 3.7
* Skip in 3.7
* Fix skip message
* Fix for python 3.7
* Add stop variant to button variant type union
* CHANGELOG
* Add demos/gifs to the changelog
2022-10-14 18:43:24 -04:00
Ali Abdalla
bff43bfb65
Upload all demos to spaces ( #2281 )
...
* upload all demos in the repo to spaces
* remove upload_demos from recipes, fix error
* load docs and guides demos from spaces
* Remove old demos dir, container, nginx and docker-compose
* update landing page spaces through /demo
* fix run filenames
* skip demos without a run.py file
* fix embedding in guides and docs
* update only on version change
* fix restart script
* fix broken demos
* add component demos
* website tracking pip
* fix embedded components
* fix components
* fix extra slash
* remove footers correctly
* Update CHANGELOG.md
* fix race condition
* add inner_template to gitignore
* set runfile to run.py
* fix time.sleep after testing
* check for prereleases
2022-10-14 14:07:26 -07:00
pngwn
78ab2c8e67
fix interactivity of value-less components with no dependencies ( #2459 )
...
* fix interactivity of value-less components with no dependencies
* changelog
* changelog fix
* changelog fix
* changelog fix
* formatting
2022-10-14 17:12:42 +01:00
Dawood Khan
1d18ddae66
Add blur event to textbox and number ( #2448 )
...
* add blur event to textbox and number
* changelog
* fixes
* fix blur for number
* reformat
2022-10-12 23:53:05 -04:00
pngwn
ed4f3e4ffd
add snapshot testing ( #2438 )
...
* add snapshot testing
* bump ci image
* tweak
* tweak
* fix gitgignore
* fix gitgignore
* dedicated snapshot script
* clean up tests
* tweaks
* fix ci
* fix script
* oops
* fix
2022-10-12 17:30:42 +01:00
Dawood Khan
3a2de9b415
Map demo + Guide ( #2402 )
...
* map demo + guide
* fixes
* update dataset to load from hub
* remove csv file
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-11 23:51:48 -04:00
aliabid94
ac378d0875
Stream works now ( #2351 )
...
* changes
* changes
* lazy load streaming deps
* lazy load streaming deps
* cleanup
* fix last chunks of streaming
* add changelog
* add changelog
* add changelog
* add changelog
* updated streaming demo
* renamed sst
* changes
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-05 14:11:47 -07:00
aliabid94
1f5efa7efa
Reworking layout styling ( #2291 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* version
* changes
* formatting
* version
* remove group hack
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* test
* changes
* changes
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-03 18:01:41 -05:00
Freddy Boulton
40febc3584
Make image_classifier_interface_load runnable ( #2365 )
2022-09-29 14:47:40 -04:00
Dawood Khan
55e6f40f80
Typeable value on gradio.Slider ( #2329 )
...
* typeable number slider
* fix hardcoded files in test configs
* test
* test fix
2022-09-26 23:00:02 -04:00
aliabid94
a05f32c8f1
Add captions to galleries ( #2284 )
...
* changes
* fix demo
* change
* changes
* test
* testing demo
* testing demo
* testing demo
* changes
* change
* changes
* merge
* changes
* fix
* changes
* changes
* changes
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* chnages
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-26 19:56:16 -07:00
Freddy Boulton
9f7dd05b72
Start queue when gradio is a sub application ( #2319 )
...
* First stab at it
* Use util methos
* lint
* Test
* Fix formatting
* Try out setting predict endpoint from websocket request
* lint
* Fix bug
* Address comments - remove server and port
* Skip in 3.7
* Fix documentation
* Add default 🤦
* docs tweak
* Add back imports that were deleted by wrong linter version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-23 16:01:44 -04:00
Abubakar Abid
cecaf1a635
Sketching + Inpainting Capabilities to Gradio ( #2144 )
...
* templates
* working on backend
* formatting
* Sketching fe (#2184 )
* fix scaling on sketch + bg img
* tweaks
* ketch updates
* cursor style
* sketchpad
* fixes
* ensure background is white for bw sketch
* fix everything
* re-enable demos
* updated demo and changed from dict to str
* beta release
* fix bugs, tweak webcam source
* re-anable demos
* fix clear button and tab changing
* maybe fix test
* maybe fix test again maybe
* various fixes
* fix img uplaod + color sketch
* remove lazy brush but keep smoothing
* fix sketch bg
Co-authored-by: pngwn <hello@pngwn.io>
2022-09-23 13:14:56 +02:00
Freddy Boulton
b8fc551807
Raise warning when trying to cache examples but not all inputs have examples ( #2279 )
...
* Add error message + test
* Undo changes to fake_gan
* Raise warning message instead
* Fix typo in warning message
* Remove unused import
* Address comments
2022-09-20 10:48:52 -04:00
Abubakar Abid
6c33eed976
Promotes postprocess
and preprocess
to documented parameters ( #2293 )
...
* changes
* Delete media_data.py.isorted
* fixes in other files
* fixes in other files
* added for grid
* removed status tracker
* removed status tracker
* added deprecation warning
* formatting
2022-09-19 19:38:17 -05:00
Dawood Khan
42a9c2688f
Fix Multiple File Examples ( #2267 )
...
* fix multiple file examples
* format
* fix
* change demo name zip_files
* change func names
2022-09-15 14:40:59 -04:00
Ali Abdalla
597337dcb8
Adding a Playground Tab to the Website ( #1860 )
...
* added playground with 12 demos
* change name to recipes, restyle navbar
* add explanatory text to page
* fix demo mapping
* categorize demos, clean up design
* styling
* cateogry naming and emojis
* refactor and add text demos
* add view code button
* remove opening slash in embed
* styling
* add image demos
* adding plot demos
* remove see code button
* removed submodules
* changes
* add audio models
* remove fun section
* remove tests in image semgentation demo repo
* requested changes
* add outbreak_forecast
* fix broken demos
* remove images and models, add new demos
* remove readmes, change to run.py, add description as comment
* move to /demos folder, clean up dict
* add upload_to_spaces script
* fix script, clean repos, and add to docker file
* fix python versioning issue
* env variable
* fix
* env fixes
* spaces instead of tabs
* revert to original networking.py
* fix rate limiting in asr and autocomplete
* change name to demos
* clean up navbar
* move url and description, remove code comments
* add tabs to demos
* remove margins and footer from embedded demo
* font consistency
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-15 08:24:10 -07:00
Freddy Boulton
f346118133
Show view api button even if there are no named api routes in the app ( #2250 )
...
* Show message when no named api routes
* Lint
* Change text slightly
* Add show_api to launch method + fix text
* Undo changes to demos
* Change url example
2022-09-15 11:11:31 -04:00
Abubakar Abid
1beb54a8c0
Add documentation about how to create and use the Gradio FastAPI app ( #2263 )
...
* added a demo
* added in docs
2022-09-14 14:23:12 -07:00