TheoLvs commited on
Commit
389ab01
1 Parent(s): ebf3dfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -15
app.py CHANGED
@@ -293,24 +293,18 @@ ClimateGPT harnesses modern OCR techniques to parse and preprocess IPCC reports.
293
  ### Feedbacks
294
  """
295
  )
296
- with gr.Row():
297
- with gr.Column():
298
  feedback = gr.Textbox(label="Write your feedback here")
299
- with gr.Column(scale=1):
300
  feedback_output = gr.Textbox(label="Submit status")
301
- with gr.Row():
302
- feedback_save = gr.Button(value="submit feedback")
303
- feedback_save.click(
304
- save_feedback,
305
- inputs=[feedback, user_id_state],
306
- outputs=feedback_output,
307
- )
308
- with gr.Row():
309
- gr.Markdown(
310
- "If you need us to ask another climate science report or ask any question, contact us at <b>theo.alvesdacosta@ekimetrics.com</b>"
311
- )
312
 
313
- with gr.Row():
314
  with gr.Column(scale=1):
315
  gr.Markdown("## OpenAI API")
316
  gr.Markdown(
 
293
  ### Feedbacks
294
  """
295
  )
 
 
296
  feedback = gr.Textbox(label="Write your feedback here")
 
297
  feedback_output = gr.Textbox(label="Submit status")
298
+ feedback_save = gr.Button(value="submit feedback")
299
+ feedback_save.click(
300
+ save_feedback,
301
+ inputs=[feedback, user_id_state],
302
+ outputs=feedback_output,
303
+ )
304
+ gr.Markdown(
305
+ "If you need us to ask another climate science report or ask any question, contact us at <b>theo.alvesdacosta@ekimetrics.com</b>"
306
+ )
 
 
307
 
 
308
  with gr.Column(scale=1):
309
  gr.Markdown("## OpenAI API")
310
  gr.Markdown(