Commit Graph

259 Commits

Author SHA1 Message Date
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
Abubakar Abid
5ec886710e fixed comments; added launch website script 2022-03-01 15:40:17 -05:00
Abubakar Abid
6bf776c52c vision transformers 2022-02-28 15:18:24 -05:00
Abubakar Abid
c71192db14 tensorflow guide 2022-02-28 14:55:51 -05:00
Abubakar Abid
10d1e3710f tensorflow guide 2022-02-28 14:43:51 -05:00
Ömer Faruk Özdemir
598066941d revert the formatting on getting_started.md 2022-02-28 20:06:46 +03:00
Ömer Faruk Özdemir
f22ce53f7f tweaks on the naming and description 2022-02-28 20:04:09 +03:00
Ömer Faruk Özdemir
4c6615a3ab provide info about launch() return parameters 2022-02-28 19:15:45 +03:00
Abubakar Abid
a70fe9aeff completed pytorch image classification guide 2022-02-28 09:12:00 -05:00
Abubakar Abid
08ea95479a started working on image classification pytorch guide 2022-02-28 08:31:15 -05:00
Abubakar Abid
d647af8fc6 updated chatbot guide 2022-02-18 18:54:18 -05:00
Abubakar Abid
90c28eae46
Guides fixes (#565)
* fixed guides; added contributing guidelines

* updated guide contributing

* fixed flagging guide

* updated organization of readme files

* fixed and brought back readme_template

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-02-09 20:33:16 +04:00
Ali Abdalla
64dfcbd390
typo (#556) 2022-02-08 01:57:45 +04:00
Abubakar Abid
4bee781da4
Guides Section and Redesign Parts of the Website (#490)
* added emojis to navbar; added guides main page

* Added guides list

* chatbot tutorial

* chatbot tutorial almost complete

* embedding chatbot

* fixed html rendering inside pre tags issue

* finished guide

* basic search

* search guides content

* design changes

* reading author and date

* sketchpad tutorial

* font change

* added version badge and spaces links

* sketch app

* auto meta images, removed date and author

* removed empty guides

* navbar separate; updated readme

* added navbar; fixed guide

* added flagging guide

* added related spaces to flagging guide

* added tags, small fixes

* footer design

Co-authored-by: Abubakar Abid <aaabid93@gmail.com>
Co-authored-by: Abubakar Abid <a12d@stanford.edu>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-02-05 01:42:49 +04:00
Abubakar Abid
6fc97f5e3e added system requirements to README 2022-01-28 23:03:12 -08:00
Abubakar Abid
a39390eb24 modifying navbar 2022-01-18 15:39:55 -06:00
Abubakar Abid
5c1ee52d60
Update getting_started.md 2021-12-21 11:41:07 -06:00
Abubakar Abid
031be6cca7
Update getting_started.md 2021-12-16 11:09:50 -06:00
Abubakar Abid
ff0a0d0273 added readme badges 2021-12-14 20:53:02 -06:00
aliabid94
b4d9825409
Website: WIP (#328)
Ported gradio website into gradio repository, now launched as a docker service from gradio/website
2021-12-13 22:02:19 -08:00