Commit Graph

13 Commits

Author SHA1 Message Date
Ali Abdalla
67275ec1d6
Add open in colab buttons to demos in docs and /demos (#2608)
* add generate_notebooks and run it

* add buttons to demos tab

* add buttons to docs

* add github check

* fix erros

* Update run.py

* Update run.py

* fix github action

* add nbformat

* wget files from demo directory

* testing with regex

* typo in github action

* cd first

* correct notebooks

* remove prit

* testing

* regenerate ids in notebooks

* testing action

* testing action

* testing action

* sort files before wget so no git diff

* skip DS store and others as sub files

* example demo change without notebook change

* fixes

* example demo change without notebook change

* example regenerated notebooks

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update .github/workflows/check-demo-notebooks.yml

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

* gh action comments

* gh action syntax

* gh action syntax fixes

* test demo change without generating notebooks

* ran the suggested command

* remove unnecessary script

* add notebook for upload button demo

* switch to pull_request_target

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 16:56:46 -08:00
Ali Abid
3a93202fd6 changes 2022-07-25 02:18:42 +01:00
AK391
df4d9f472f
New big gifs (#1305)
* hello world gif update

* cropped hello world gif

* hello world 2 new gif

* update hello world 3 new gif

* fix hello world 2 gif

* update sephia filter gif

* update sales projection gif

* update calculator new gif

* update live calculator gif

* fix hello world gif

* update hello world 2 gif

* update gif for blocks_flipper
2022-05-17 00:33:55 -07:00
Abubakar Abid
ed8301d658
gifs in readme (#1298)
* hello world

* gif

* sepia

* replace calc gifs

* crop calculator gif

* final gifs

Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: AK391 <81195143+AK391@users.noreply.github.com>
2022-05-16 14:33:14 -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
Abubakar Abid
3010d55132 updated demos 2022-03-28 14:22:49 -07:00
aliabid94
11dda55352
Gradio Blocks (#590)
Integrate initial work on Gradio Blocks by creating Blocks class and frontend Block code.
2022-02-28 22:35:21 -06:00
Ömer Faruk Özdemir
f22ce53f7f tweaks on the naming and description 2022-02-28 20:04:09 +03:00
Ömer Faruk Özdemir
054a5850e3 Update first launch commands to deliver the usage of ";" and app, path_to_local_server, share_url = iface.launch() 2022-02-28 17:48:47 +03:00
Lysandre
5522fa4d6a Upgrade black to version ~=22.0 2022-02-08 13:56:13 -05:00
aliabid94
381bd56ff6
Login frontend (#499) 2022-02-01 08:40:10 +00:00
Ömer Faruk Özdemir
cc0cff893f Format The Codebase
- black formatting
- isort formatting
2022-01-21 16:44:12 +03: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