Commit Graph

7 Commits

Author SHA1 Message Date
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
Ali Abdalla
5b827f5b2c
Fixes to embedded demos in website docs (#1315)
* remove webcam from video demo

* remove blocks_gpt and blocks_neural_instrument_coding demos

* only show Try Examples if examples exist

* remove if name = main from rendereed code

* rename demos that have same name as component

* remove references to old demo names from guides

* add model3d demo
2022-05-17 14:18:51 -04:00
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
Ali Abdalla
babf914107
Fix demos in website (#1130)
* iframing spaces demos

* fix demos in getting started
2022-04-29 03:53:25 +02:00
Radamés Ajna
9ecb5e8a49
Enable vertex colors for OBJs files (#1074)
configure Babylon.js OBJ loader to enable vertex colors
2022-04-26 14:03:09 +01:00
Dawood Khan
c480fb0e0c
Model3D Examples fixes (#1035)
* fix examples

* fixes

* fix moddl3d examples

* format fixes

* fixed tests

* fix tests

* fix clearColor null

Co-authored-by: Dawood Khan <dawoodkhan@DawoodsWorkMBP.localdomain>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-20 11:43:21 -04:00
Dawood Khan
499f106c9e
Model3D + Plot Components (#1010)
* add model3D

* model3d component

* add plot component

* format

* ingnore plot.svelte from prettier

* update build script

* update circleci config

* remove circleci config change

* change build script

* remove change to build script

* remove plot.svelte

* remove duplicate save_flagged func

* fix node space issue + format issues

* Update ui.yml

* Update ui.yml

* Update ui.yml

* remove changes to config files

* updated codecov version

* Update ui.yml

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04:00