Commit Graph

2 Commits

Author SHA1 Message Date
Radamés Ajna
73e98ddf15
Small fixes for multiple demos compatible with 3.0 (#1257)
* add required param but None

* import torch req, add chunk_length_s

import torch requirement for transformers
enable inference for longer audio files

* fix compononte initialization

* input number is float, force int to multipy string

* no need for Templates, fix class init

* expects array

* add requirements.txt for demo

* update with cleaner syntax

* add sample csv to fraud demo

* adapt to new syntax

* temp fix for Slider arguments

* add dep to requirements

* remove gr.Markdown from Interface init

* fix default value param name

* upgrade deepspeech, download models onstart

* use path resolution consistent with other demos

* remove redundant demo

* add example to interface

* fixed plotting issues

* plots

* deprecated carousel

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-13 22:45:44 -07:00
Ömer Faruk Özdemir
9cd4c3121f
textbox-autoheight (#1009)
* textbox-autoheight
- add max-lines to textbox

* textbox-autoheight
- reformat

* textbox-autoheight
- add demo

* textbox-autoheight
- tweaks on scripts

* textbox-autoheight
- fix tests

* textbox-autoheight
- fix tests

* textbox-autoheight
- fix tests

* textbox-autoheight
- convert default max_height from 100 to 20

* textbox-autoheight
- convert default max_height from 100 to 20
2022-04-20 14:25:47 +03:00