Commit Graph

4312 Commits

Author SHA1 Message Date
aliabid94
d7db15fb07
Fix broken frontend when iframed (#1933)
* Updated version to 3.1.3a4

* Updated version to 3.1.3a5

* version change

* fix styl
2022-08-02 09:36:50 -07:00
aliabid94
59cf32e0f4
Still fixing 3 1 3a (#1932)
* changes

* changes

* changes
2022-08-02 08:23:37 -07:00
aliabid94
2a113b20f3
Release 3 1 3a (#1931)
* changes

* changes
2022-08-02 08:17:47 -07:00
aliabid94
e295fee54d
release 3.1.3a (#1930) 2022-08-02 08:01:34 -07:00
aliabid94
16826ee9cc
Fix broken API page (#1919)
* chagnes

* frontend_fix

* changes

* changes

* changes

* changes

* changes

* fixed typing

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-01 18:15:55 -07:00
aliabid94
95cb8a78b4
Fix dark mode with apps smaller than window size (#1926)
* changes

* changes
2022-08-01 18:15:41 -07:00
Dawood Khan
bccf7c4006
fixes tab plot issue (#1925) 2022-08-02 00:39:58 +01:00
pngwn
5d03174e44
Always return headers from postprocess (#1893)
* always return data/headers from dataframe postprocess

* add demo back

* handle case of no new headers but different length list

* fix tests

* change

* change

* added unit tests

* formatting

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-01 15:57:31 -07:00
Artin Mohammadi
bdced314bc
Scripts become much easier to read and understand (#1918)
* Being nice to the user

* Front-end builder, CircleCI runner, and Gradio installer updated

* The testing scripts updated

* Front-end runner and the website launcher updated

* The formatters updated

* GitHub Actions and PyPI uploader scripts updated

* Updating the URLs

* Removing commented codes

* Delete a blank line
2022-08-01 15:17:03 -07:00
Freddy Boulton
db1ff439a7
Fix docs (#1908)
* Fix docs

* Fix ner demo

* refactoring script templates

* remove linksnav in guides

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-07-29 16:21:05 -04:00
Abubakar Abid
a52af7c483
How data flows through an app (#1897)
* added info on preprocessing/postprocessing

* preprocessing/postprocessing
2022-07-28 16:57:27 -04:00
aliabd
35d809c788 fix merge conflicts 2022-07-28 14:28:52 -04:00
Ali Abdalla
5a350a1ded
fix image size in getting started (#1901) 2022-07-28 13:44:11 +01:00
Ali Abdalla
3ef4d4da4c
Fix default value in docs for objects (#1900) 2022-07-28 13:43:17 +01:00
Abubakar Abid
5ee2122834
Suggestion: add more info on update() (#1896)
* more on update'

* Move example to docstring

Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2022-07-27 14:46:13 -04:00
Ali Abdalla
96a8bfcb02
Website Refactoring and Styling (#1847)
* remove params from blocks signature

* refactor copy and anchor js

* fix anchor spacing for headers
2022-07-27 14:30:15 -04:00
Ali
20696acdf1 changes 2022-07-26 23:39:48 -07:00
Ali
e3aa311f8e changes 2022-07-26 23:32:50 -07:00
Ali
1121699cf1 changes 2022-07-26 23:14:00 -07:00
Dawood Khan
a12ac35b2a
Add New Model3D Guide (#1894)
* add model3d guide

* fixes

* fixes

* more fixed

* fix
2022-07-26 23:26:23 +01:00
Ali Abid
0e4931fbe2 changes 2022-07-26 15:11:08 -04:00
Freddy Boulton
3f5a9ea19d
Move gr update to helpers (#1890)
* Move update to components helpers

* Move gr.update to Component Helpers Section
2022-07-26 14:27:29 -04:00
pngwn
f4552a2264
ensure falsey values are set to null for images (#1891)
* ensure falsey values are set to null for images

* cleanup
2022-07-26 14:26:00 -04:00
Freddy Boulton
ef15a92ffa
Make supported events orange (#1879) 2022-07-26 11:35:08 -04:00
Freddy Boulton
17bd3c10b5
Add example of using component update method (#1882)
* Add example of component method update

* Fix wording

* Update gradio/blocks.py

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-07-26 11:19:17 -04:00
Abubakar Abid
0019c12844
added multistep to docs (#1880) 2022-07-25 17:00:13 -07:00
Martina Fumanelli
ba65a95e07
Add new component guide (#1861)
* Add first steps to new component guide

* Add last steps to new component guide

* Fix review minors on new component guide

* Fix first steps to new component guide

* Fix last steps to new component guide

* Fix color_picker demo examples

* Add code snippets to new component guide

* Apply suggestions from code review to new component guide

Co-authored-by: pngwn <hello@pngwn.io>

* Add explanation for different types of component files in new component guide

Co-authored-by: Luigi Cerone <luigicerone96@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
2022-07-25 16:25:50 -04:00
Abubakar Abid
48d175627f
fix string (#1878) 2022-07-25 12:59:13 -07:00
Abubakar Abid
c9b8ad80fd
NER Improvements and Guide (#1869)
* ner accept hf format

* formatting

* added ner guide

* guide fixes

* added unittests for highlighttext

* formatting
2022-07-25 12:16:00 -07:00
Dawood Khan
cd0d520696
Plot Component Integration Test (#1859)
* plot integration tests

* format

* remove files
2022-07-25 12:48:59 -04:00
Freddy Boulton
1779187692
Add to docs (#1866) 2022-07-25 10:20:10 -04:00
Ali Abid
cb2240158a changes 2022-07-25 08:48:45 +01:00
Ali Abid
21f80d77df changes 2022-07-25 08:45:13 +01:00
Ali Abid
9b94701f7e changes 2022-07-25 04:56:10 +01:00
Ali Abid
7a486d77f6 changes 2022-07-25 04:46:11 +01:00
Ali Abid
3a93202fd6 changes 2022-07-25 02:18:42 +01:00
曾逸夫(Zeng Yifu)
5988aa758c
Update components.py (#1873) 2022-07-23 17:23:26 -07:00
曾逸夫(Zeng Yifu)
026e6cab55
Create run.py (#1872) 2022-07-23 17:22:54 -07:00
Abubakar Abid
4ef87e03d0
Fixes the twitter image preview for Guides (#1865)
* twitter-meta

* fix
2022-07-22 16:10:40 -07:00
Dawood Khan
babbb7eb41
Add new i18n tokens (#1751)
* add new i18n tokens

* fixes

* fixes

* format
2022-07-22 21:32:55 +01:00
Abubakar Abid
c638aa9961
Improve flagging guide & add flagging with Blocks (#1853)
* improving guide

* flagging guide

* remove img

* fixed spaces

* fixes
2022-07-22 12:14:34 -07:00
Freddy Boulton
9360670e23
Add guide on how to add interpretation to a Blocks App (#1851)
* Add demo code

* Guide rough draft

* Update demo

* Add image classification demo
2022-07-22 12:00:24 -04:00
Ali Abid
595357e37b changes 2022-07-22 12:56:02 +01:00
Ali Abid
0920710779 change 2022-07-22 12:49:21 +01:00
Abubakar Abid
ccd8e18a17
release 3.1.1 (#1852) 2022-07-21 13:51:46 -07:00
Abubakar Abid
0bba0b9664
Adding flagging callbacks to the docs (#1834)
* added flagging documentation

* formatting

* added example usage

* formatting

* addressed comments
2022-07-21 13:10:22 -07:00
Abubakar Abid
6b1de93ab7
Fixes cached examples (#1850)
* examples fix

* fix bug

* formatting
2022-07-21 12:57:58 -07:00
pngwn
817819d7a1
Fix the types (#1843)
* fix types

* fail CI when typechecking fails

* maybe fix

* more fix

* remove all rferences to theme

* fix login
2022-07-21 19:12:46 +01:00
Freddy Boulton
c579aa195d
Clarify API of custom interpretation function + fix demo (#1842)
* Modify demo + guide on custom interpretation

* Fix typo

* Change interfaces to inputs
2022-07-21 09:42:49 -04:00
Ali Abdalla
1ac71597fc
fix underscore bug in demo names (#1840) 2022-07-21 01:54:38 +01:00