Ömer Faruk Özdemir
e5fd0edce1
fix tunneling test ( #1694 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-04 17:04:44 +03:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info ( #1669 )
...
* Use requirements.txt
* Fix checksum in circleci
* Ignore egg info dir
* Install from requirements.txt
* Install gradio
* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07:00
pngwn
609de11ce8
add markdown and html support to dataframe ( #1684 )
...
* add markdown and html support to dataframe
* fix bug, address review comments
* fix test
* fix test
* rename parser instance variable
2022-07-04 10:27:48 +01:00
Abubakar Abid
00a1894bf5
fixed load from spaces + added test ( #1636 )
...
* fixed load from spaces + added test
* formatting
* removed print
2022-07-01 20:21:54 -07:00
pngwn
a2b84199d8
detect all types of null default value ( #1685 )
...
* detect all types of null default value
* fix test
* address review comments
2022-07-01 19:23:02 +01:00
Dawood Khan
eb42fc3cf8
Kitchen Sink Integration tests ( #1588 )
...
* tests
* more tests
* more tests
* remove files
2022-07-01 01:27:47 -04:00
Dawood Khan
7030a2a6cf
Fix example image thumbnail size ( #1627 )
...
* fix example image thumbnail size
* format
* remove cache examples
* add classes to token.css
* add small image
2022-07-01 01:27:35 -04:00
Freddy Boulton
6bd4e17e69
Version 3.0.22 ( #1677 )
2022-06-30 15:02:00 -04:00
pngwn
2c6d62f96c
fix embedding css ( #1671 )
2022-06-30 15:59:30 +01:00
Freddy Boulton
d01da6e205
Fix postprocess in Audio ( #1667 )
2022-06-30 09:46:50 -04:00
Freddy Boulton
8c9a9a9696
Fix interpretations ( #1655 )
...
* add postprocess method on component
* Add test
* Change input in external.
* Revert accidental change
2022-06-29 18:24:27 -04:00
aliabid94
4deab89404
Undo use of orjson for Variable default value ( #1668 )
...
* Revert "Fixes json serialization issues (#1606 )"
This reverts commit 44ddafb68a02bfc05230f92871f81b59714bf20b.
* deepcopy var default
* version upgrade
* still change
* remove get config from variable
2022-06-29 11:39:26 -07:00
pngwn
8cfee0b86a
fix overflow ( #1661 )
2022-06-29 15:19:57 +01:00
Halil Ibrahim Bestil
3026b8f597
Add type hint to provide autocompletion for Request class instances. ( #1642 )
2022-06-26 17:10:02 +03:00
Abubakar Abid
0f44cf8012
Read version.txt ( #1631 )
...
* read version from version.txt
* reordered lines
2022-06-24 21:24:57 -07:00
pngwn
1e6ceb9543
Mask image ( #1621 )
...
* changes
* add masking to image
* added preprocessing for mask
* tweaks + improvements to masking
* make mask work with webcam input
* cleanup
* fix default image
* fix default value when source is upload
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-25 01:11:28 +01:00
Dawood Khan
b11ed64a06
text color + custom style fixes ( #1626 )
2022-06-23 20:55:16 -07:00
Halil Ibrahim Bestil
51c8c34486
Async Request Class ( #1595 )
...
* Implement Request class and its tests.
* Add new requirements
* Reformat codebase.
* Fix formatting.
* Add library level requirements.
* Convert validated_data property to get_validated_data function.
* Fix the client fixture.
* Update test/test_utils.py
* Update test/test_utils.py
* Fix the client fixture.
* Add missing initialization for Request._validated_data
* Fix async test problem with test_tunneling.py
* Update gradio/utils.py
* Update gradio/utils.py
* Fix formatting.
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-06-23 20:44:04 +03:00
Abubakar Abid
7a0f6b1dd2
Deprecation error if multiple functions are passed into fn
parameter in Interface
( #1623 )
...
* stack deprection
* formatting
* rewrite parallel
* formatting'
2022-06-22 23:48:42 -07:00
Abubakar Abid
4628ef0a8b
version ( #1619 )
2022-06-22 00:39:31 -05:00
Ian González
1334847a22
Restore get_config function for Gallery component ( #1614 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-22 00:26:51 -05:00
pngwn
f1a1e79be4
fix autoscroll ( #1570 )
...
* fix autoscroll
* fix formatting
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-21 10:44:30 +01:00
Ian González
64a1bdc3b0
Fix text color for bold and code on dark theme ( #1615 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-06-21 10:37:20 +01:00
Abubakar Abid
44ddafb68a
Fixes json serialization issues ( #1606 )
...
* fixed serialization
* formatting
* Update gradio/components.py
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
* Update gradio/components.py
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-06-20 13:17:55 -05:00
Abubakar Abid
827f46cb93
added docs for elem_id
and other missing parameters in components.py
( #1602 )
...
* added docs for elem_id and other missing parameters
* formatting
2022-06-20 13:17:43 -05:00
Dawood Khan
98121ee6a3
Issue #1594 : Plot component is not cached with examples ( #1600 )
...
* fix plot cache examples
* format
2022-06-20 13:13:35 -05:00
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