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
Ali Abid
0e4931fbe2
changes
2022-07-26 15:11:08 -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
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
Ali Abid
21f80d77df
changes
2022-07-25 08:45:13 +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)
026e6cab55
Create run.py ( #1872 )
2022-07-23 17:22:54 -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
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
Abubakar Abid
493cf7c069
fix ( #1837 )
2022-07-20 06:39:47 -07:00
Freddy Boulton
3f9ec2c345
Add a guide on how to use apps like functions ( #1799 )
...
* Add examples for series and parallel
* Create demo + guide
* More formatting
* Change name of guide
* Fix typo
* Use english to german as example instead
* Expand phrase a bit
2022-07-19 17:43:53 -04:00
Freddy Boulton
4a1879edaf
Remove usage of deprecated gr.inputs and gr.outputs from website ( #1796 )
...
* remove deprecated api from docs
* Remove usage of 'state' shortcut
* Back out state changes
* Back out state changes in creating_a_chatbot
* Link chatbot guide to Variable docs
2022-07-19 11:53:01 -04:00
Ali Abdalla
0dbc8bfcf3
Embedding Components on Docs ( #1726 )
...
* add component code to demos docker files
* fix demo_name
* frontend
* fix demo-name in frontend
* remove built with gradio
* remove extra space
* styling
* wait till page loads
* fixing components that require more parameters
* remove print statements
* check for correct run file
* combining component demos to one file
* typo
* fixes
* suffix name
* add is_component
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-19 16:20:20 +01:00
Freddy Boulton
8aba1c991b
Add info to docs on how to set default values for components ( #1788 )
...
* Explicitly set value and add to docs
* Fix wording a bit
* Remove sentence that's not adding much
* Remove extra word
* Delete screenshot
2022-07-19 11:16:56 -04:00
Freddy Boulton
006347459c
Add color picker to docs ( #1768 )
2022-07-18 11:55:48 +03:00
Freddy Boulton
de4458361b
Add gr.update to blocks guide ( #1649 )
...
* Add gr.update to guide
* Add to docs page and add step-by-step guide
* Fix documentation tests
* PR reviews
* Use code snippet
* Make section title plural
* Blocks utils in their own section
2022-07-14 11:43:38 -04:00
pngwn
c323aac274
add example component for color picker ( #1779 )
2022-07-13 16:35:43 +01:00
Freddy Boulton
600722c218
Add examples for series and parallel ( #1738 )
...
* Add examples for series and parallel
* Add ML demos for interface and load
2022-07-11 11:21:30 -04:00
Freddy Boulton
54f330af48
Add examples component to docs ( #1729 )
...
* Add examples to docs
* Adding guide for examples
* Exclude guides from methods
* PR feedback: typos, different allowed values of examples, docstrings
2022-07-08 11:32:08 -04:00
pngwn
8c4e134094
allow users to update the current tab from python SDK ( #1709 )
...
* allow users to update the current tab from python SDK
* rename var
* ensure tabs work when no selected or id kwargs are passed
* update xray config
* update test
* update test again
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* change false to None
* update test configs
* fix test
* fix test
* update global tab selection
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-07 15:37:51 +01:00
Abubakar Abid
c9f522e02b
Allow excluding input components in examples ( #1722 )
...
* ignore None examples
* formatting
* added demo
* fixed test
2022-07-06 21:30:51 -07:00
Abubakar Abid
a1c391668a
Exposing examples as a component for Blocks ( #1639 )
...
* examples as component
* renamed examples
* simplify internal logic
* fix tests
* cleanup
* fixed parallel and series
* cleaning up examples
* examples
* formatting
* fixes
* added unique ids
* added demo
* formatting
* fixed test_examples
* fixed test_interfaces
* fixed tests
* removed test from now
* raise ValueError for bad parameter values
* fixing series
* fixed series
* formatting
* speed up by preprocessing examples
* fixed parameter validation logic
2022-07-06 11:23:35 -07:00
Abubakar Abid
e2cebde5e6
Allows setting custom <title> ( #1703 )
...
* fix title issue
* formatting
* docstrings and demos
2022-07-05 14:21:20 -07:00
pngwn
92889b7b93
1220 mirror webcam ( #1686 )
...
* support webcam mirroring for images
* flip video in preprocessor
* finalise webcam mirroring
* address review comments
* fix formatting
* improve video UI
* fix tests
* fix tests again
2022-07-05 17:30:02 +01:00
Luigi Cerone
8f89270f50
Color picker ( #1695 )
...
* Add new colorpicker component skeleton
* Updated colorpicker skeleton with some functionalities
* - Fix default input color
- Change input style
* Add colorpicker demo
* Add tests and code format
Co-authored-by: mfumanelli <fumanellimartina@gmail.com>
2022-07-05 08:50:17 +03:00
pngwn
609de11ce8
add markdown and html support to dataframe ( #1684 )
...
* add markdown and html support to dataframe
* fix bug, address review comments
* fix test
* fix test
* rename parser instance variable
2022-07-04 10:27:48 +01:00
Dawood Khan
eb42fc3cf8
Kitchen Sink Integration tests ( #1588 )
...
* tests
* more tests
* more tests
* remove files
2022-07-01 01:27:47 -04:00
Dawood Khan
7030a2a6cf
Fix example image thumbnail size ( #1627 )
...
* fix example image thumbnail size
* format
* remove cache examples
* add classes to token.css
* add small image
2022-07-01 01:27:35 -04:00
pngwn
1e6ceb9543
Mask image ( #1621 )
...
* changes
* add masking to image
* added preprocessing for mask
* tweaks + improvements to masking
* make mask work with webcam input
* cleanup
* fix default image
* fix default value when source is upload
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-25 01:11:28 +01:00
Dawood Khan
98121ee6a3
Issue #1594 : Plot component is not cached with examples ( #1600 )
...
* fix plot cache examples
* format
2022-06-20 13:13:35 -05:00
pngwn
8710d3a079
Wrap dataframe ( #1571 )
...
* add suport for table cell wrapping
* revert pkginfo change
* revert pkginfo change
* fixed tests
* formatting
* type hint
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-16 17:02:01 -07:00
aliabid94
11b12d9456
Scrolling by default only in Interface, remove progress animation on streaming ( #1499 )
...
* changes
* changes
* format
* changes
* add relative to block
* changes
* ensure statustracker component is never rendered by render
Co-authored-by: pngwn <hello@pngwn.io>
2022-06-13 17:11:19 -07:00
aliabid94
caa6a4e687
rework visible, attach to all components ( #1511 )
...
* changes
* fix
2022-06-13 16:49:23 -07:00
aliabid94
00e4b1436f
Allow styling height for Image and Video, also dynamic logic change ( #1503 )
...
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-10 19:56:07 -07:00
Ömer Faruk Özdemir
252f164026
add-multiple-event-demo ( #1519 )
2022-06-10 09:20:58 +03:00
aliabid94
f41ebdd616
Fix multiple file upload ( #1512 )
...
* changes
* Update utils.ts
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-09 16:53:41 -07:00
aliabid94
f3e070541e
Fix Login ( #1501 )
...
* changes
* format
2022-06-09 16:15:08 -07:00
aliabid94
293a5916cf
changes ( #1504 )
2022-06-09 15:46:07 -07:00
Dawood Khan
f374eec22d
Fix cache examples for audio, video and image ( #1459 )
...
* image examples fix
* fix image test
* fix cache examples for audio and video
* fix tests
* fix audio test
* fix restore flagged file
* fix tests
* reformat
* tests fixes
* fix test
* reformat
* format
* fix test
* reformat
* fix image test
* renamed video demo
* removed redundant test that may have been causing rate limiting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-07 15:10:19 -07:00
pngwn
cc6aeb6d72
distribute gradio as a web component ( #1444 )
...
* distribute gradio as a web component
* fix layout + loader + dark mode in embedded wc
* fix lockfile issue
* formatting
* prevent loader conflicts
* fix formatting
2022-06-07 11:11:44 -07:00
Ali Abdalla
42cee33dcf
API Docs with support for Blocks ( #1397 )
...
* backend
* updated PyPi version to 3.0.10
* updated PyPi version to 3.0.9b10
* fixes
* updated PyPi version to 3.0.9b11
* changes
* changes
* changes git push
* changes
* undo
* fixes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 09:10:42 -07:00
pngwn
279df2322d
fix button styling ( #1447 )
2022-06-01 11:33:53 -07:00
pngwn
068132836c
Style updates ( #1350 )
...
* clean up python style api
* allow Box to be styled
* changes
* update style args and add md doc detailing
* cleanup
* add deprecation warnings
* fix
* formatting
2022-06-01 18:02:18 +01:00
Dawood Khan
7b9cba0e9e
File Cached Examples Fix ( #1334 )
...
* fix file cache examples issue
* format
* fix for tests
* format fix
* fix multiple files input
* format
* format
* fix preprocess example
* fix multiple file output
* remove single_file const
* fix tests + format
* renamed demo
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-01 12:23:12 -04:00
Dawood Khan
2eaf61cf76
Integration tests ( #1182 )
...
* some integration tests
* more integration tests
* more tests
* update integration tests
* format
2022-05-27 04:53:50 -04:00