Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -219,23 +219,22 @@ class Predictor:
|
|
219 |
return sorted_general_strings, rating, character_res, general_res
|
220 |
|
221 |
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
]
|
239 |
|
240 |
with gr.Blocks(css= "style.css") as app:
|
241 |
# Dropdown untuk memilih model di luar tab dengan lebar kecil
|
|
|
219 |
return sorted_general_strings, rating, character_res, general_res
|
220 |
|
221 |
|
222 |
+
|
223 |
+
args = parse_args()
|
224 |
+
predictor = Predictor()
|
225 |
+
|
226 |
+
dropdown_list = [
|
227 |
+
SWINV2_MODEL_DSV3_REPO,
|
228 |
+
CONV_MODEL_DSV3_REPO,
|
229 |
+
VIT_MODEL_DSV3_REPO,
|
230 |
+
VIT_LARGE_MODEL_DSV3_REPO,
|
231 |
+
EVA02_LARGE_MODEL_DSV3_REPO,
|
232 |
+
MOAT_MODEL_DSV2_REPO,
|
233 |
+
SWIN_MODEL_DSV2_REPO,
|
234 |
+
CONV_MODEL_DSV2_REPO,
|
235 |
+
CONV2_MODEL_DSV2_REPO,
|
236 |
+
VIT_MODEL_DSV2_REPO,
|
237 |
+
]
|
|
|
238 |
|
239 |
with gr.Blocks(css= "style.css") as app:
|
240 |
# Dropdown untuk memilih model di luar tab dengan lebar kecil
|