Commit Graph

3717 Commits

Author SHA1 Message Date
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
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
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
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
Abubakar Abid
ea3a929140
Blocks analytics (#947)
* added launch analytics for blocks

* formatting
2022-04-08 07:59:11 -07:00
Abubakar Abid
c19042ee62
replaced local files with urls to images (#965) 2022-04-08 07:35:55 -07:00
Ömer Faruk Özdemir
dc6175a21d
tabbed-interface-rewritten (#958) 2022-04-08 12:13:56 +03:00
Ömer Faruk Özdemir
3c876c49ef add fake_gan demos with smaller pictures 2022-04-08 11:21:40 +03:00
Ömer Faruk Özdemir
023706136e add fake_gan demos with smaller pictures 2022-04-08 11:14:00 +03:00
pngwn
48fc3f90bd
fix file upload text (#931)
* fix file upload text

* clean up file + add download

* add cursor pointer for upload inputs
2022-04-07 20:38:41 +01:00
pngwn
61c2e0e680
static mode for textbox (#929)
* static mode for textbox

* fix checkbox and remove title

* address comments

* autoresize textarea for output textbox

* wait for the DOM to update before resizing the textarea
2022-04-07 20:36:49 +01:00
pngwn
03838573c9
allow audio components to take a string value (#930)
* allow audio components to take a string value

* normalise audio + video input data types

* tweaks
2022-04-07 18:18:41 +01:00
Abubakar Abid
d722de0a79 replaced ASR model with one that works 2022-04-07 08:57:28 -07:00
Abubakar Abid
4a685a0078
Merge pull request #941 from gradio-app/blocks-dev-components-tests
blocks-move-test-data
2022-04-07 08:24:24 -07:00
Abubakar Abid
e3aeeb541e formatting 2022-04-07 08:23:55 -07:00
Abubakar Abid
5ca96c4e2e added timeseries output test 2022-04-07 07:55:38 -07:00
Ömer Faruk Özdemir
d8dd552cdb blocks-move-test-data
- add tests
2022-04-07 01:40:28 +03:00
pngwn
af5b555458
reimplement webcam video (#928)
* reimplement webcam video

* remove logs

* fix image webcam input
2022-04-06 18:01:18 +01:00
pngwn
6e4e877b19
remove debounce from form inputs (#932) 2022-04-06 17:49:59 +01:00
Ömer Faruk Özdemir
6274b9099e
blocks-move-test-data (#927)
* blocks-move-test-data
- move test_data under gradio

* blocks-move-test-data
- typo

* blocks-move-test-data
- fix tests
2022-04-06 13:55:51 +01:00
pngwn
5313a4edf1
fix unit + browser tests (#926) 2022-04-06 11:47:19 +01:00
Ömer Faruk Özdemir
bca035bde0
Merge pull request #904 from gradio-app/blocks-components-tests
blocks-components-tests
2022-04-05 23:56:29 +03:00
Ömer Faruk Özdemir
dac4caa25c blocks-components-test
-  add ffmpeg installation to circleci
2022-04-05 23:48:32 +03:00
Ömer Faruk Özdemir
22c4003119 blocks-components-test
- rename functions to test_component_functions
2022-04-05 23:35:04 +03:00
Abubakar Abid
826fceeae3 fixed carousel test 2022-04-05 13:24:14 -07:00
Abubakar Abid
29585482f7 fixed interpretation test 2022-04-05 13:14:52 -07:00
Abubakar Abid
19cf1e7153 fixing tests related to new way of doing interpretation 2022-04-05 12:58:17 -07:00
Abubakar Abid
67ced042af fixed error in merge 2022-04-05 12:30:37 -07:00
Abubakar Abid
2fdf26d7ac merged blocks-dev 2022-04-05 12:21:48 -07:00
pngwn
f2d71abe88
Redesign 1 (#918)
* redesign forms

* finalise forms

* upload components

* fix CSS conflicts

* abstract block + update image

* restyle modify buttons

* add file, audio, video

* revert example

* address comments
2022-04-05 18:11:29 +01:00
Abubakar Abid
651205ab32
Merge pull request #919 from gradio-app/blocks-as-block
Allow `Blocks` instances to be used like a `Block` in other `Blocks`
2022-04-05 08:27:40 -07:00
Abubakar Abid
fee261ddbb removed TabbedInterface 2022-04-05 07:10:42 -07:00
Ömer Faruk Özdemir
9061768ce8 blocks-components-test
- use deepcopy in gradio source files as well
2022-04-05 13:11:08 +03:00
Ömer Faruk Özdemir
ceee0fce9e blocks-components-test
- use deepcopy in the remaining tests as well
- update a failing test
- add processing utils to init for IDE to identify the function
2022-04-05 13:08:53 +03:00
Ömer Faruk Özdemir
9f7a48604b blocks-components-test
- finalize and document components tests
2022-04-05 12:54:17 +03:00
Abubakar Abid
8d19a964a2 formatting 2022-04-04 18:09:09 -07:00
Abubakar Abid
541041e299 merged blocks-dev 2022-04-04 17:48:15 -07:00
Abubakar Abid
faa37f329e tabbedinterface 2022-04-04 17:03:04 -07:00
Abubakar Abid
b725836201 blocks inside blocks! 2022-04-04 16:30:03 -07:00
aliabid94
5c44ae3536
Restore Interpretation, Live, Auth, Queueing (#915)
Restore Interpretation, Live, Auth, Queueing

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-04 15:47:51 -07:00