Spaces:
Runtime error
Runtime error
root
commited on
Commit
·
45b27a3
1
Parent(s):
b2ee6dc
add width,height,seed
Browse files
app.py
CHANGED
@@ -280,7 +280,7 @@ if __name__ == "__main__":
|
|
280 |
gallery = gr.Gallery(
|
281 |
label="Generated images", show_label=False, elem_id="gallery"
|
282 |
).style(grid=[2,2])
|
283 |
-
gr.Examples(examples=examples, fn=request_images, inputs=
|
284 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
285 |
img_choices = gr.Dropdown(["图片1(img1)"],label='请选择一张图片发送到图生图或者超分',show_label=True,value="图片1(img1)")
|
286 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
|
|
280 |
gallery = gr.Gallery(
|
281 |
label="Generated images", show_label=False, elem_id="gallery"
|
282 |
).style(grid=[2,2])
|
283 |
+
gr.Examples(examples=examples, fn=request_images, inputs=text, outputs=gallery, examples_per_page=100)
|
284 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
285 |
img_choices = gr.Dropdown(["图片1(img1)"],label='请选择一张图片发送到图生图或者超分',show_label=True,value="图片1(img1)")
|
286 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|