philipp-zettl commited on
Commit
c25f048
·
verified ·
1 Parent(s): 605b8ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ aura_sr_v1 = ZeroGPUAuraSR.from_pretrained("fal-ai/AuraSR")
64
 
65
  @spaces.GPU()
66
  def predict(img, model_selection):
67
- return {'v1': aura_sr_v1, 'v2': aura_sr}.get().upscale_4x(img)
68
 
69
 
70
  demo = gr.Interface(
 
64
 
65
  @spaces.GPU()
66
  def predict(img, model_selection):
67
+ return {'v1': aura_sr_v1, 'v2': aura_sr}.get(model_selection).upscale_4x(img)
68
 
69
 
70
  demo = gr.Interface(