temp-9384289 commited on
Commit
59dcf4a
·
1 Parent(s): 61697f2
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -187,10 +187,10 @@ def getModel(model):
187
 
188
 
189
  ############################################ return image that you just generated
190
- return [image] #, lowest_image]
191
 
192
 
193
  import gradio as gr
194
- output = ImageSlider("image")
195
  interface = gr.Interface(fn=getModel, inputs=[gr.Dropdown(modellist)], css="#output_image{width: 256px !important; height: 256px !important;}", outputs=output, title='Model Problems (infringement)') # outputs="image",
196
  interface.launch()
 
187
 
188
 
189
  ############################################ return image that you just generated
190
+ return [image, lowest_image]
191
 
192
 
193
  import gradio as gr
194
+ output = gr.Gallery("image")
195
  interface = gr.Interface(fn=getModel, inputs=[gr.Dropdown(modellist)], css="#output_image{width: 256px !important; height: 256px !important;}", outputs=output, title='Model Problems (infringement)') # outputs="image",
196
  interface.launch()