Commit Graph

4108 Commits

Author SHA1 Message Date
pngwn
068132836c
Style updates (#1350)
* clean up python style api

* allow Box to be styled

* changes

* update style args and add md doc detailing

* cleanup

* add deprecation warnings

* fix

* formatting
2022-06-01 18:02:18 +01:00
Dawood Khan
7b9cba0e9e
File Cached Examples Fix (#1334)
* fix file cache examples issue

* format

* fix for tests

* format fix

* fix multiple files input

* format

* format

* fix preprocess example

* fix multiple file output

* remove single_file const

* fix tests + format

* renamed demo

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-01 12:23:12 -04: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
Radamés Ajna
7e796a3e17
set iframe policy to enable camera and audio (#1433) 2022-05-31 14:53:28 -07:00
Evelyn Coronel
4a944e6f9f
#1398 PR fix (#1407) 2022-05-31 14:24:14 -07:00
Radamés Ajna
6a6cea795f
set camera icon always stroke white (#1434) 2022-05-31 14:10:07 -07:00
aliabid94
c96075a7b7
Broken examples hotfix (#1414)
* fix

* changes

* changes

* changes

* changes

* changes
2022-05-31 11:26:54 -07:00
Ömer Faruk Özdemir
08692bf08c
fix broken link in getting_started (#1428) 2022-05-31 15:36:24 +03:00
Ömer Faruk Özdemir
8d10c5ab45
Update bug_report_template.yml (#1425) 2022-05-31 11:25:53 +03:00
Ömer Faruk Özdemir
55ddc3c3aa
Update bug_report_template.yml (#1424) 2022-05-31 11:23:13 +03:00
Ömer Faruk Özdemir
5eebaad334
Update bug_report_template.yml (#1423) 2022-05-31 11:16:46 +03:00
pngwn
7b4ad81d59
update plot ui (#1405) 2022-05-30 15:21:36 +01:00
aliabid94
acb3024c3e
fix (#1415) 2022-05-28 22:03:43 -07:00
aliabid94
a8515c533f
Broken examples hotfix (#1413)
* fix

* changes

* changes

* changes

* changes

* changes
2022-05-28 22:02:05 -07: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
Satpal Singh Rathore
3a10ed894b
Change output to chatbot (#1401) 2022-05-27 11:28:19 -07:00
Dawood Khan
2eaf61cf76
Integration tests (#1182)
* some integration tests

* more integration tests

* more tests

* update integration tests

* format
2022-05-27 04:53:50 -04:00
Ömer Faruk Özdemir
d117ad0049
remove-sizewatcher (#1400) 2022-05-27 11:06:23 +03:00
pngwn
55db5c187a
add cdn entrypoint (#1387)
* add cdn entrypoint

* cleanup
2022-05-27 02:17:13 +01:00
Abubakar Abid
d4a8077341
updated PyPi version to 3.0.6 (#1391) 2022-05-26 15:03:33 -07:00
aliabid94
d35e06abe7
Minor cosmetic changes (#1383)
* changes

* pass tests

* change to source sans

* formatting

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-26 14:33:28 -07:00
aliabid94
0a8222719e
fix default variable value (#1381)
* fix default variable value

* format
2022-05-26 14:22:05 -07:00
Abubakar Abid
cb2713e705
Getting Interface.load() working for 2.x and 3.x models and Spaces (#1361)
* version

* refactor for model and 2.x spaces

* fixing tests

* fixed tests

* getting there...

* formatting

* formatting

* fixes

* formatting

* external dependencies working

* formatting

* loading from 3.x

* changes

* wow finally it's working

* fixed formatting

* better error for spaces

* better error for spaces

* fixed 3.x bug

* formatting
2022-05-26 14:21:51 -07:00
Ömer Faruk Özdemir
97c85026e4
fix-sizewatcher (#1385) 2022-05-26 08:54:43 +03:00
Ömer Faruk Özdemir
f3f6171392
Update CONTRIBUTING.md (#1378) 2022-05-25 20:46:28 +03:00
Ömer Faruk Özdemir
c03241591e
update-sizewatcher (#1377) 2022-05-25 11:54:51 +03:00
Ömer Faruk Özdemir
499f6013ad
check-for-big-diff (#1375) 2022-05-25 10:28:27 +03:00
Ömer Faruk Özdemir
fc054a16ab
reload-dev-mode (#1370)
* reload-dev-mode

- add dev reload mode

* reload-dev-mode

- support reload mode from different directories as well

* reload-dev-mode

- add file reload to the dev-reload-mode

* Update contributing

* Update CONTRIBUTING.md

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

* reload-dev-mode

- fetch gradio_folder with inspect, allowing running in reload dev mode from any directory
- unite user and dev reload mode

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-25 10:12:24 +03:00
aliabid94
3a7f9a3b1a
Allow users to return dicts for values (#1373)
* changes

* changes

* add visible flag
2022-05-24 23:30:24 -07:00
Victor Muštar
0ab254b82f
Mute examples videos (#1363)
* mute examples videos

* set attrs onmount for safari

Co-authored-by: Radames Ajna <radamajna@gmail.com>
2022-05-24 13:08:08 -07:00
Ömer Faruk Özdemir
e4b5d4c1b7
Reload mode on (#1278)
* reload-mode

-trys save

* reload-mode

- create minimal reloading example

* reload-mode

- create minimal reloading examples

* reload-mode

- amend

* reload-mode

- add user_mode

* reload-mode

- tweaks

* updated PyPi version to 3.0.3

* reloading

* reload

* formatting

* flexibility in naming

* added dev_mode flag to config

* added app id

* frontend changes

* changed debug level to warning to make less verbose

* Update ui/packages/app/src/main.ts

* fixed tests

* formatting

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-23 14:38:53 -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
74703898c6
Model3d fix (#1342)
* fixing postprocessing

* fixed value

* formatting

* fixes

* model3d

* typing

* formatting

* formatting

* components

* fixed defaults

* fixed tests

* formatting

* removed unused import typing error

* fixed up model3d tests

* model3d

* formatting

* fix default value interactive bug

Co-authored-by: Dawood <dawoodkhan82@gmail.com>
2022-05-20 17:53:27 -07:00
Victor Muštar
39b3299212
Homepage: header image size (#1347)
* image size

* image in local assets
2022-05-20 14:51:08 +02:00
Abubakar Abid
a4f262fd6e
Update issue templates (#1345)
* Update bug_report_template.yml

* Update feature_request.md
2022-05-19 18:30:57 -07:00
Abubakar Abid
08bcb9e0e2
Update bug_report_template.yml (#1344) 2022-05-19 18:28:19 -07:00
Ali Abdalla
8e8839a3d0
Better embedded chatbot content (#1343)
* add processing diagram

* modify embedded chat content

* fix height/width in processing diagram
2022-05-19 19:10:48 -04:00
Ali Abdalla
43e974133d
add processing diagram (#1341) 2022-05-19 18:43:09 -04:00
Dawood Khan
a487ec2d3e
fix blocks-kinematics demo (#1340) 2022-05-19 16:52:04 -04:00
pngwn
494c09a7be
Small bugs (#1324)
* initialise gallery images to None, fix icon

* dispatch submit event when pressing return on 1 line textbox

* Update ui/packages/app/src/components/Gallery/Gallery.svelte

* Update ui/packages/app/src/components/Gallery/Gallery.svelte

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-18 15:21:17 -07:00
pngwn
83a1bfd15a
fix tab error (#1329) 2022-05-18 15:20:41 -07:00
Abubakar Abid
2adb841316
Jupyter extension for easier development with Blocks (#1321)
* jupyter magic

* formatting

* test fix

* formatting

* simplifications

* formatting
2022-05-18 15:14:53 -07:00
pngwn
096f4b5b56
add label to data frame (#1328) 2022-05-18 15:14:12 -07:00
Abubakar Abid
d1468b560e
fixes to component docs (#1319)
* fixes to component docs

* remove extra comma

* docstrings'

* update to 7k

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-05-18 15:08:57 -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
Ali Abdalla
1b0c16a2c9
removed webcam demo (#1312) 2022-05-17 11:02:14 -04:00
Abubakar Abid
fafab37087
fixed guides (#1310) 2022-05-17 10:56:43 -04:00