fffiloni commited on
Commit
cdc114c
·
1 Parent(s): c0e8b34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -14
app.py CHANGED
@@ -80,20 +80,21 @@ with gr.Blocks(css=css) as demo:
80
  <h2 style="text-align: center;">LLM Agent from a Picture</h2>
81
  <p style="text-align: center;">{description}</p>
82
  """)
83
- with gr.Row():
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(
99
  fn = infer,
 
80
  <h2 style="text-align: center;">LLM Agent from a Picture</h2>
81
  <p style="text-align: center;">{description}</p>
82
  """)
83
+ with gr.Box():
84
+ with gr.Row():
85
+ with gr.Column():
86
+ image_in = gr.Image(
87
+ label = "Image reference",
88
+ type = "filepath",
89
+ elem_id = "image-in"
90
+ )
91
+ submit_btn = gr.Button("Make LLM system from my pic !")
92
+ with gr.Column():
93
+ result = gr.Textbox(
94
+ label ="Suggested System",
95
+ max_lines = 30,
96
+ elem_id = "suggested-system-prompt"
97
+ )
98
 
99
  submit_btn.click(
100
  fn = infer,