4777 Commits

Author SHA1 Message Date
Abubakar Abid
41f175a9fd
button fix (#1603) 2022-06-20 13:11:21 -05:00
Abubakar Abid
13e81c334e
Misc fixes (#1607)
* misc fixes

* formatting
2022-06-20 13:09:33 -05:00
Abubakar Abid
34464401c1
[Guide] Embedding Gradio Space on another website (#1468)
* created new file

* guide

* added guide

* added width

* Apply suggestions from code review
2022-06-17 22:06:23 -07:00
Abubakar Abid
5391d6fa97
fixed off by one error in messaging (#1589)
* fixed off by one error

* formatting
2022-06-17 20:56:16 -07:00
pngwn
90eaf20aab
ensure iframe can detect dom changes within shadow root (#1599)
* ensure iframe can detect dom changes within shadow root

* formatting

* correctly reference document body

* switch to unscoping when inside an iframe

* formatting

* version

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-17 20:36:50 -07:00
aliabid94
6413b65328
fixes with HighlightedText, variables (#1563)
* changes

* removed comment things

* updated version

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-16 17:32:14 -07:00
aliabid94
cb2aa4a625
Hidden fix [hotfix] (#1585)
* fix

* Update Button.svelte
2022-06-16 17:22:09 -07:00
pngwn
8710d3a079
Wrap dataframe (#1571)
* add suport for table cell wrapping

* revert pkginfo change

* revert pkginfo change

* fixed tests

* formatting

* type hint

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-16 17:02:01 -07:00
aliabid94
5e7cf62a47
Fix visible (#1576)
* changes

* format

* change

* Update Blocks.svelte

* Update Render.svelte

* Update tokens.css
2022-06-16 16:49:54 -07:00
Abubakar Abid
f9436903ea
Allows updating interactive property for components (#1575)
* interactive fix

* removed textbox

* handled None condition

* handled None condition

* added update methods for other components

* formatting

* removed from output components
2022-06-16 16:48:46 -07:00
aliabid94
4d74206748
changes (#1577) 2022-06-16 11:16:18 -07:00
Ian González
d0b521510d
Manage a null value update on Dataframe (#1580)
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-16 10:13:24 +01:00
Ian González
78af573990
Change the afterUpdate code in Plot to use a binding to get the div when using plotly (#1565)
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-15 10:40:00 -04:00
Abubakar Abid
c963081dd8
[Guide] Developer Mode (#1394)
* first commit

* guide ready

* Update guides/developing_quickly_with_reload_mode.md

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>

* fixes

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-15 00:44:38 -07:00
Abubakar Abid
d455baca4e
Fix images for pypi guide (#1560)
* fix images for pypi

* reverted changes to readme

* remove print

* fix
2022-06-14 12:30:09 -07:00
Ö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
Ian González
26745a88dc
Stop audio tracks of user media on the stop callback for the Audio component when using the microphone (#1562)
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-14 17:07:27 +01:00
Abubakar Abid
d10bca27c0
Skip tests that return 429 from HF Hub API (#1559)
* skip tests

* formatting

* formatting and fixes
2022-06-13 17:57:45 -07:00
aliabid94
a3047ee838
broken HTML [hotfix] (#1558) 2022-06-13 17:20:35 -07:00
aliabid94
11b12d9456
Scrolling by default only in Interface, remove progress animation on streaming (#1499)
* changes

* changes

* format

* changes

* add relative to block

* changes

* ensure statustracker component is never rendered by render

Co-authored-by: pngwn <hello@pngwn.io>
2022-06-13 17:11:19 -07:00
Abubakar Abid
311972dba6
added docs to events & styles (#1530)
* added docs to events

* added docs to events

* added style docs to highlightedtext

* add events to docs

* format

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-13 17:02:08 -07:00
aliabid94
caa6a4e687
rework visible, attach to all components (#1511)
* changes

* fix
2022-06-13 16:49:23 -07:00
Simon Duerr
fdbecafffb
Matplotlib max-h fix so that plots are not cut off (#1550)
`object-fit:contain` only works with `max-h` if they are set on the same element. I moved `max-h` to `img` and also increased the height a bit such that the plot has enough space and can adapt to the container height.

Fixes #1546
2022-06-13 16:32:17 -07:00
Abubakar Abid
4048ac11b7
6th try (#1557) 2022-06-13 13:51:32 -07:00
Abubakar Abid
5069a8814f
5th try (#1556) 2022-06-13 13:39:18 -07:00
Abubakar Abid
3fc4703745
4th try (#1555) 2022-06-13 13:34:42 -07:00
Abubakar Abid
3a746899c8
trying again (#1554) 2022-06-13 13:25:35 -07:00
Abubakar Abid
ef1abe1071
Act2 (#1553)
* configure

* testing
2022-06-13 13:09:31 -07:00
Abubakar Abid
e2336f1a72
working on github action fix (#1552) 2022-06-13 13:00:35 -07:00
Abubakar Abid
63030a602d
version (#1551) 2022-06-13 12:47:16 -07:00
Ali Abdalla
57239edcde
fix broken docs link in readme (#1543) 2022-06-11 00:14:50 -07:00
Abubakar Abid
cf027b68f4
Combines 2 PRs for testing (#1540)
* mount custom css to the web component (#1536)

* set configurable min height prior to loading (#1532)

* set configurable minheight prio to loading

* formatting

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

* release beta version for testing (#1541)

Co-authored-by: pngwn <hello@pngwn.io>
2022-06-10 20:11:40 -07:00
aliabid94
00e4b1436f
Allow styling height for Image and Video, also dynamic logic change (#1503)
* changes

* changes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-10 19:56:07 -07:00
pngwn
f879a08f72
make file types match (#1538)
* make file types match

* revert kitchen_sink change
2022-06-10 18:51:19 -07:00
aliabid94
4564a8136c
Show error on error (#1500)
* changes

* changes

* formatting

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-10 12:55:30 -07:00
Abubakar Abid
ef027cf6a7
Model3d deserialization (#1520)
* inputless live

* formatting

* added generate button back

* deserialization fix
2022-06-10 12:08:47 -07:00
Abubakar Abid
b2cd4c1207
pip wheel (#1527) 2022-06-10 01:05:43 -07:00
Abubakar Abid
ae499d3932
rt6 (#1526) 2022-06-10 00:59:06 -07:00
Abubakar Abid
553c2c33ea
Rt5 (#1525)
* version

* version

* pnpm
2022-06-10 00:54:36 -07:00
Abubakar Abid
89b5a1293e
Rt4 (#1524)
* version

* version
2022-06-10 00:50:41 -07:00
Abubakar Abid
1e8c27a9b2
version (#1523) 2022-06-10 00:42:58 -07:00
Abubakar Abid
23cd6a02d6
permissions (#1522) 2022-06-10 00:39:46 -07:00
Abubakar Abid
48fc596dfb
added (#1521) 2022-06-10 00:36:14 -07:00
Abubakar Abid
32fcb775cb
Deploy to pypi using GitHub actions (#1518)
* Create deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* pypi action

* pypi action
2022-06-10 00:29:29 -07:00
Abubakar Abid
5e248657eb
live=True for input-less Interfaces (#1515)
* inputless live

* formatting

* added generate button back
2022-06-09 23:51:02 -07:00
Ömer Faruk Özdemir
252f164026
add-multiple-event-demo (#1519) 2022-06-10 09:20:58 +03:00
aliabid94
f41ebdd616
Fix multiple file upload (#1512)
* changes

* Update utils.ts

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-09 16:53:41 -07:00
aliabid94
c6ab13210e
changes (#1514) 2022-06-09 16:53:28 -07:00
aliabid94
636a9688ba
change (#1513) 2022-06-09 16:40:17 -07:00
aliabid94
f3e070541e
Fix Login (#1501)
* changes

* format
2022-06-09 16:15:08 -07:00