Commit Graph

96 Commits

Author SHA1 Message Date
Ali Abdalla
be1ea8b9e0
Website fixes (#1286)
* add meta images

* spacing on guides

* code width

* width on docs

* add config for model3d and plot
2022-05-16 14:50:52 -04:00
aliabid94
a4aa6a2cb9
Add embedded demos to website (#1270)
* 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

* styling demo window

* copy work

* hide demo buttons

* remove index

* remove layouts from docs

* remove merge artifact

* merge dockerfile

* chagnes

* changes

* changes

* changes

* styling demo window

* revert most things

* whoops

* chagnes

* changes

* changes

* changes

* changes

* changes

* changes

* format

* changes

* fixed Dataset docstring

* fix component signature and add required

* adding string shortcuts

* fix small issues parameter docstringss

* string shortcuts

* fixed gallery and label values

* added for remaining parameters

* formatting

* extended embedded components

* typo

* remove capitalization from embeddings

* try examples button

* added demos for blocks and combining interfaces

* demos styling

* homepage update (#1275)

* spacing

* remove console.log

* demo window fixes

* new spaces

* shorten codeblock width

* fix plot

* better string shortcuts

* add embedding config for json

* remove console log

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-16 11:45:38 -04: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
Victor Muštar
40712a2686
update logo (#1266)
* 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

* styling demo window

* copy work

* hide demo buttons

* remove index

* remove layouts from docs

* remove merge artifact

* update logo

* merge

* reverted py changes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-15 20:05:10 -07:00
Abubakar Abid
4b6050ad40
layout docs (#1263)
* layout docs

* formatting
2022-05-15 09:52:18 -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
pngwn
87dcdd7134
pin to pnpm 6 for now (#1147) 2022-05-02 12:27:26 +01:00
Ali Abdalla
391edc4350
ONNX guide fixes (#1131)
* contribution rendering

* fix links

* fix links
2022-04-29 05:32:13 +02:00
Ali Abdalla
babf914107
Fix demos in website (#1130)
* iframing spaces demos

* fix demos in getting started
2022-04-29 03:53:25 +02:00
Ali Abdalla
cee698bd43
Website Reload: README in demos docker (#1100)
* copy README to docker

* remove print statement

* copy README to demos docker
2022-04-27 06:35:49 +02:00
Ali Abdalla
f088679e2a
Website Reload Error (#1099)
* copy README to docker

* remove print statement
2022-04-27 06:02:11 +02:00
Ali Abdalla
e77a6a71db
converting to static docs (#1079) 2022-04-25 21:19:24 +02:00
Ali Abdalla
e86739bd50
upgrading node memory to 4gb (#1069) 2022-04-22 17:40:59 +02:00
Ali Abdalla
84cdcf3647
fixing demo issue with website (#1047) 2022-04-21 02:06:51 +02:00
Ali Abdalla
d7b8b03267
fixing env var (#1043) 2022-04-20 20:04:30 +02:00
Ali Abdalla
db481311a6
errors in a thread, new chatmessage api (#1037) 2022-04-20 10:14:48 +02:00
aliabd
d443194335 table styling 2022-03-22 03:32:25 +02:00
aliabd
c401c72720 adding tables to markdown2 html rendering 2022-03-22 03:31:45 +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
Ali Abdalla
5a1e20a657 fix search bug in guides (#809)
Former-commit-id: c95ca81cb7
2022-03-11 18:24:35 +02:00
Ali Abdalla
c484847adf 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

Former-commit-id: c95f88075b
2022-03-11 15:15:24 +02:00
aliabid94
0695561925 fix audio output cache (#804)
* fix audio output cache

* changes

* version update

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Former-commit-id: fab4a311b0
2022-03-10 10:28:02 -08:00
Ali Abdalla
ccaf5e1f04
add getting started to guides_main (#794) 2022-03-09 03:48:35 +02:00
Ali Abdalla
8179770210
removed duplicate list marker (#793) 2022-03-09 00:39:57 +02:00
Ali Abdalla
972080a681
Guides stylistic changes (#792)
* moved related_spaces positioning

* ordered lists styling
2022-03-09 00:05:29 +02:00
Ali Abdalla
8e635c082a
fixed twitter image tag (#763) 2022-03-02 17:19:12 +04:00
Ali Abdalla
cc42af8264
removed duplicate related_spaces and tags (#649) 2022-02-17 16:10:51 +04:00
aliabid94
2734bd782e
python format fix [hotfix] (#615)
* format fix

* fix image tests

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-14 21:03:51 -08:00
aliabid94
df325d6a37
fix assets link on gradio homepage (#614)
Co-authored-by: Ali <ali.abid@huggingface.co>
2022-02-14 20:25:30 -08:00
Abubakar Abid
0c3e2b7782 Merge branch 'master' into dawood/i18n 2022-02-14 21:58:29 -05:00
Ali Abdalla
ba8ec489e9
fixed mkdir in dockerfile (#612) 2022-02-15 06:27:30 +04:00
Ali Abdalla
957f3983b4
Small fixes (#611)
* correct discord link

* navbar link to /guides
2022-02-15 05:48:15 +04:00
Ali Abdalla
8733660adf
Fixing Website Reload (#610)
* fixed build issues, docker ignore issues

* exec command

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-15 05:35:08 +04:00
Ali Abdalla
60a5d85325
Anchor tags on all headers (#601)
* auto id for every header

* added anchor tag

* removing regex for ids

* switched to tailwind

* fixing bad merge
2022-02-15 04:57:42 +04:00
Ali Abdalla
01f52bbd38
Copy button on code blocks (#597)
* adding copy button

* fixed getting started; modified copy button code

* color change and click feedback

* overflow, overlay issue, click feedback

* changed flashing color to darker orange

* copy button only visible on hover

* switched to tailwind
2022-02-15 04:38:11 +04:00
dawoodkhan82
ba0c996a2f undo pretty format of website 2022-02-14 16:50:15 -05:00
dawoodkhan82
670da0f27e merge master 2022-02-14 16:20:56 -05:00
Ali Abdalla
e68c3188a1
Restoring Style on Guides (#595)
* restoring related spaces styling

* increased img width

* switched to tailwind
2022-02-12 03:56:44 +04:00
dawoodkhan82
2438b0bb90 more pretty formatting 2022-02-11 11:34:49 -05:00
Ömer Faruk Özdemir
c9298b3802
Merge pull request #574 from gradio-app/Format-The-Codebase
Format-The-Codebase
2022-02-10 11:18:52 +03: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
Ömer Faruk Özdemir
87d7fbee61 Format-The-Codebase
- format the codebase
- add format checkers to circleci
2022-02-09 10:40:05 +03:00
Abubakar Abid
67d8328fd4
Merge branch 'master' into upgrade-black 2022-02-08 17:37:16 -05:00
aliabid94
2ad48751d7
website fixes (#561)
Co-authored-by: Ali <ali.abid@huggingface.co>
2022-02-08 11:58:41 -08:00
aliabid94
85dae55d2f
Fix website (#558)
* website_fixes

* fix iframe comment issue

Co-authored-by: Ali <ali.abid@huggingface.co>
2022-02-08 11:32:52 -08:00
Lysandre
5522fa4d6a Upgrade black to version ~=22.0 2022-02-08 13:56:13 -05:00
aliabd
e0795cf0a7 creting guides dir and correcting html 2022-02-08 01:37:48 +04:00
aliabd
9f1f8503b4 changing href in navbar 2022-02-08 01:28:58 +04:00