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
aliabid94
293a5916cf
changes ( #1504 )
2022-06-09 15:46:07 -07:00
Ömer Faruk Özdemir
8544295df2
add-logos-to-repo ( #1421 )
...
* add-logos-to-repo
- only encode is missing
* add-logos-to-repo
- add encode logo, add logos to the readme
* add-logos-to-repo
- change python logo, add HF logo
- positioning tweaks on README
* add-logos-to-repo
- tweaks
* add-logos-to-repo
- tweaks
* Update README.md
* add-logos-to-repo
- tweaks
* add-logos-to-repo
- remove gray deee oh :D
* add-logos-to-repo
- final readme design
* add-logos-to-repo
- undo readme changes
* render_readme fix for windows
* add-logos-to-repo
- last tweaks
* add-logos-to-repo
- last tweaks
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-09 11:05:10 +03:00
Abubakar Abid
c7c93f54a3
updated PyPi version to 3.0.13 ( #1483 )
2022-06-07 15:54:14 -07:00
pngwn
7664d950e7
ensure form group styles correctly apply ( #1477 )
...
* ensure form group styles correctly apply
* removed log statement
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-07 15:42:03 -07:00
Dawood Khan
f374eec22d
Fix cache examples for audio, video and image ( #1459 )
...
* image examples fix
* fix image test
* fix cache examples for audio and video
* fix tests
* fix audio test
* fix restore flagged file
* fix tests
* reformat
* tests fixes
* fix test
* reformat
* format
* fix test
* reformat
* fix image test
* renamed video demo
* removed redundant test that may have been causing rate limiting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-07 15:10:19 -07:00
Simon Mo
ddd7fa13dc
Lower bound Python version to 3.7 ( #1480 )
...
* Lower bound Python version to 3.7
* Update doc
2022-06-07 12:00:29 -07:00
pngwn
cc6aeb6d72
distribute gradio as a web component ( #1444 )
...
* distribute gradio as a web component
* fix layout + loader + dark mode in embedded wc
* fix lockfile issue
* formatting
* prevent loader conflicts
* fix formatting
2022-06-07 11:11:44 -07:00
Abubakar Abid
6dfb00b06e
readme code cleanup ( #1467 )
...
* readme cleanup
* fixes
2022-06-07 10:47:34 -07:00
Bharat Raghunathan
22c87d4b59
Fix broken links in "Next Steps" of README.md ( #1466 )
...
* Update README.md
* add comment to readme
* fixed links
* made changes to readme template
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-06 16:14:16 -07:00
Ali Abdalla
42cee33dcf
API Docs with support for Blocks ( #1397 )
...
* backend
* updated PyPi version to 3.0.10
* updated PyPi version to 3.0.9b10
* fixes
* updated PyPi version to 3.0.9b11
* changes
* changes
* changes git push
* changes
* undo
* fixes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 09:10:42 -07:00
Chih-Yu Yeh
f6414d3c33
fix issue#1353 ( #1457 )
...
* fix issue#1353
* change logic
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 07:58:19 -07:00
Abubakar Abid
d8eb957534
bring in local namespace for jupyter magic ( #1461 )
...
* bring in local namespace
* formatting
2022-06-06 12:11:45 +03:00
Edoardo Abati
db36d6880e
Changed share argument default in .launch method ( #1449 )
...
* changed default of share argument
* make share=False raise an Exception when localhost not reachable
* using self.share across the launch method
* reverted docstring to previous sentence
* added getter and setter for self.share
* added tests for setting Blocks.share
* fixed test
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-03 11:59:50 -07:00
Ömer Faruk Özdemir
267ba1e45b
Max parallel threads ( #1460 )
...
* Set max parallel threads to 100.
I could not find a better solution than monkey-patching
`anyio.to_thread.run_sync` to use a custom `CapacityLimiter`. I did try
to obtain the predictions inside a context handler instead:
```
async with self.limiter:
predictions = await run_in_threadpool(block_fn.fn, *processed_input)
```
However, that approach didn't seem to work.
* Make max parallel threads configurable.
`max_threads` can now be used in `launch` to specify the desired number
of parallel threads supported.
* Fix import order.
* Update gradio/blocks.py
* Replace `run_in_threadpool` with `run_sync`.
We create the capacity limiter on launch, and invoke
`anyio.to_thread.run_sync` directly instead of going through
`run_in_threadpool`. This allows for some code simplification: we no
longer need to patch `anyio.to_thread.run_sync`.
* max_parallel_threads
- resolve conflicts
* max_parallel_threads
- solve error
* max_parallel_threads
- solve async error
Co-authored-by: Pedro Cuenca <pedro@latenitesoft.com>
2022-06-03 14:20:41 +03:00
Abubakar Abid
282748b4af
updated PyPi version to 3.0.11 ( #1458 )
2022-06-03 00:13:16 -07:00
Abubakar Abid
71bcfdbe92
Callable blocks ( #1437 )
...
* format backend
* blocks callable
* call blocks
* format
* fixed upload
* fix mix
* formatting
* formatting
* formatting
* added serialization/deserialization for video
* formatting
* blocks
* formatting
* fix tests
* formatting
2022-06-02 15:37:25 -07:00
Martina Fumanelli
74ccf3e957
Fix/combine adjacent ( #1426 )
...
* Fix combine_adjacent arg of HighlightedText
* Delete multilingual_named_entity_recognition_using_mbert.md
* Fix file components.py style
* Fix style gradio/components.py
* Add adjacent_separator parameter to HighlightedText class
Co-authored-by: martina.fumanelli <martina.fumanelli@MBP-di-martinafumanelli.local>
Co-authored-by: martina.fumanelli <martina.fumanelli@MBPdimaumanelli.homenet.telecomitalia.it>
2022-06-02 10:44:58 -07:00
aliabid94
188d8bc65d
Allow async js fn ( #1439 )
...
* updated PyPi version to 3.0.10
* updated PyPi version to 3.0.9b10
* fixes
* updated PyPi version to 3.0.9b11
* fix update sript
* changes
2022-06-01 11:34:07 -07:00
pngwn
279df2322d
fix button styling ( #1447 )
2022-06-01 11:33:53 -07:00
pngwn
068132836c
Style updates ( #1350 )
...
* clean up python style api
* allow Box to be styled
* changes
* update style args and add md doc detailing
* cleanup
* add deprecation warnings
* fix
* formatting
2022-06-01 18:02:18 +01:00
Dawood Khan
7b9cba0e9e
File Cached Examples Fix ( #1334 )
...
* fix file cache examples issue
* format
* fix for tests
* format fix
* fix multiple files input
* format
* format
* fix preprocess example
* fix multiple file output
* remove single_file const
* fix tests + format
* renamed demo
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-01 12:23:12 -04:00
Abubakar Abid
576bd227fc
Fixes gr.Interface.load()
( #1436 )
...
* format backend
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-01 08:35:33 +03:00
Radamés Ajna
7e796a3e17
set iframe policy to enable camera and audio ( #1433 )
2022-05-31 14:53:28 -07:00
Evelyn Coronel
4a944e6f9f
#1398 PR fix ( #1407 )
2022-05-31 14:24:14 -07:00
Radamés Ajna
6a6cea795f
set camera icon always stroke white ( #1434 )
2022-05-31 14:10:07 -07:00