Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,14 +75,9 @@ with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
|
| 75 |
main_interface = gr.Column(visible=False)
|
| 76 |
|
| 77 |
with main_interface:
|
| 78 |
-
gr.Markdown("##
|
| 79 |
with gr.Row():
|
| 80 |
-
# LEFT COLUMN: Inputs
|
| 81 |
with gr.Column(scale=1):
|
| 82 |
-
prompt_input = gr.Textbox(
|
| 83 |
-
label="Prompt",
|
| 84 |
-
placeholder="A delicious looking pizza"
|
| 85 |
-
)
|
| 86 |
active_tab_state = gr.State(value="single")
|
| 87 |
with gr.Tabs() as tabs:
|
| 88 |
with gr.TabItem("Single Image", id="single") as single_tab:
|
|
@@ -94,6 +89,11 @@ with gr.Blocks(theme=gr.themes.Citrus()) as demo:
|
|
| 94 |
gallery_input = gr.Gallery(
|
| 95 |
label="Input Images (drop all images here)", file_types=["image"]
|
| 96 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
generate_button = gr.Button("Generate", variant="primary")
|
| 98 |
|
| 99 |
# RIGHT COLUMN: Outputs
|
|
|
|
| 75 |
main_interface = gr.Column(visible=False)
|
| 76 |
|
| 77 |
with main_interface:
|
| 78 |
+
gr.Markdown("## Thanks for being a PRO User! 🤗")
|
| 79 |
with gr.Row():
|
|
|
|
| 80 |
with gr.Column(scale=1):
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
active_tab_state = gr.State(value="single")
|
| 82 |
with gr.Tabs() as tabs:
|
| 83 |
with gr.TabItem("Single Image", id="single") as single_tab:
|
|
|
|
| 89 |
gallery_input = gr.Gallery(
|
| 90 |
label="Input Images (drop all images here)", file_types=["image"]
|
| 91 |
)
|
| 92 |
+
prompt_input = gr.Textbox(
|
| 93 |
+
label="Prompt",
|
| 94 |
+
info="Tell the model what you want it to do",
|
| 95 |
+
placeholder="A delicious looking pizza"
|
| 96 |
+
)
|
| 97 |
generate_button = gr.Button("Generate", variant="primary")
|
| 98 |
|
| 99 |
# RIGHT COLUMN: Outputs
|