Spaces:
Running
on
Zero
Running
on
Zero
UI changes
Browse files
app.py
CHANGED
|
@@ -96,9 +96,10 @@ with gr.Blocks(css=css) as demo:
|
|
| 96 |
)
|
| 97 |
with gr.Row():
|
| 98 |
with gr.Column():
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
|
|
|
| 102 |
|
| 103 |
with gr.Column():
|
| 104 |
with gr.Group():
|
|
@@ -107,7 +108,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 107 |
prompt3 = gr.Textbox(label="Prompt3", value="A woman playing on saxophone")
|
| 108 |
run_button = gr.Button("Submit")
|
| 109 |
|
| 110 |
-
results = gr.Gallery()
|
| 111 |
|
| 112 |
run_button.click(
|
| 113 |
fn = run,
|
|
|
|
| 96 |
)
|
| 97 |
with gr.Row():
|
| 98 |
with gr.Column():
|
| 99 |
+
with gr.Group():
|
| 100 |
+
ref_path = gr.Image(type="filepath", value="./example_image/medieval-bed.jpeg")
|
| 101 |
+
ref_style = gr.Textbox(label="Reference style", value="medieval painting")
|
| 102 |
+
ref_prompt = gr.Textbox(label="Reference prompt", value="Man laying on bed")
|
| 103 |
|
| 104 |
with gr.Column():
|
| 105 |
with gr.Group():
|
|
|
|
| 108 |
prompt3 = gr.Textbox(label="Prompt3", value="A woman playing on saxophone")
|
| 109 |
run_button = gr.Button("Submit")
|
| 110 |
|
| 111 |
+
results = gr.Gallery(columns=4)
|
| 112 |
|
| 113 |
run_button.click(
|
| 114 |
fn = run,
|