Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,16 +129,16 @@ def generate(
|
|
| 129 |
|
| 130 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
| 131 |
gr.Markdown(DESCRIPTIONx)
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
|
| 143 |
with gr.Row():
|
| 144 |
model_choice = gr.Dropdown(
|
|
|
|
| 129 |
|
| 130 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
| 131 |
gr.Markdown(DESCRIPTIONx)
|
| 132 |
+
with gr.Row():
|
| 133 |
+
prompt = gr.Text(
|
| 134 |
+
label="Prompt",
|
| 135 |
+
show_label=False,
|
| 136 |
+
max_lines=1,
|
| 137 |
+
placeholder="Enter your prompt",
|
| 138 |
+
container=False,
|
| 139 |
+
)
|
| 140 |
+
run_button = gr.Button("Run", scale=0)
|
| 141 |
+
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
| 142 |
|
| 143 |
with gr.Row():
|
| 144 |
model_choice = gr.Dropdown(
|