Commit Graph

4428 Commits

Author SHA1 Message Date
Ali Abdalla
359a62b255
fix add-copy js (#1959) 2022-08-05 13:15:28 -07:00
Abubakar Abid
eae445e340
3.1.4 release (#1956)
* version

* 3.1.4b

* release 3.1.4
2022-08-05 11:30:19 -07:00
Abubakar Abid
b271890c72
Release 3.1.4b (#1955)
* version

* 3.1.4b
2022-08-05 09:53:06 -07:00
Abubakar Abid
f46e95d7e0
Fixes to TabbedInterface (#1951)
* tabbed

* formatting

* fixed test

* fixed based on review
2022-08-04 18:46:15 -07:00
Ali Abdalla
d4272b3fdb
Better navigation and search in docs (#1884)
* expand nav bar to include subclasses and methods

* only show sub-links during the section

* add search

* add hotkeys

* override default shortcuts

* styling

* added x button

* broken style block

* refactoring and fixing errors

* esc key shortcut for exit

* svg file instead of b64

* using @apply
2022-08-04 18:23:20 -07:00
Ali Abdalla
f93f4c9cfe
Referencing guides in docstrings and other fixes (#1905)
* tie guides to docs in docstrings

* reference guides in more sections

* fix missing guides in interface and blocks

* fix broken html div

* remove pinned metadata for ordering

* fix annoying comma space in guide tags

* retrigger codecov check

* fix guides bug in flagging

* add controlling layout guide to row, column, and tab
2022-08-04 17:55:09 -07:00
Ali Abdalla
361837753c
Embedding the spaces on the landing page using web components (#1899)
* convert from iframes to web components

* add copy buttons to codeblocks
2022-08-04 17:36:12 -07:00
Freddy Boulton
299ba1bd1a
Fix bug where you cannot cache examples with Interface.load (#1949)
* Possible fix

* Remove breakpoint

* Implementation

* Add unit test

* Fix test

* Lint

* Add _api_mode to interface signature
2022-08-04 20:20:44 -04:00
Ali Abdalla
2903b74160
Add link to Github on nav bar (#1907)
* Add link to Github on nav bar

* fix icon color

* better responsiveness

* fixed responsive issues
2022-08-04 16:55:46 -07:00
Artin Mohammadi
3aacc4b3a9
A new face for the Sultan of ML deployment (#1943)
* File to display citation in the repo

* The README template updated

* Quickstart guide updated

* Smart code for smart rendering

* The new face of the king

* Typo fix and making executable

* `PIP` to lower case and knowing sentences

* Updating the CircleCI and Codecov badges

* Fix missing commas

* Replacing single quotes with double quotes
2022-08-04 10:48:17 -07:00
Freddy Boulton
c316cda746
Enable flagging/caching examples for Gallery (#1938)
* Cache examples for gallery

* Add unit test

* Store all gallery samples under the same sub directory
2022-08-03 17:38:01 -04:00
Dawood Khan
0c2e5c8184
Fixes: Model3D component loads forever when used as input and cache_examples=False (#1939)
* fix loading issue

* format
2022-08-03 17:03:01 -04:00
Freddy Boulton
ab18e07ff0
Add Events to docs page (#1892)
* Add Events to docs page

* Remove artifacts after rebase

* Add Load to events section as well

* Lint

* Add comments explaining underscore params in events

* Add events for all components

* Set is_class=False

* true -> True

* Specify which corner the rounded param relates to

* make the first sentence of style more descriptive

* Add sentence about only using in gradio blocks

* Add more description to container param
2022-08-03 15:09:08 -04:00
pngwn
3a58dd1924
default to a single table row (#1936) 2022-08-02 22:02:49 -07:00
pngwn
a039810e51
fix pnpm filters for 7.x (#1927)
* fix pnpm filters for 7.x

* update ci to use pnpm 7

* try a thing

* reinstall types

* usin pnpm dlx instead of pnpx

* usin pnpm dlx instead of pnpx

* explicitly add playwright as dependency

* update lockfile

* update ci

* update ci

* install same version of @playwright/test and playwright

* fix browser downloads
2022-08-02 12:02:06 -07:00
Dawood Khan
653b54d3c0
fix file download name (#1921) 2022-08-02 18:55:41 +01:00
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