Commit Graph

4725 Commits

Author SHA1 Message Date
pngwn
669ee42c8f
fix space embeds using src attribute (#3065)
* change ports in dev mode

* changelog

* correctly detect space embeds

* changelog

* formatting
2023-01-27 14:39:36 +00:00
Greysuki
243b400b53
fix-tabs (#3055)
* fix-tabs

* Reformat changelog

Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-27 06:35:19 -05:00
Freddy Boulton
4e3626bbeb
Preserve Gallery selected image through updates (#3061)
* Fix bug

* CHANGELOG
2023-01-27 05:42:35 -05:00
Freddy Boulton
7fc3e750b0
Hide upload component (#3053)
* Hide upload component

* CHANGELOG

* Rename class
2023-01-25 16:35:44 -05:00
Abubakar Abid
df3a50b3cc
Running requests in background (#3054)
* formatting

* revert dmeo

* changelog

* fix tests
2023-01-25 18:01:39 +05:00
Freddy Boulton
18cc8a385c
Check file_types is a list (#3048)
* Add assertion for file_types

* Changelog

* Add logic to UploadButton

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-25 04:32:22 -05: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
pngwn
2667eb65b1
fix form focus styles (#3042)
* fix form focus styles

* changelog
2023-01-24 19:51:51 +00:00
Freddy Boulton
eac49196a7
Properly Restart Queue After App is Closed (#3022)
* Debug code

* Fix bug + add test

* CHANGELOG

* Update test

* Revert change

* Use 1 second sleep

Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-01-24 10:52:09 -05:00
Freddy Boulton
c137579269
Use github actions badges in README (#3046) 2023-01-24 08:37:36 -05:00
Freddy Boulton
acbc695ce1
Trigger events on programmatic change for Dropdown and Checkbox (#3045)
* Trigger events on change

* CHANGELOG

* Remove logging
2023-01-23 19:41:33 +01: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
Abubakar Abid
61d2f15562
Fix to HuggingFaceDatasetSaver (#3025)
* hf flag fix

* fixed huggingface hub params

* formatting

* fix flagging tests

* add a try / catch
2023-01-20 20:15:45 -08:00
Abubakar Abid
862a8c7c71
Added symlink support (#3037)
* added symlink support

* changelog

* lint

* fix tests

* tests
2023-01-20 19:52:42 -08:00
aliabid94
5bd42feb8c
Frontend fixes (#3026)
* fixes

* changes

* change

* changes
2023-01-20 13:24:24 -08:00
Abubakar Abid
af320cf25e
Adds a GitHub action to detect if any files > 5 MB are present in the PR (#3013)
* Create large-files.yml

* Update CHANGELOG.md

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml

* Update large-files.yml
2023-01-19 07:53:14 -08:00
Freddy Boulton
01469bfd87
Undo quickstart redirect (#3020) 2023-01-19 05:48:22 -05:00
Ali Abdalla
b0540d1a7b
Fix forwarding for guides after SEO renaming (#3017)
* remove .md from forwarding rules

* changelog
2023-01-18 16:59:42 -08:00
Ali Abdalla
2dec8a181f
Switch all pages on the website to use latest stable gradio (#3016)
* switch all pages to use latest stable

* changelog
2023-01-18 16:50:05 -08:00
Freddy Boulton
32af45cd0f
Add conversational and text-to-image pipelines to Interface.load (#3011)
* Add conversational and text-to-image

* remove redundant state

* CHANGELOG

* Add media to changelog

* Lint

* Format code

* Fix typos in CHANGELOG
2023-01-18 14:49:03 -05:00
Abubakar Abid
f7f5398e4c
Fixed old files route (#3010)
* fixed files route

* changelog

* formatting
2023-01-18 10:13:29 -08:00
Freddy Boulton
cab8d888dc
Fix validate url (#2957)
* Fix validate url

* Add unit test + fix impl

* Fix CHANGELOG

* Use head instead of get to check url

* Add head route for files

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-18 12:47:57 -05:00
Freddy Boulton
0091b366af
Move from circleci to gh actions for backend tests (#2927)
* Initial try

* Edit python version

* Do not update

* Trigger failure

* Trigger type check failure

* Undo

* Use cache

* Update cache

* Fix syntax

* Empty

* Activate venv

* indent

* Use python version

* gh action for ffmpeg

* Fix path

* Check fail

* fix failure

* revert fail

* remove cancel in progress
2023-01-18 12:19:39 -05:00
Ali Abdalla
625ccae34c
SEO improvements to guides (#2915)
* replace underscores with dashes and redirect old urls

* tldrs, listicles, and in-site cross-linking

* add canonical tags to all pages

* changelog

* shorten into

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-18 08:44:56 -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
Dawood Khan
1518f93c85
Fix issue where chatbot markdown support breaks older demos (removes <p> and /n) (#3006)
* fix

* chatbot test fix

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-17 22:46:42 +01:00
Abubakar Abid
055aab6e05
Fixing deserialize when loading external Spaces (#3004)
* deserialize

* changelog
2023-01-17 13:05:15 -08:00
Abubakar Abid
e9ff8f5e4b
Correctly add uploaded files to temp set (#3005)
* file-temp

* changelog
2023-01-17 12:55:42 -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
Freddy Boulton
2bbec4b41e
Fix file serialization so that output is json serializable (#2999)
* Add comments

* CHANGELOG

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-17 11:29:27 -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
7ebe79a987
Fix interpretation events (#2993)
* Fix interpretation + test

* Changelog

* Empty

* Fix test

* Handle None case

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* lint

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-16 12:46:00 -05:00
Freddy Boulton
5c32ba31ba
Fix reload mode (#2992)
* Fix reload mode

* Add unit test

* Add to changelog
2023-01-16 12:17:41 -05:00
github-actions[bot]
8176d9496b
New Version Docs (#2989)
* [create-pull-request] automated change

* empty

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-16 05:31:08 -05:00
Abubakar Abid
b1b6841b7e
version (#2988) 2023-01-15 21:58:20 -08:00
Dawood Khan
537fa11b78
Fixes file upload fails for files with zero size (#2923)
* fix file zero size erroe

* changelog

* fixes

* add a test

* formatting

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 20:38:28 -08:00
aliabid94
34cf1e612b
Support media output, "/file=" endpoint on iOS (#2961)
* changes

* changes

* change

* changes

* changes

* change

* changes

* change

* changes

* changes

* changes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 19:54:09 -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
Freddy Boulton
06b973bda4
Fix Loading Examples (#2955)
* Fix

* CHANGELOG

* Unit test

* Fix

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 18:51:05 -08:00
Alina Rogalska
2e54471610
Fix cached examples encoding (#2974)
* Fix encoding when loading cached examples

* Format backend

* Add changes to CHANGELOG

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 00:16:46 -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
Abubakar Abid
6a3c8d3fdf
Bring back change event for Dropdown (#2954)
* bring back change

* changelog

* changelog

* changelog
2023-01-08 13:09:40 +01:00
Anton Lozhkov
981cd1ea68
Fix the path check for long CSS strings in Blocks (#2953)
* Fix the path check for long CSS strings in Blocks

* Add a test

* Update changelog
2023-01-08 06:31:21 -05:00
Freddy Boulton
1dcacdb6c9
Fix bug in mount_gradio_app with queue enabled (#2939)
* Move to __exit__

* Add test

* Add unit test

* Add changelog

* fix test

* Fix test

* Fix Release notes
2023-01-08 05:42:57 -05:00
github-actions[bot]
d229654673
New Version Docs (#2952)
* [create-pull-request] automated change

* tweak

Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-08 10:39:33 +01:00
aliabid94
13fd9f35e1
Hotfix audio output, HighlightedText skip (#2950)
* changes

* fixes

* changes
2023-01-07 22:26:19 -06:00
Freddy Boulton
b3dc6f5574
Fix changelog typo (#2938) 2023-01-05 12:37:17 -05:00
github-actions[bot]
5fc487cdfe
[create-pull-request] automated change (#2934)
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-01-05 11:49:05 -05:00