Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,11 +54,16 @@ with gr.Blocks(theme=theme) as demo:
|
|
54 |
textbox = gr.Textbox(show_label=False, placeholder='Type your prompt here')
|
55 |
button = gr.Button("Generate", variant="primary")
|
56 |
|
57 |
-
gr.Examples(
|
58 |
-
["Emma Stone on prom night, mint green satin maxi dress"],
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
gr.Markdown("""
|
64 |

|
|
|
54 |
textbox = gr.Textbox(show_label=False, placeholder='Type your prompt here')
|
55 |
button = gr.Button("Generate", variant="primary")
|
56 |
|
57 |
+
gr.Examples(
|
58 |
+
[["Emma Stone on prom night, mint green satin maxi dress"],
|
59 |
+
["Lady Gaga, 50s hair style, prom night"],
|
60 |
+
["Rihanna wearing a silver prom dress with crystal jewelry"]],
|
61 |
+
inputs=textbox,
|
62 |
+
outputs=img,
|
63 |
+
fn=generate,
|
64 |
+
cache_examples=False # キャッシュ機能をオフにする
|
65 |
+
)
|
66 |
+
|
67 |
|
68 |
gr.Markdown("""
|
69 |

|