Commit Graph

4758 Commits

Author SHA1 Message Date
Dawood Khan
3d3ec119e8
Fixes interactive output image cannot be set when in edit mode (#3135)
* cropper fix

* Update CHANGELOG.md
2023-02-07 12:49:50 -05:00
Abubakar Abid
85e8f3070c
Sagemaker check (#3137)
* kaggle check

* add tests

* sagemaker

* changelog

* type check

* update test requirements
2023-02-07 08:25:24 -08:00
Abubakar Abid
f37d17089d
Fixes components when loading private spaces (#3068)
* file routes

* adding access token

* add reverse proxy

* adding access token

* context

* rewrite

* frontend

* formatting

* changelog

* formatting

* fix tests

* fixed image issue

* fix frontend

* os removal

* Update test_external.py

* fixes to normalise

* version

* fixes so that functions work

* lint

* formatting
2023-02-07 07:55:51 -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
Freddy Boulton
ec2b68f554
Update docs on equal_height param for Rows (#3125)
* Update docs

* CHANGELOG
2023-02-06 14:21:59 -05:00
Freddy Boulton
50d24a854e
Emit warning when using an interface in reload mode (#3126)
* Add warning

* CHANGELOG

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-06 10:00:35 -05:00
Max Audron
84afc51484
add argument to allow serving files from additional directories (#3075)
* add argument to allow serving files from additional directories

* tweaks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-05 18:04:26 -08:00
Abubakar Abid
a0248f26dd
Example caching now works with components without a label attribute (e.g. Column) (#3123)
* add non io component support for example caching

* chaneglog
2023-02-03 16:46:56 -08: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
Freddy Boulton
9b15e9a1f8
Update docs to explain how reload mode can be used with queue/auth (#3089)
* Add note to guide

* Add more explanation

* Undo changes

* CHANGELOG

* Make work with queue + fix docs

* Changelog fix

* Add unit test

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-02 15:39:45 -05:00
Abubakar Abid
431a987d61
Fixes URL resolution on Windows (#3108)
* windows urls

* changelog

* formatting
2023-02-02 08:47:17 -08:00
Dhruv Nair
04484621c2
Add guide for Comet and Gradio (#3058)
* initial commit for comet guide

* Add video clips

* fix typos and links

* add edit panel gif

* rename markdown file for guide

* update video tags

* update changelog

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-02-02 11:17:58 -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
github-actions[bot]
4a8381312f
New Version Docs (#3116)
* [create-pull-request] automated change

* trigger ci

---------

Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-02-02 10:03:39 -05:00
Abubakar Abid
1aec8e0a96
release v3.17.1 (#3115) 2023-02-02 04:45:27 -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
Freddy Boulton
792289cdf7
Fix example gallery mode (#3090)
* Fix example gallery mode

* CHANGELOG
2023-02-01 12:09:39 -05:00
Freddy Boulton
42ad0cbe45
Enable gradio to work on kaggle (#3101)
* enable share kaggle

* Add test

* CHANGELOG

* Add image to changelog
2023-02-01 11:53:53 -05:00
Christopher Akiki
4d94d4b3a5
[Minor] Correct link (#3109)
* Correct link

* Update CHANGELOG.md
2023-02-01 11:21:16 -05:00
aliabid94
26056e5d72
Fix change event listener (#3095)
* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-01 15:51:38 +00:00
pngwn
70a705c817
only mount fonts in prod mode (#3100)
* only mount fonts in prod mode

* cleanup

---------

Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-02-01 01:09:39 +00:00
Freddy Boulton
4aa7d8d74b
Set minimum markdown-it-py version to 2.0.0 (#3102)
* Bump requirements

* CHANGELOG
2023-01-31 16:08:39 -05:00
Freddy Boulton
faffddf8c7
Fix image rotation on iOS (#3091)
* rotate image based on exif tag

* rotate on backend

* CHANGELOG

* Only rotate if needed

* Add image comparison to changelog

---------

Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2023-01-31 13:18:23 -05:00
aliabid94
5264b4c6ff
Chatbot loader (#3079)
* changes

* chagnes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-30 17:09:14 -08:00
github-actions[bot]
201df3ae4b
New Version Docs (#3087) 2023-01-30 10:28:41 -08:00
Abubakar Abid
07a8bd08de
Release version 3.17.0 (#3074)
* version 3.17.0

* changelog
2023-01-30 09:25:15 -08:00
Dawood Khan
6c8ed19ef6
Fix Sketch clearing bug (#3047)
* bug fix

* changelog

* undo fix
2023-01-30 11:24:11 -05:00
Freddy Boulton
9ccfef0542
Fix auth on spaces (#3049)
* Add route alias

* on button click

* Fix config

* Do not redirect

* Use login to check if other route necessary

* Add message about HF spaces

* CHANGELOG

* Add gif to changelog
2023-01-30 11:11:32 -05:00
pngwn
9599772fd6
fix css scoping (#3059) 2023-01-28 09:47:14 +00:00
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