Spaces:
Runtime error
Runtime error
temp-9384289
commited on
Commit
·
59dcf4a
1
Parent(s):
61697f2
tester
Browse files
app.py
CHANGED
@@ -187,10 +187,10 @@ def getModel(model):
|
|
187 |
|
188 |
|
189 |
############################################ return image that you just generated
|
190 |
-
return [image
|
191 |
|
192 |
|
193 |
import gradio as gr
|
194 |
-
output =
|
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()
|