add elem IDs
Browse files
app.py
CHANGED
|
@@ -84,13 +84,15 @@ with gr.Blocks(css=css) as demo:
|
|
| 84 |
with gr.Column():
|
| 85 |
image_in = gr.Image(
|
| 86 |
label = "Image reference",
|
| 87 |
-
type = "filepath"
|
|
|
|
| 88 |
)
|
| 89 |
submit_btn = gr.Button("Make LLM system from my pic !")
|
| 90 |
with gr.Column():
|
| 91 |
result = gr.Textbox(
|
| 92 |
label ="Suggested System",
|
| 93 |
-
max_lines = 30
|
|
|
|
| 94 |
)
|
| 95 |
|
| 96 |
submit_btn.click(
|
|
|
|
| 84 |
with gr.Column():
|
| 85 |
image_in = gr.Image(
|
| 86 |
label = "Image reference",
|
| 87 |
+
type = "filepath",
|
| 88 |
+
elem_id = "image-in"
|
| 89 |
)
|
| 90 |
submit_btn = gr.Button("Make LLM system from my pic !")
|
| 91 |
with gr.Column():
|
| 92 |
result = gr.Textbox(
|
| 93 |
label ="Suggested System",
|
| 94 |
+
max_lines = 30,
|
| 95 |
+
elem_id = "suggested-system-prompt"
|
| 96 |
)
|
| 97 |
|
| 98 |
submit_btn.click(
|