Commit Graph

69 Commits

Author SHA1 Message Date
Ali Abid
7a486d77f6 changes 2022-07-25 04:46:11 +01:00
Ali Abid
3a93202fd6 changes 2022-07-25 02:18:42 +01: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
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
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
Ali Abdalla
a44f8f7780
Miscellaneous formatting improvements to website (#1754)
* remove required tag from kwargs

* placeholder for missing docstrings

* fix alignment issues in reload guide

* added documentation

* added doc to column

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-18 21:33:21 -07: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
Freddy Boulton
a180d41692
Improve formatting of guide (#1789) 2022-07-14 10:27:18 -04: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
aliabid94
70ebf698fa
Live website changes (#1578)
* fix audio output cache (#804)

* fix audio output cache

* changes

* version update

Co-authored-by: Ali Abid <aliabid94@gmail.com>

* Website Tracker Slackbot (#797)

* added commands to reload script

* catch errors with git pull

* read new webhook from os variable

* correcting bash

* bash fixes

* formatting

* more robust error checking

* only sends success if git changes

* catching error from script

* escaping error text to send with curl

* correct text escaping for error message

* fix search bug in guides (#809)

* Update getting_started.md (#808)

* Fix type of server returned by `Launchable` (#810)

* `Launchable` returns a FastAPI now

* Update .gitignore

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 96f203108b]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5

* Add a missing line to getting started (#816)



Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
Former-commit-id: feba0888e3

* Add a missing line to getting started (#816)

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056

* Clean-History
- Remove 51MB file with this commit


Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
Former-commit-id: 20523b0519

* changes

* changes

* Homepage: header image size (#1347)

* image size

* image in local assets

* add dall-e mini banner

* undo ui changes

* changes

* changes

* updates

* updates

* changes

* changes

* changes

* h11 dependency

* add npm build-mac

* expand demo button to all classes

* add demos to docstrings

* add anchor tags to headers

* add required tag to param table

* add consistent styling for headers

* skip param beginning with underscore from docs

* skip kwargs param from docs

* remove types in param docstring

* override signature to reflect usage

* add supported events

* add step-by-step guides

* fix guide contribution link

* add related spaces

* fix img styling on guides

* pin quickstart, advanced, and block guides to top

* margin fix

* autogenerated copy buttons for all codeblocks

* changes

* documentaiton

* format

* launch

* formatting

* style changes

* remove backticks

* changes

* changes

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Ali <ali.abid@huggingface.co>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-06 16:22:10 -07:00
Abubakar Abid
34464401c1
[Guide] Embedding Gradio Space on another website (#1468)
* created new file

* guide

* added guide

* added width

* Apply suggestions from code review
2022-06-17 22:06:23 -07:00
Abubakar Abid
c963081dd8
[Guide] Developer Mode (#1394)
* first commit

* guide ready

* Update guides/developing_quickly_with_reload_mode.md

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

* fixes

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-15 00:44:38 -07:00
Ali Abdalla
57239edcde
fix broken docs link in readme (#1543) 2022-06-11 00:14:50 -07:00
Simon Mo
ddd7fa13dc
Lower bound Python version to 3.7 (#1480)
* Lower bound Python version to 3.7

* Update doc
2022-06-07 12:00:29 -07:00
Bharat Raghunathan
22c87d4b59
Fix broken links in "Next Steps" of README.md (#1466)
* Update README.md

* add comment to readme

* fixed links

* made changes to readme template

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-06 16:14:16 -07:00
Ömer Faruk Özdemir
08692bf08c
fix broken link in getting_started (#1428) 2022-05-31 15:36:24 +03:00
Satpal Singh Rathore
3a10ed894b
Change output to chatbot (#1401) 2022-05-27 11:28:19 -07:00
Ali Abdalla
5b827f5b2c
Fixes to embedded demos in website docs (#1315)
* remove webcam from video demo

* remove blocks_gpt and blocks_neural_instrument_coding demos

* only show Try Examples if examples exist

* remove if name = main from rendereed code

* rename demos that have same name as component

* remove references to old demo names from guides

* add model3d demo
2022-05-17 14:18:51 -04:00
Abubakar Abid
fafab37087
fixed guides (#1310) 2022-05-17 10:56:43 -04:00
Abubakar Abid
52dcf3938a
updated messaging (#1309)
* updated messaging

* updates readme
2022-05-17 07:12:54 -07:00
Abubakar Abid
ecda9d1c53
Improves "Getting Started" guide (#1269)
* making quickstart better

* fixed quickstart

* quickstart

* advanced features

* advanced features

* simplified blocks demo

* added sidebars to guides

* added a little bit of padding

* shortened
2022-05-16 08:35:17 -07:00
aliabid94
569a16998d
fix slider (#1268) 2022-05-15 23:55:35 -07:00
Abubakar Abid
63d0a28c08
Website Design Changes (#1015)
* adding gallery

* added netlify files

* new navbar design

* header section new design

* used by section new design

* cards section new design

* integrates with section new design

* customer stories section new design

* footer and gradient

* demos section new design

* docs fixes

* docs reorg

* docs reorg

* upgrading to tailwind 3

* tailwind config changes

* navbar new design

* fixing body on all pages

* Updating Guides  (#1012)

* updating getting started

* updated codecov version

* tweaks to gs

* added netlify file

* added netlify file

* website prebuild script

* increased code size

* blocks

* edits

* blocks_hello

* hello world

* guide

* merge main

* added flipper demo

* guide

* guide

* add guides

* tweak to refresh website

* header section new design

* demos section new design

* cards design

* used by section

* tweets section

* footer on all pages

* mobile responsive fixes

* mobile responsive fixes

* https fonts

* completed blocks guide

* unify components

* minor tweaks

* docs headers styling and navigation pane

* parameter code blocks

* styling description and input type

* parameter tables and other styling

* only documenting interactive components when possible

* guides

* embedding not working

* demos not working

* fixing demo code

* fixing demos

* demo fix

* updated demos

* updated demos

* ui update

* updated docstrings

* updated code snippets so they run

* updating docs

* Interface docs

* updating interface

* fixing parameters in interface.py

* required and defaults for interface, and styling

* fixing up interface (#1207)

* fixing up interface

* fixed interface methods

* formatting

* updating interface docs

* updating interface docs

* formatting

* docstring to load from docstrings

* fixed colors

* finalize interface content

* interface examples

* fixed examples

* added some blocks docs

* blocks

* component fixes

* reorganized some files (#1210)

* formatting

* added info for every component

* fixes

* blocks docs

* added blocks demos

* adding combined interfaces

* added parallel, series

* Doc: layout update (#1216)

* doc layout

* home spacing

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

* adding layouts

* layouts done

* added events for components

* formatting and https

* brings back dropdown and other components

* fix header ids

* moved ids and fixed nav

* added parameters for remaining component

* docstring fixes

* landing page demos

* demo window placeholder

* demo nav

* fixed test

* formatting

* demo code

* correctly importing gradio  css/js

* remove keyvalues

* modify launch script to move gradio assetS

* components embedded test

* correct demo name

* hide try demo and embedding

* local devserver changes

* create embedding json with configs

* changes

* fixes

* comment out layout docs

* demo work

* demo fixes

* demo embedding fixes

* typo

* jinja fix

* demo nav fix

* hide demo button

* formatting

* removed whitespace

* remove newline from parameter

* reverting comments

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-13 19:48:46 -07:00
Ali Abdalla
391edc4350
ONNX guide fixes (#1131)
* contribution rendering

* fix links

* fix links
2022-04-29 05:32:13 +02:00
AK391
edb2798bb7
Guide for Gradio ONNX model zoo on Huggingface (#1073)
* Create Gradio_ONNX_on_Hugging_Face.md

* add titles and related spaces

* add clearer description

* add gradio description

* add contribution guide

* add spaces description

* add onnx models description

* first version of document related to onnx/ort/modelzoo

* rewording

Signed-off-by: jcwchen <jacky82226@gmail.com>

* for review

Signed-off-by: jcwchen <jacky82226@gmail.com>

* spaces

Signed-off-by: jcwchen <jacky82226@gmail.com>

* update Gradio desc

* update spaces description

* update onnx description

* add code example

* update title and tags

* add Spaces demo

* add efficientnet-lite4 description

* add ONNX models tag description

* updated by review; onnx.hub

Signed-off-by: jcwchen <jacky82226@gmail.com>

* download from onnx model zoo

* update title

* use ort instead of rt for onnx runtime

* fix loads

* delete extra onnxruntime import

* delete trailing space

* update height to 810

* update description

* add the

* delete duplicate sentence

* update get started description

* add the

* update sentence

* fix sentence

* fix sentence

* fix demos

* fix model to models

* remove get started

* onnx model zoo PR link

* add contribution

* fix sentence

* is to are

* no colon at end

* update contribution and link

Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
2022-04-29 04:04:31 +02:00
Nima Boscarino
20847c51d5
Adjustments to iframe heights (#1042) 2022-04-20 19:39:02 +02:00
Nima Boscarino
13a1034aa0
Gradio Guides: Creating CryptoPunks with GANs (#1000)
* Add v1 of GAN guide

* Grammar fixes

* Address some review comments

* Embed more spaces

* Add examples sample code
2022-04-19 08:55:43 +02:00
Ali Abdalla
b17afde9ff
missing quote (#996) 2022-04-14 01:04:18 +02:00
Ömer Faruk Özdemir
a58c485e50
Add huggingface_hub client library (#973)
* Add huggingface_hub client library 

Add huggingface_hub client library and model comparator space builder section

* Update guides/using_hugging_face_integrations.md

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>

* Apply suggestions from code review

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>

* tweaks

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
2022-04-12 22:13:10 +02:00
Abubakar Abid
f258c4dc8d made fixes 2022-03-29 11:12:15 -07:00
Abubakar Abid
7954a16aa3 minor styling fixes 2022-03-29 10:34:53 -07:00
Abubakar Abid
f299c0eb1e updated guides 2022-03-29 10:31:00 -07:00
Abubakar Abid
e9bfc1a9e6 asr guide 2022-03-29 10:05:03 -07:00
Abubakar Abid
758b45a922 guide update 2022-03-29 09:35:32 -07:00
Abubakar Abid
e70bbde1bd Merge branch 'main' into streaming-audio-guide 2022-03-29 09:23:25 -07:00
Abubakar Abid
d0cc26d66f updates to guide 2022-03-29 09:23:04 -07:00
Julien Chaumond
1ffce560ac
[Spaces] Cleaner hf.space URLs 2022-03-24 20:52:19 +01:00
aliabd
f8e3266dc2 updated api docs guide 2022-03-22 04:45:11 +02:00
aliabd
a1cea8eefa changes to markdown guide 2022-03-22 03:31:23 +02:00
aliabd
1a7b50eca1 add api docs guide 2022-03-15 20:04:00 +02:00
aliabd
8c7331cab5 add markdown guide 2022-03-15 19:16:31 +02:00
Ömer Faruk Özdemir
53d54e1510 Add a missing line to getting started (#816)
Former-commit-id: 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 81e271ca22 [formerly 96f203108b]]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
Former-commit-id: feba0888e3
Former-commit-id: 896b381e95
2022-03-14 12:32:36 +02:00
Julien Chaumond
9a41f1b5c1 Update getting_started.md (#808)
Former-commit-id: 79505ba76d
2022-03-11 18:28:47 +02:00
Abubakar Abid
7ee85ad2df ASR guide 2022-03-09 15:58:17 -06:00
Omar Sanseviero
59e54cb17d
Add Hub integrations Guide (#773)
* Add Hub guide

* Fix iframe size and snippet

* Fix for mobile

* Address review suggestions
2022-03-08 21:09:25 +02:00
Abubakar Abid
311eb2b222 keras fix 2022-03-01 20:33:20 -05:00
Abubakar Abid
ce7282a366 Merge branch 'master' into image-guides 2022-03-01 19:39:17 -05:00