erdometo commited on
Commit
d61e1e2
·
verified ·
1 Parent(s): 07515d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -1,15 +1,3 @@
1
-
2
- import datasets
3
- from transformers import pipeline
4
- from transformers.pipelines.pt_utils import KeyDataset
5
- from tqdm.auto import tqdm
6
-
7
- pipe = pipe = pipeline("token-classification", model="erdometo/xlm-roberta-base-finetuned-TQuad2")
8
- dataset = datasets.load_dataset("superb", name="asr", split="test")
9
-
10
- for out in tqdm(pipe(KeyDataset(dataset, "file"))):
11
- print(out)
12
-
13
 
14
 
15
  import gradio as gr
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
2
 
3
  import gradio as gr