Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ toxicity = Detoxify('original')
|
|
19 |
# Constants
|
20 |
####################################
|
21 |
AVAILABLE_MODELS = {
|
22 |
-
'
|
23 |
-
'
|
24 |
}
|
25 |
|
26 |
SPACE_ID = os.getenv('SPACE_ID')
|
@@ -344,8 +344,8 @@ def synthandreturn(image):
|
|
344 |
gr.update(visible=True), # r2
|
345 |
mdl1, # model1
|
346 |
mdl2, # model2
|
347 |
-
gr.update(visible=True, value=results[mdl1]),
|
348 |
-
gr.update(visible=True, value=results[mdl2]),
|
349 |
gr.update(visible=True, interactive=True),
|
350 |
gr.update(visible=True, interactive=True),
|
351 |
gr.update(visible=False),
|
|
|
19 |
# Constants
|
20 |
####################################
|
21 |
AVAILABLE_MODELS = {
|
22 |
+
'TripoSR': 'TripoSR',
|
23 |
+
'LGM-Mini': 'LGM-Mini',
|
24 |
}
|
25 |
|
26 |
SPACE_ID = os.getenv('SPACE_ID')
|
|
|
344 |
gr.update(visible=True), # r2
|
345 |
mdl1, # model1
|
346 |
mdl2, # model2
|
347 |
+
gr.update(visible=True, value=results[mdl1]),
|
348 |
+
gr.update(visible=True, value=results[mdl2]),
|
349 |
gr.update(visible=True, interactive=True),
|
350 |
gr.update(visible=True, interactive=True),
|
351 |
gr.update(visible=False),
|