Commit Graph

371 Commits

Author SHA1 Message Date
Ömer Faruk Özdemir
04a0764394
Handle async funcs within sync scopes (#1547)
* handle_async_funcs

- save temporary work

* handle_async_funcs

- handle async functions in sync domain both in background or sync

* handle_async_funcs

- tweaks

* handle_async_funcs

- format

* handle_async_funcs

- tweaks

* handle_async_funcs

- fixes

* revert gradio.egg files

* added to requires

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-14 22:18:59 +03:00
Abubakar Abid
c7c93f54a3
updated PyPi version to 3.0.13 (#1483) 2022-06-07 15:54:14 -07:00
Chih-Yu Yeh
f6414d3c33
fix issue#1353 (#1457)
* fix issue#1353

* change logic

* changes

Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 07:58:19 -07:00
Abubakar Abid
282748b4af
updated PyPi version to 3.0.11 (#1458) 2022-06-03 00:13:16 -07:00
aliabid94
188d8bc65d
Allow async js fn (#1439)
* updated PyPi version to 3.0.10

* updated PyPi version to 3.0.9b10

* fixes

* updated PyPi version to 3.0.9b11

* fix update sript

* changes
2022-06-01 11:34:07 -07:00
Abubakar Abid
576bd227fc
Fixes gr.Interface.load() (#1436)
* format backend

* changes

Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-01 08:35:33 +03:00
aliabid94
988f42c4b2
Broken examples hotfix (#1412)
* fix

* changes

* changes

* changes

* changes
2022-05-28 22:01:13 -07:00
aliabid94
40ed4df9ad
fix examples [hotfix] (#1411)
* fix

* changes

* changes
2022-05-28 21:56:05 -07:00
Abubakar Abid
22e551392f
Reload fix (#1392)
* updated PyPi version to 3.0.6

* updated PyPi version to 3.0.6b1

* updated reload.py

* updated PyPi version to 3.0.6b2

* fixed abs path issue

* updated PyPi version to 3.0.6b3

* formatting

* testing

* testing

* reload-fix

- tweaks

* reload-fix

- refornat

* reload-fix
- tweaks on comments

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-05-28 21:18:23 -07:00
Abubakar Abid
d4a8077341
updated PyPi version to 3.0.6 (#1391) 2022-05-26 15:03:33 -07:00
aliabid94
0a8222719e
fix default variable value (#1381)
* fix default variable value

* format
2022-05-26 14:22:05 -07:00
Abubakar Abid
7248f1359b
Hotfixes for plot (#1355)
* fixed plot and added tests

* 3.0.4

* formatting

* fixed tests
2022-05-22 13:54:04 -07:00
Abubakar Abid
d34d3181b4
updated PyPi version to 3.0.3 (#1351) 2022-05-20 18:06:52 -07:00
Abubakar Abid
189ec173b6
updated PyPi version to 3.0.2 (#1311) 2022-05-17 07:40:19 -07:00
aliabid94
13afd4c967
Fix default cleared value (#1300)
* changes

* changes

* chagnes

* fixed test

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-16 14:43:37 -07:00
Abubakar Abid
2b39288e9e
updated PyPi version to 3.0 (#1290) 2022-05-16 13:08:42 -07:00
Abubakar Abid
7043820b77
release 3.0b9 (#1283)
* release

* updated PyPi version to 3.0b9
2022-05-16 11:25:35 -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
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
897d396a00
Hotfixes for course demos (#1222)
* images have change() events

* fixed update issue

* updated version to 2.9b50
2022-05-11 19:30:28 -07:00
aliabid94
c50a2b021a
Sharing fix for assets (#1208)
* changes

* format

* typo

* updated PyPi version to 2.9b33

* Update PKG-INFO

* removed

* formatting

* fixes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-11 16:27:58 -07:00
aliabid94
5fc00b4567
Automatic word-break in highlighted text, combine_adjacent support (#1209)
* changes

* changes

* updated PyPi version to 2.9b26

* changes

* css tweaks (#1213)

* css tweaks

* more tweaks

* fix lint error

Co-authored-by: pngwn <hello@pngwn.io>
2022-05-11 20:09:25 +01:00
Abubakar Abid
871c9713b4
Restored /api/predict/ endpoint for Interfaces (#1199)
* updated PyPi version to 2.9b25

* added /api/predict reverse compatibility

* fixed flagging

* formatting

* fixed networking tests

* added queue false
2022-05-09 18:05:30 -07:00
Abubakar Abid
6a34a67b0a
config hotfix and v. 2.9b23 (#1158)
* config fix

* updated PyPi version to 2.9b23
2022-05-04 02:13:43 -07:00
Abubakar Abid
12f2374a2b
networking tweak (#1143)
* networking tweak

* updated PyPi version to 2.9b20

* tweaks

* updated PyPi version to 2.9b21

Co-authored-by: pngwn <hello@pngwn.io>
2022-05-03 15:56:53 -07:00
Abubakar Abid
122b988f45
made default value in textbox empty string (#1135)
* made defaultvalue in textbox empty string

* updated PyPi version to 2.9b12
2022-04-29 18:32:13 +01:00
Abubakar Abid
6d0a6ccb83
Hotfix + New pypi release 2.9b11 (#1118)
* updated PyPi version to 2.9.0b10

* hotfix

* updated PyPi version to 2.9b11
2022-04-28 03:28:47 -07:00
Abubakar Abid
90aff5482a
Release 2.9b9 (#1098)
* encrypt issue

* formatting

* added pypi friendly description

* updated pypi version
2022-04-26 14:26:54 -07:00
Abubakar Abid
1dacb6758a
updated PyPi version to 2.9.0b8 (#1059) 2022-04-21 08:14:23 -07:00
Dawood Khan
c480fb0e0c
Model3D Examples fixes (#1035)
* fix examples

* fixes

* fix moddl3d examples

* format fixes

* fixed tests

* fix tests

* fix clearColor null

Co-authored-by: Dawood Khan <dawoodkhan@DawoodsWorkMBP.localdomain>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-20 11:43:21 -04:00
Abubakar Abid
ef8b97223d
Fixing import issues so that the package successfully installs on colab notebooks (#1027)
* updated PyPi version to 2.9.0b

* added to init

* moved media_data

* formatting

* updated PyPi version to 2.9.0b2
2022-04-19 11:27:32 -07:00
Abubakar Abid
6a432c997f
updated PyPi version to 2.9.0b (#1026) 2022-04-19 09:41:20 -07:00
Ali Abid
c15885f0cc merge master 2022-04-19 00:22:43 -07:00
Ali Abid
4f1947d8c7 merge in master 2022-04-18 18:36:43 -07:00
Dawood Khan
499f106c9e
Model3D + Plot Components (#1010)
* add model3D

* model3d component

* add plot component

* format

* ingnore plot.svelte from prettier

* update build script

* update circleci config

* remove circleci config change

* change build script

* remove change to build script

* remove plot.svelte

* remove duplicate save_flagged func

* fix node space issue + format issues

* Update ui.yml

* Update ui.yml

* Update ui.yml

* remove changes to config files

* updated codecov version

* Update ui.yml

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04:00
aliabid94
1c2f430a7e
Progress indicator bar (#997)
Create Status Tracker component to report progress on function calls

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-15 02:20:19 -07:00
Abubakar Abid
10f938af9f
release 2.9.4 (#1006) 2022-04-14 23:38:12 -07:00
Abubakar Abid
e94e3f02a6
Release 2.9.3 (#1003)
* updated PyPi version to 2.9.2

* removed black typo

* fixed black typo
2022-04-14 15:07:27 -07:00
Abubakar Abid
2616afd309
updated PyPi version to 2.9.2 (#1002) 2022-04-14 15:00:14 -07:00
aliabid94
1d3cb510bb
State and variables (#977)
Restore state and add variables component

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-12 18:41:13 -07:00
Ömer Faruk Özdemir
a1509850dc
Merge in Examples and cache_examples fixes
* soft reset and remove a commit,
then commit the further commits  again

* fix flagging for tests

* format fix

* fixes

Co-authored-by: Ali <aliabid94@gmail.com>
2022-04-11 13:18:42 -07:00
Ömer Faruk Özdemir
5637cf9736
add jinja2 to reqs (#969) 2022-04-09 10:30:19 +03:00
Abubakar Abid
14137eac7e update pypi to 2.9.1 2022-03-31 17:25:48 -07:00
Abubakar Abid
8715ef6e00 updated PyPi version to 2.9.0 2022-03-29 10:13:00 -07:00
Abubakar Abid
1a500bff43 pushed beta version to pypi 2022-03-28 07:42:00 -07:00
Abubakar Abid
31f9bc112d updated PyPi version to 2.8.14 2022-03-25 08:45:34 -07:00
Abubakar Abid
d1874929eb 2.8.13 release 2022-03-21 11:15:31 -07:00
aliabid94
1a4302ce88
description width fix (#836)
* fix

* upgrade

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-18 09:14:07 -05:00
aliabid94
fcacdd1b34
version upgrade (#833)
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-17 14:19:15 -05:00
pngwn
a81bc41565 fix broken thing 2022-03-11 16:09:32 +00:00