Spaces:
Runtime error
Runtime error
Commit
·
8e2e411
1
Parent(s):
c95d2f7
bug fix
Browse files
app.py
CHANGED
@@ -8,25 +8,23 @@ def update_task_options(framework):
|
|
8 |
"Custom":["Custom"],
|
9 |
"Diffusers":["Text To Image"],
|
10 |
"Transformers":[
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
|
28 |
-
"Visual Question Answering",
|
29 |
-
"Zero Shot Image Classification"]
|
30 |
}
|
31 |
return gr.Dropdown.update(
|
32 |
choices=config[framework],
|
|
|
8 |
"Custom":["Custom"],
|
9 |
"Diffusers":["Text To Image"],
|
10 |
"Transformers":[
|
11 |
+
"text-classification",
|
12 |
+
"zero-shot-classification",
|
13 |
+
"token-classification",
|
14 |
+
"question-answering",
|
15 |
+
"fill-mask",
|
16 |
+
"summarization",
|
17 |
+
"translation",
|
18 |
+
"text2text-generation",
|
19 |
+
"text-generation",
|
20 |
+
"feature-extraction",
|
21 |
+
"image-classification",
|
22 |
+
"automatic-speech-recognition",
|
23 |
+
"audio-classification",
|
24 |
+
"object-detection",
|
25 |
+
"image-segmentation",
|
26 |
+
"table-question-answering"
|
27 |
+
]
|
|
|
|
|
28 |
}
|
29 |
return gr.Dropdown.update(
|
30 |
choices=config[framework],
|