RamAnanth1 commited on
Commit
c6becc1
1 Parent(s): fd70aee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -19,8 +19,8 @@ toxicity = Detoxify('original')
19
  # Constants
20
  ####################################
21
  AVAILABLE_MODELS = {
22
- 'triposr': 'TripoSR',
23
- 'lgm-mini': 'LGM-Mini',
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]), # aud1
348
- gr.update(visible=True, value=results[mdl2]), # aud2
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),