Commit Graph

3918 Commits

Author SHA1 Message Date
Nima Boscarino
20847c51d5
Adjustments to iframe heights (#1042) 2022-04-20 19:39:02 +02: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
Ömer Faruk Özdemir
9cd4c3121f
textbox-autoheight (#1009)
* textbox-autoheight
- add max-lines to textbox

* textbox-autoheight
- reformat

* textbox-autoheight
- add demo

* textbox-autoheight
- tweaks on scripts

* textbox-autoheight
- fix tests

* textbox-autoheight
- fix tests

* textbox-autoheight
- fix tests

* textbox-autoheight
- convert default max_height from 100 to 20

* textbox-autoheight
- convert default max_height from 100 to 20
2022-04-20 14:25:47 +03:00
Ali Abdalla
db481311a6
errors in a thread, new chatmessage api (#1037) 2022-04-20 10:14:48 +02: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
Abubakar Abid
671147c808
Update test_external.py (#1024) 2022-04-19 08:20:09 -07:00
Abubakar Abid
5eb8763bd5
fixed failing test on main (#1023) 2022-04-19 07:32:40 -07:00
Ali Abid
9492d5a631 Merge branch 'blocks-dev' 2022-04-19 02:24:25 -07:00
Ali Abid
3dfc7262bc fixes 2022-04-19 02:15:53 -07:00
Ali Abid
7a1618accf fixes 2022-04-19 02:06:38 -07:00
Ali Abid
ba9eebf934 changes 2022-04-19 01:48:33 -07:00
Ali Abid
3a0d78f240 format 2022-04-19 01:37:14 -07:00
Ali Abid
1089bc67ef test fixes 2022-04-19 01:35:17 -07:00
Ali Abid
3ce6e63666 fix css 2022-04-19 01:06:08 -07:00
Ali Abid
7bf3283954 fix css 2022-04-19 01:05:47 -07:00
Ali Abid
0312c4043c format 2022-04-19 00:25:17 -07:00
Ali Abid
c15885f0cc merge master 2022-04-19 00:22:43 -07:00
Nima Boscarino
13a1034aa0
Gradio Guides: Creating CryptoPunks with GANs (#1000)
* Add v1 of GAN guide

* Grammar fixes

* Address some review comments

* Embed more spaces

* Add examples sample code
2022-04-19 08:55:43 +02: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
Abubakar Abid
2f771e201a update codecov version 2022-04-18 11:22:45 -07:00
JefferyChiang
be291bf895
Fixed image input for absolute path (#1004)
* modify file function for both absolute and relative path input

* apply Path to keep app.cwd

* formatting and path check fixes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-15 10:29:21 -07: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
Ömer Faruk Özdemir
f51117487f
import hotfix (#1008) 2022-04-15 11:18:56 +03:00
Abubakar Abid
10f938af9f
release 2.9.4 (#1006) 2022-04-14 23:38:12 -07:00
Dawood Khan
873060a354
Image3D Examples Fix (#1001)
* fix 3d model examples

* format fix

* cache_examples in image demo

* fix cached examples

* fixed cached example bug

* fixed formatting

* fixed tests

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 23:23:02 -07:00
Ömer Faruk Özdemir
0e1dce6482 - typo 2022-04-15 01:11:09 +03: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
Dawood Khan
7552e1ef6c
Plot Component (#805)
* plotly + matplotlib component

* update plot demos and plotly component

* fix gray bg

* format

* pnpm lock file

* add bokeh

* update plot demo

* add bokeh support

* ignore plot file

* fixed demo

* fixed sorting

* update image-plot deprecation warning

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 14:45:31 -07:00
Ömer Faruk Özdemir
8464aa7258
Refactor component shortcuts (#995)
* custom-components
- create template components
- changes in PKG and requires comes from scripts/install_gradio.sh

* custom-components
- tweaks

* update-components
- tweaks

* update-components
- fix get_block_name

* update-components
- add webcam demo

* custom-components
- make use of get_block_name function whenever possible

* custom-components
- tweaks

* refactor-component-shortcuts
- no description whatsoever :D

* refactor-component-shortcuts
- tweaks

* refactor-component-shortcuts
- create shortcut function "component"

* refactor-component-shortcuts
- reformat

* refactor-component-shortcuts
- tweaks

* refactor-component-shortcuts
- tweaks
2022-04-15 00:24:14 +03:00
Ömer Faruk Özdemir
ad75b06f9a
custom-components (#985)
* custom-components
- create template components
- changes in PKG and requires comes from scripts/install_gradio.sh

* custom-components
- tweaks

* update-components
- tweaks

* update-components
- fix get_block_name

* update-components
- add webcam demo

* custom-components
- make use of get_block_name function whenever possible

* custom-components
- tweaks
2022-04-14 17:52:42 +03:00
Abubakar Abid
e0a64e5b55
added interactive parameter to components (#992)
* added interactive parameter to components

* respect interactive prop

* fixed input tests

* fixed output tests

* fixed test_components.py

* fixed test blocks

* fixed test utils

* fixed formatting

* update test configs

* fix textbox static output

* static audio output

* static video output

* cleanup

* static inmage output

* Static Timeseries

* cleanup outptus fopr markdown _ html

* ensure dataframe can load in static mode

* tweaks

Co-authored-by: pngwn <hello@pngwn.io>
2022-04-14 15:12:30 +01:00
Ali Abdalla
b17afde9ff
missing quote (#996) 2022-04-14 01:04:18 +02:00
Abubakar Abid
5af5b2503c
indentation fix (#993) 2022-04-14 00:45:06 +03:00
Dawood Khan
eebe7b57b0
Issue #785: add footer (#972)
* add footer

* fix logo align

* frontend

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 14:08:12 -07:00
Ömer Faruk Özdemir
86ebd8af80
test-guideline (#990)
* test-guideline
- add backend test guidelines

* Update test/README.md

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

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 00:06:14 +03:00
pngwn
9cb40dc99a
ensure dataframe updates as expected (#981)
* ensure input  updates as expected

* ci debug

* ci debug

* ci debug

* fix broken path

* cleanup

* cleanup

* cleanup

* remove pkg-up

* fix dataframe

* ensure headers can be edited

* allow the table to render empty content without exploding

* fixed components and test components

* fixed test inputs and test outputs

* formatting

* Update test_components.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 21:53:35 +01:00
Ömer Faruk Özdemir
6e1ccec1d0
update-components (#986)
- implement update function
- create an example demo
2022-04-13 14:57:42 +03: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
a58c485e50
Add huggingface_hub client library (#973)
* Add huggingface_hub client library 

Add huggingface_hub client library and model comparator space builder section

* Update guides/using_hugging_face_integrations.md

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>

* Apply suggestions from code review

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>

* tweaks

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
2022-04-12 22:13:10 +02:00
Abubakar Abid
ceea8ce3ca tweaked demo 2022-04-12 09:12:56 -07:00
Abubakar Abid
65f5733ab4
New Blocks Demo: neural instrument cloning (#975)
* cleaning up launchable

* removing launchables broken

* deleted launchables

* relaunch parameters

* fixed close method

* formatting

* renamed blocks demos

* creating a new blocks demo

* added neural blocks demo

* format backend

* fixed naming bug i introduced
2022-04-11 20:50:21 -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
Abubakar Abid
7576f06aa8
Cleaning up Launchable() (#968)
* cleaning up launchable

* removing launchables broken

* deleted launchables

* relaunch parameters

* fixed close method

* formatting

* removed unused fstring
2022-04-11 13:10:01 -07:00
Ömer Faruk Özdemir
5637cf9736
add jinja2 to reqs (#969) 2022-04-09 10:30:19 +03:00
pngwn
f57fa0eb6f
fix i18n and some tweaks (#966)
* fix i18n and some tweaks

* reorder i18n + translate buttons

* disable test

* fix or text

* ensure sketch text only shows when it is a sketch
2022-04-08 19:46:00 +01:00
pngwn
4b10085c93
add frontend for page load events (#967)
* Blocks load event implemented

* tweks

* add frontend for page load events

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-04-08 19:24:25 +01:00
Ömer Faruk Özdemir
8eae59f494
Blocks page load (#963)
* Blocks load event implemented

* tweks

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-08 20:54:59 +03:00