fffiloni commited on
Commit
776a974
1 Parent(s): fc26ca1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -80,22 +80,22 @@ 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.Group():
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
- lines = 10,
96
- max_lines = 30,
97
- elem_id = "suggested-system-prompt"
98
- )
99
 
100
  submit_btn.click(
101
  fn = infer,
 
80
  <h2 style="text-align: center;">LLM Agent from a Picture</h2>
81
  <p style="text-align: center;">{description}</p>
82
  """)
83
+
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
+ lines = 10,
96
+ max_lines = 30,
97
+ elem_id = "suggested-system-prompt"
98
+ )
99
 
100
  submit_btn.click(
101
  fn = infer,