johnowhitaker commited on
Commit
f46c8d3
·
1 Parent(s): 9be8b07

Update app.py

Browse files

gradio -> gr in the code I should have tested :)

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -484,7 +484,7 @@ def gen_ims(n_rows, model='both'):
484
  return (grid*255).astype(np.uint8)
485
  iface = gr.Interface(fn=gen_ims,
486
  inputs=[gr.inputs.Slider(minimum=1, maximum=6, step=1, default=3,label="N rows"),
487
- gradio.inputs.Dropdown(["both", "light", "dark"], type="value", default="dark", label="Orb Type (model)", optional=False)],
488
  outputs=[gr.outputs.Image(type="numpy", label="Generated Images")],
489
  title='Demo for https://huggingface.co/johnowhitaker/orbgan_e1'
490
  )
 
484
  return (grid*255).astype(np.uint8)
485
  iface = gr.Interface(fn=gen_ims,
486
  inputs=[gr.inputs.Slider(minimum=1, maximum=6, step=1, default=3,label="N rows"),
487
+ gr.inputs.Dropdown(["both", "light", "dark"], type="value", default="dark", label="Orb Type (model)", optional=False)],
488
  outputs=[gr.outputs.Image(type="numpy", label="Generated Images")],
489
  title='Demo for https://huggingface.co/johnowhitaker/orbgan_e1'
490
  )