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
aliabid94
5bd42feb8c
Frontend fixes ( #3026 )
...
* fixes
* changes
* change
* changes
2023-01-20 13:24:24 -08: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
Abubakar Abid
43f0bedf52
replace x-png with png ( #3002 )
...
* replace x-png with png
* changelog
2023-01-17 09:59:51 -08:00
Freddy Boulton
3f2074855d
Fix bug downloading files with long names ( #2929 )
...
* Fix bug
* Add changelog
* move to current release section
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 18:58:14 -08:00
Abubakar Abid
6a3c8d3fdf
Bring back change event for Dropdown ( #2954 )
...
* bring back change
* changelog
* changelog
* changelog
2023-01-08 13:09:40 +01: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
Freddy Boulton
6b77ea07d3
Fix bug displaying dataframe examples in csv/tsv files ( #2877 )
...
* Use loaded value for dataframe preview
* Add to CHANGELOG
* Changelog
2022-12-27 10:48:32 -05:00
Jean Ribeiro
24f413c4b3
enhancement: record audio and video from webcam simultaneously ( #2721 )
...
* Recording Audio and Video from webcam simultaneously
* Add include_audio option in Video component
* Update gradio/components.py
Co-authored-by: pngwn <hello@pngwn.io>
* Update CHANGELOG.md
Co-authored-by: pngwn <hello@pngwn.io>
* updated include_audio default behavior
Co-authored-by: Mandar Gogate <9411881+MandarGogate@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2022-12-26 13:56:17 -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
Emily Uhde
ade918d0a2
2777 Add restProps to IconButton … ( #2791 )
...
* 2777 Add restProps to IconButton and use it to pass aria-labels down to the button element where it's used in other UI components
* 2777 Update per PR feedback, explicitly pass in label prop instead of using restProps
* 2777 Fix mysterious linter error
* Update changelog to fix PR number 2791
* Fix merge conflict
* Update CHANGELOG.md
Co-authored-by: pngwn <hello@pngwn.io>
2022-12-14 22:13:30 +00:00
Abubakar Abid
c126e62970
Add support for numpy array and other types to gr.Dataframe()
initial value ( #2804 )
...
* bigquery draft
* updated guide
* orjson fix
* formatting
* changelog
* rm guide
2022-12-13 17:01:27 -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
Paulo A
728f3a960c
Add pt-br.json ( #2753 )
...
* Add pt-br.json
* Fix json name, changelog
* Format file
* Fix json name
* Fix CHANGELOG.md
* Rename pt-br.json to pt-BR.json
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update i18n.test.ts
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-08 19:18:02 -08: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
Freddy Boulton
dd90b37c9b
Update Label color from backend ( #2736 )
...
* Implement label improvements
* Fix tests + lint
* Update null case
* Types + changelog
* Add gif to changelog
* Changelog + implement for confidences
* Reduce dupe
* Change API - only use string - no function
* Update API in CHANGELOG
* Update comment
* misc fixes
2022-12-01 14:30:11 -05:00
Abubakar Abid
5ce13ab6cb
Resize images for chatbot ( #2748 )
...
* chatbot image size
* update changelog
2022-11-30 10:13:34 -06: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
Freddy Boulton
5b71ff7e6f
Update accordion from backend ( #2690 )
...
* Update accordion from backend
* Update changelog
* Add gif to changelog
* Use reactive values
2022-11-28 18:12:24 -05:00
Julien Chaumond
c99a323ccf
Embeds: support <gradio-app host="julien-c-coqui.hf.space"></gradio-app>
( #2692 )
...
* to support `<gradio-app host="julien-c-coqui.hf.space"></gradio-app>`
* Fix iframe srcs
* prettier
* missed ones with `gradioiframe`
* embeds
* changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 14:12:14 -06: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
aliabid94
084b2b832e
Make login page UI consistent ( #2684 )
...
* changes
* changes
* changes
* capitalize login
2022-11-21 12:01:57 -06:00
Victor Muštar
70227354e6
UI update: API documentation page ( #2652 )
...
* changes
* update UI
* ui update
* add font weight 600 to google font <link>
* import paths
* changes
* changes
* changes
* changes
* Update ui/packages/app/src/ApiDocs.svelte
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* changes
* changes
* changes
* changes
* changes
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-20 16:21:01 -06: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
pngwn
fd31726666
only use min height for md and html when loading ( #2623 )
2022-11-09 20:48:17 +01: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
aliabid94
91abb3ae11
Allow gradio embeds in colab without share ( #2455 )
...
* changes
* change
* changes
* changes
* changes
* Update colab.html
* update version
* changes
* Update gradio/templates/colab.html
Co-authored-by: pngwn <hello@pngwn.io>
* changes
* changes
* changers
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* revert
* changes
* changes
* changes
* strings
* formatting
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2022-11-03 15:51:30 -07:00
Abubakar Abid
43f5cf5f30
Load example from external Spaces ( #2594 )
...
* started
* loading examples
* saves
* fixes
* formatting
* iocomponent
* added support to other components
* fixed tests
* added video support
* added 1 test
* more changes
* reverted components.py
* remaining components
* formatting
* fixes
* fixes
* tests
* fixed ability to load multiple spaces
2022-11-03 12:35:56 -07:00
Vladimir Repin
ad62a8a8a3
Fixed upload dialog being showed after pressing "x" button ( #2577 )
...
* Fixed upload dialog being showed on clear #2476
* Changelog update
* Formatting fix
* click replaced with disable_click
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2022-11-02 16:28:38 -07:00
pngwn
17cd9b59bd
fix embed protocol ( #2571 )
...
* fix embed protocol
* changelog
* version
* Commit from GitHub Actions (Upload Python Package)
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: GH ACTIONS <abidlabs@users.noreply.github.com>
2022-10-31 12:08:45 -07:00
pngwn
36e383a9f0
fix spaces ( #2567 )
...
* fix spaces
* changelog
* tweak
* only mess with ws url in embed mode
* version
* always disregard embedding apps path when embedding
* version
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-30 07:39:27 -07:00
Dawood Khan
28b7d7de8f
fixes plotly whitespace ( #2548 )
...
* fix plotly whitespace
* changelod
2022-10-27 16:12:21 -04:00
camenduru
cf7d44591f
fix #2536 ( #2538 )
...
* fix #2536
thanks @pngwn
* fix #2536
* fix #2536
* changelog
Co-authored-by: pngwn <hello@pngwn.io>
2022-10-27 14:57:39 +01:00
Abubakar Abid
933feb48ad
Remove special ws path for spaces ( #2528 )
...
* remove special ws path for spaces
* changelog
2022-10-26 12:55:32 -07:00
Dawood Khan
83a038ea7a
Load Event Trigger ( #2456 )
...
* load event
* fixes
* reformat
* changelog fixes
* rename to uploadable
* formatting
* format
* add cancels
* Update CHANGELOG.md
* Create CHANGELOG.md
* Update CHANGELOG.md
* add batch
2022-10-25 20:58:12 -04:00
pngwn
5a090de94a
prevent invalid targets of events from crashing app ( #2534 )
...
* add sourcemaps to build
* logs
* filter falsey values from target_instance map
* actually fix it this time
* changelog + cleanup
* format
2022-10-26 00:57:13 +01:00
Dawood Khan
834d945b1a
Fixes plotly css issues ( #2486 )
...
* fix plotly css
* changelong
2022-10-24 11:13:41 -04:00
pngwn
c08b12a487
fix loading states for markdown and html ( #2499 )
...
* fix loading states for markdown and html
* cleanup
* cleanup
2022-10-24 12:38:58 +01:00
Dawood Khan
8a34a799d6
clear timeseries fix ( #2487 )
2022-10-18 16:09:33 -04:00
Freddy Boulton
dae17bb75a
Fix video mirroring issue ( #2475 )
...
* Fix video flip + test
* CHANGELOG
* Fix python 3.7 mock syntax
* Fix python 3.7 syntax
* Use .stem
* Lint
2022-10-18 11:07:03 -04:00
pngwn
f79a76ca8f
add status tracker to md and html ( #2474 )
...
* add status tracker to md and html
* changelog
* changelog
2022-10-17 22:00:01 +01: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
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
Abubakar Abid
e935f105e1
Improvements to gr.Dataset
( #2437 )
...
* Adding example components
* formatting
* formatting
2022-10-12 15:48:53 -05: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
pngwn
996cd8b814
1711 image upload ( #2410 )
2022-10-07 19:21:21 +01:00