Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -188,9 +188,9 @@ with gr.Blocks(css=css) as demo:
|
|
188 |
with gr.Column(scale=4):
|
189 |
instruction = gr.Textbox(lines=1, label="Instruction", interactive=True)
|
190 |
with gr.Column(scale=1):
|
191 |
-
|
192 |
with gr.Column(scale=1):
|
193 |
-
|
194 |
|
195 |
with gr.Row():
|
196 |
input_image = gr.Image(label="Image", type="pil", interactive=True)
|
|
|
188 |
with gr.Column(scale=4):
|
189 |
instruction = gr.Textbox(lines=1, label="Instruction", interactive=True)
|
190 |
with gr.Column(scale=1):
|
191 |
+
type = gr.Dropdown(["Image Generation","Image Editing"], label="Task", value="Image Generation",interactive=True, info="AI will select option based on your query, but if it selects wrong, please choose correct one.")
|
192 |
with gr.Column(scale=1):
|
193 |
+
generate_button = gr.Button("Generate")
|
194 |
|
195 |
with gr.Row():
|
196 |
input_image = gr.Image(label="Image", type="pil", interactive=True)
|