Fix bugs
Browse files
app.py
CHANGED
@@ -298,7 +298,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
298 |
with gr.Row():
|
299 |
image_input_generate = gr.Image(type="pil", label="Upload Screen Image")
|
300 |
prompt_input_generate = gr.Textbox(lines=2, placeholder="e.g., 'Generate the Android XML for this screen'", label="Prompt")
|
301 |
-
generate_output = gr.Code(label="Generated Output"
|
302 |
generate_button = gr.Button("Generate", variant="primary")
|
303 |
with gr.Row():
|
304 |
example_generate_btn1 = gr.Button("Load Example 1")
|
|
|
298 |
with gr.Row():
|
299 |
image_input_generate = gr.Image(type="pil", label="Upload Screen Image")
|
300 |
prompt_input_generate = gr.Textbox(lines=2, placeholder="e.g., 'Generate the Android XML for this screen'", label="Prompt")
|
301 |
+
generate_output = gr.Code(label="Generated Output")
|
302 |
generate_button = gr.Button("Generate", variant="primary")
|
303 |
with gr.Row():
|
304 |
example_generate_btn1 = gr.Button("Load Example 1")
|