Commit Graph

4007 Commits

Author SHA1 Message Date
pngwn
5ba2e06e69
Tweaks (#1230)
* tweaks

* tweaks

* tweak loader dark mode

* gallery tweaks
2022-05-12 19:24:28 +01:00
Radamés Ajna
7da904801f
white space for class concatenation (#1228)
Co-authored-by: pngwn <hello@pngwn.io>
2022-05-12 18:48:28 +01:00
pngwn
2e31988718
tweaks (#1229)
* css tweaks

* tweak

* loader tweaks
2022-05-12 18:47:40 +01:00
Ömer Faruk Özdemir
f6f36123ce
share-hotfix (#1226)
- fix
2022-05-12 17:52:23 +03:00
aliabid94
33ef309451
Allow Custom CSS (#1170)
* changes

* css changes

* updated PyPi version to 2.9b24

* Revert "updated PyPi version to 2.9b24"

This reverts commit 48f678f491.

* Revert "css changes"

This reverts commit d31cd525a4.

* Revert "changes"

This reverts commit fadcb12ffe.

* reverting

* reverting

* changes

* changs

* Revert "changs"

This reverts commit 49d815f6fe.

* Revert "changes"

This reverts commit 481d7c21c4.

* changes

* format

* changes

* format

* test fix

* test fix

* test fix

* fix tests

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-11 21:40:41 -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
Ömer Faruk Özdemir
a88c017f87
async-function-support (#1190)
* async-function-support

- add async function support to Blocks

* async-function-support

- resolve conflicts

* async-function-support

- add error to Interface for async functions

* async-function-support

- add test

* async-function-support

- add test packages

* async-function-support

- add test packages
2022-05-11 23:10:50 +03: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
pngwn
0c422b75ea
ensure webcam video value is propogated correctly (#1218)
* ensure webcam video value is propogated correctly

* remove logs
2022-05-11 19:19:35 +01:00
pngwn
291e287302
fix placeholder prompt (#1215) 2022-05-11 08:56:22 -07:00
aliabid94
ce47c48ebc
Update component config (#1089)
* first commit

* changes

* restore defualt_value name

* changes

* rm value=

* rm value=

* rm value=

* changes

* changes

* changes

* rename default_val to value

* changes

* changes

* changes

* changes

* format

* changes

* changes

* format

* test fix

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-10 17:11:43 -07:00
pngwn
11740dd329
add copy functionality to json (#1205)
* add copy functionality to json

* fix light mode
2022-05-10 18:02:06 +01:00
pngwn
4ca48284bb
hltext-label (#1204)
* show highttext label + tweaks

* show highttext label + tweaks
2022-05-10 17:01:36 +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
Victor Muštar
962a254a6b
WIP: Add dark mode support (#1187)
* add gray 950 to tailwind config

* overwrite global css for dark-mode

* add dark-mode to css tokens

* add dark-mode to components

* workbench dark-mode update

* checkbox tweak

* create icon components

* tweaks

* formatting

* formatting

* handle dark mode query params + system settings

* fix css

Co-authored-by: pngwn <hello@pngwn.io>
2022-05-09 17:26:09 -07:00
pngwn
4828e9af3b
wrap tab content in column (#1200) 2022-05-10 00:46:57 +01:00
pngwn
3fe954bd55
Table tweaks (#1195)
* ensure table scrolls

* tweaks

* fix overflow on columns

* layout tweaks
2022-05-09 16:18:13 +01:00
Ömer Faruk Özdemir
9c1cef57f6
update-contributing (#1188)
- update test-reqs
- tweaks
2022-05-09 08:07:12 +03:00
pngwn
94ab75dbec
962 dataframe (#1186)
* refresh dataframe

* add fixed rows + cols to dataframe

* tweaks

* validate dataframe headers + col_count

* cleanup

* cleanup

* make linter happy

* fix test

* fix test again

* fix test definitely this time

* implement file drop support for dataframe

* remove leftover files

* tweaks

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-08 21:55:02 -07:00
pngwn
936631c5b4
1183 component height (#1185)
* fix flex for layouts

* fix row form groups

* cleanup
2022-05-07 16:50:31 +01:00
pngwn
b8fb0b4727
use secondary buttons in interface (#1173)
* use secondary buttons in interface

* fix tests
2022-05-07 01:08:50 +01:00
Abubakar Abid
7095ce7e04
Hotfix for dropdown component (#1172)
* allow markdown to be set dynamically

* moved markdown to output section

* added aliases for component names

* added aliases

* fixed optional

* formatting

* tests

* tests

* tests

* hotfix
2022-05-06 01:27:43 -07:00
Abubakar Abid
4bd609bcc0
A few small fixes (#1171)
* allow markdown to be set dynamically

* moved markdown to output section

* added aliases for component names

* added aliases

* fixed optional

* formatting

* tests

* tests

* tests
2022-05-06 00:29:02 -07:00
aliabid94
b7ed8d6646
changes (#1167)
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-05 17:50:51 -07:00
pngwn
56222fbe2b
1148 loading status (#1164)
* update loader

* fix for non queued statuses

* remove logs

* Update demo/fake_gan/run.py
2022-05-05 20:05:05 +01:00
Radamés Ajna
a9610a4c9b
enable flex grow for box (#1165) 2022-05-05 19:28:34 +01:00
Abubakar Abid
9eb6a6aebb
formatting (#1161) 2022-05-05 06:14:00 -07:00
Abubakar Abid
2050bdf600
Small fixes: queue default fix, ffmpeg installation message (#1159)
* config fix

* updated PyPi version to 2.9b23

* default fix

* ffmpeg fix

* blowfish warning

* formatting

* Update gradio/processing_utils.py
2022-05-04 09:57:09 -07:00
aliabid94
3e4ac376f5
Custom JS calls (#1082)
* first

* requested changes

* fix

* changes

* fixes

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-04 09:02:29 -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
aliabid94
ad1fffd496
Allow enabling queue per event listener (#1155)
* changes

* test fix

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-03 17:35:38 -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
aliabid94
8464481e22
image gallery component + img css (#1140)
* first commit

* format

* first commit

* Gallery component (#1142)

* gallery

* ui update

* scroll gallery items, keeping them centered

* fix keyboard event

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>

* formatting

* formatting

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-03 14:49:51 -07:00
Dawood Khan
527abb2ca7
Issue #768: Support passing none to resize and crop image (#1144)
* support passing none to resize and crop image

* clean up code

* remove commented code

* reformat

* format fix

Co-authored-by: pngwn <hello@pngwn.io>
2022-05-03 14:46:51 -07:00
pngwn
1802c5c24d
html tweaks (#1145)
* html tweaks

* formatting
2022-05-03 14:44:17 -07:00
pngwn
215ff72e32
move styling for interface panels to frontend (#1146)
* move interface row styling to frontend

* move interface row styling to frontend

* tweak form grouping

* Update docstring

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-03 14:29:11 -07:00
pngwn
eca95a549d
Timeseries improvements (#1149)
* ensure chart works with decimal values + generatesaxis lines for values below 10

* add negative example

* use color palette for chart

* add colors kwarg to Timeseries

* fix test?
2022-05-03 14:05:17 -07:00
pngwn
81e981eb7a
use color palette for chatbot (#1152) 2022-05-03 13:53:24 -07:00
pngwn
e34210ccda
max_lines + autoheight for textbox (#1153)
* ensure autoheight always reruns when value changes

* implement lines + max_lines for textbox

* update demo

* fix test
2022-05-03 18:28:57 +01:00
pngwn
ce77c73551
add select event for tabitems (#1154) 2022-05-03 18:21:29 +01:00
aliabid94
b0306e716d
Restore queue in Blocks (#1137)
* first commit

* format

* fix tests

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-02 16:17:53 -07:00
pngwn
87dcdd7134
pin to pnpm 6 for now (#1147) 2022-05-02 12:27:26 +01:00
pngwn
1032313988
highlighted text colors (#1119)
* highlighted text colors

* fix document error
2022-05-02 09:41:34 +01:00
Dawood Khan
190858ffb2
Chatbot custom color support (#1092)
* add color functionality to chatbot text bubbles

* chagne chatbot background colors

* chatbot color fixes

* merge conflict fix

* format fix

* chatbot fixes

* format

* remove prints
2022-05-02 09:41:20 +01:00
Victor Muštar
5f6ff85106
Examples UI (#1121)
* add fonts

* Update tailwind.config.js

* Examples UI

* demos examples update

* text align

* prettier

* formatting

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-02 09:38:18 +01: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
Victor Muštar
9180e6ce2e
stacked form inputs css (#1134) 2022-04-29 11:43:47 +01:00
Ali Abdalla
391edc4350
ONNX guide fixes (#1131)
* contribution rendering

* fix links

* fix links
2022-04-29 05:32:13 +02:00
AK391
edb2798bb7
Guide for Gradio ONNX model zoo on Huggingface (#1073)
* Create Gradio_ONNX_on_Hugging_Face.md

* add titles and related spaces

* add clearer description

* add gradio description

* add contribution guide

* add spaces description

* add onnx models description

* first version of document related to onnx/ort/modelzoo

* rewording

Signed-off-by: jcwchen <jacky82226@gmail.com>

* for review

Signed-off-by: jcwchen <jacky82226@gmail.com>

* spaces

Signed-off-by: jcwchen <jacky82226@gmail.com>

* update Gradio desc

* update spaces description

* update onnx description

* add code example

* update title and tags

* add Spaces demo

* add efficientnet-lite4 description

* add ONNX models tag description

* updated by review; onnx.hub

Signed-off-by: jcwchen <jacky82226@gmail.com>

* download from onnx model zoo

* update title

* use ort instead of rt for onnx runtime

* fix loads

* delete extra onnxruntime import

* delete trailing space

* update height to 810

* update description

* add the

* delete duplicate sentence

* update get started description

* add the

* update sentence

* fix sentence

* fix sentence

* fix demos

* fix model to models

* remove get started

* onnx model zoo PR link

* add contribution

* fix sentence

* is to are

* no colon at end

* update contribution and link

Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
2022-04-29 04:04:31 +02:00