Commit Graph

54 Commits

Author SHA1 Message Date
Freddy Boulton
8e24d5d646
Deploy All Demos to Spaces on PRs (#2012)
* Add step to deploy to spaces on release

* Import package not modules

* Lint

* Hacky solution

* Add app file

* Github actions script

* Fix bucket url

* Update versioning

* Fic typo in script

* Change path

* Fix quote

* Clean up action

* Fix keys

* Formatting + comment

* Fix all_demo creation

* lint ui

* Get latest pypi version and use only 20 demos

* Test version change works correctly

* Fix gradio version

* Fix typo

* Use github sha to rebuild on every commit

* Get sha the proper way

* Change where env is accessed

* Fix typo in cp

* Undo changes to version.txt

* Add matrix transpose
2022-08-16 12:07:20 -04:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info (#1669)
* Use requirements.txt

* Fix checksum in circleci

* Ignore egg info dir

* Install from requirements.txt

* Install gradio

* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07: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
pngwn
0c94b56b0a
Cdn assets (#1265)
* create dediacted cdn bundle with correct import behaviour

* tweak regex

* update publish script

* fix gitignore

* remove repeat incidences of version

* remove logs
2022-05-15 20:43:36 +01:00
pngwn
5ba2e06e69
Tweaks (#1230)
* tweaks

* tweaks

* tweak loader dark mode

* gallery tweaks
2022-05-12 19:24:28 +01:00
pngwn
0cecff4672
Form layout (#1054)
* implement form grouping

* demo to showcase form groups

* cleanup

* apply tw classes for custom classes

Co-authored-by: Victor Muštar <victor.mustar@gmail.com>

* fix formatting

* ignore index.html

* fix gitignore

* fix gitignore

* fix gitignore

Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-04-22 10:19:59 +01:00
Julien Chaumond
9ba043673e Fix type of server returned by Launchable (#810)
* `Launchable` returns a FastAPI now

* Update .gitignore

Former-commit-id: ab67ce3dee [formerly ab67ce3dee [formerly ab67ce3dee [formerly 94fac2e3df]]]
Former-commit-id: 8f3286222adedac2cab99e7b49375ec0e05c032b
Former-commit-id: 03286cf5231b06b024a00b03ca63d01def19df24
Former-commit-id: 29e5bfb583
2022-03-11 14:01:03 -08:00
pngwn
4f0b892d39
use relative basepath (#665)
* use relative basepath

* remove lang folder from template

* gitignore frontend folder
2022-02-18 13:50:34 +00:00
pngwn
7ac497ad34
Build tweaks (#529)
* build tweaks

* update build output location for frontend
2022-02-03 10:35:14 +00:00
aliabid94
d6b1247e21
Svelte migration (WIP) (#448)
* first migration commit

* style comment

* first mvp working with calculator

* ali components

* carousel

* more changes

* changes

* add examples

* examples support

* more changes

* interpretation

* interpretation

* submission state

* first migration commit

* style comment

* first mvp working with calculator

* ali components

* carousel

* more changes

* changes

* add examples

* examples support

* more changes

* interpretation

* interpretation

* submission state

* base image cropper

* add image editor

* css tweaks

* remove dead code

* finalise sketch tools

* add webcam snapshot source

* tweak config

* tweak config

* tweak config

* tweaks

* reset egg files

* lockfile v2

* image tweaks

* record audio from mic

* add audio input components

* audio tweaks

* editable table

* more table tweaks

* sort columns

* add row/col to table

* add output table

* fix broken paths

* fix svelte build destination

* fix svelte build destination again

* fix gitignore

* fix css

* add themes

* add all themes

* snake core classnames

* actually fix themes this time

* merge changes

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: pngwn <hello@pngwn.io>
2022-01-26 18:33:49 -08:00
Ali Abid
5020f8aa1f cache examples functionality; other fixes 2021-12-30 08:20:28 +00:00
Ali Abid
63a4540b92 updated PyPi version 2021-12-27 19:24:42 +00:00
Abubakar Abid
def76d1cbd flagging is working 2021-12-23 10:05:08 -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
Abubakar Abid
077c5e2867 added flagged to gitignore 2021-11-08 12:18:10 -06:00
Ali Abdalla
9bf16c2211
Adding API docs to all interfaces (#309)
* api view with basic html

* added base docs for raw inputs/outputs

* reading correct url from frontend

* styling

* fill in the blank request snippet

* post a request from docs

* post button and random generator

* styling

* added view the api to interface

* style changes

* corrected input output docs

* prefill with example instead of random

* added curl and javascript syntax

* removed scrollbars

* API doc fixes

* added correct docs to all pre/post processing methods

* updated to new doc style

* live demo with sample inputs

* fixing golden screenshots

* correct timeseries preprocess doc

* correct timeseries preprocess doc

* correct timeseries preprocess doc

* fixed overwrite issue

* remove static from git

* fix merge

* fix tests

* fix tests

* fix tests

Co-authored-by: Ali Abid <you@example.comgit>
2021-10-27 11:49:14 -07:00
Abubakar Abid
eb7bc8f98e added codecov 2021-10-13 23:18:33 -05:00
Abubakar Abid
c226eabe68 added coverage workflow 2021-10-13 22:42:00 -05:00
Ali Abid
bf4ae17adc restructure file upload format for file, audio, and video. Moved scipy to pydub. 2021-10-12 19:14:42 +00:00
root
5ecd27cca8 updated PyPi version 2021-08-17 20:42:07 +00:00
Ali Abid
6bcb9b4dd4 fix tests 2021-08-17 18:45:17 +00:00
Ali Abid
a78635aff3 fix tests 2021-08-17 18:42:30 +00:00
Ali Abid
d0edd2e7f0 make gitignore changes and test fix 2021-08-11 18:39:32 +00:00
Abubakar Abid
7cfa536a98 git changes 2021-08-09 10:48:23 -07:00
Abubakar Abid
fc33e842d2 changed readme to 72 hours 2021-07-21 15:46:15 -05:00
Ali Abid
f6522a9943 upload to s3 bucket for cdn 2021-05-29 17:09:01 -07:00
Ali Abid
646b262290 gradio 2.0 2021-05-24 13:25:12 -07:00
Ali Abid
2915977a8a end to end react to flask 2021-05-24 10:23:08 -07:00
aliabd
671263c476 added launch counter 2020-12-05 01:02:07 +04:00
Ali Abid
b49670cb13 remove build 2020-12-01 11:49:44 -08:00
Ali Abid
14ba503b77 add testing and flask changes 2020-09-21 11:51:39 -07:00
Ali Abid
10c8cf60bf in progress 2020-09-15 05:16:14 -07:00
Ali Abid
c5edfc295e demo updates 2020-08-21 16:17:11 -07:00
Ali Abid
55933718ce examples load fix 2020-07-21 07:24:38 -07:00
Ali Abid
a401927af6 docs and new UI 2020-07-16 12:56:36 -07:00
aliabd
aca36acd47 merge 2020-07-08 16:52:17 -07:00
aliabd
158f428019 added dist/* to gitignore 2020-07-08 16:51:45 -07:00
Abubakar Abid
6a917ea0ad fixed everything in demos folder 2020-07-08 17:09:52 -05:00
Ali Abid
32046e4eab live demo updates 2020-06-10 11:34:53 -07:00
Abubakar Abid
e21c0f2cf2 just removed notebooks 2019-04-28 23:41:31 -07:00
Abdul Alfozan
ef404beac0 Native reverse forward tunneling + Gradio server API integration 2019-04-18 20:17:16 -07:00
Ali Abdalla
193e53ce54 flag now outputs rebuilt file in source folder 2019-04-16 18:31:09 -07:00
Abubakar Abid
29fce26754 removed ngrok.exe from git tracking 2019-03-10 17:28:42 -07:00
Abubakar Abid
5859daee09 removed ngrok 2019-02-24 22:45:18 -08:00
Abubakar Abid
5e44baa138 now scripts are generated in temp folder 2019-02-19 20:03:52 -08:00
Abubakar Abid
e196c80a29 merged 2019-02-18 22:04:08 -08:00
Ali Abdalla
3a2eba1f18 added outputs and inputs 2019-02-18 21:57:24 -08:00
Abubakar Abid
f8f31fb5d4 merged 2019-02-17 18:42:09 -08:00
Ali Abdalla
7dbf74670c merge conflict 2019-02-17 18:25:23 -08:00
Ali Abdalla
62f5b5ef67 added pre and postprocessing 2019-02-17 18:22:17 -08:00