ksiz commited on
Commit
a236cca
·
verified ·
1 Parent(s): 865917f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -81,18 +81,18 @@ def get_facts(user_question: str) -> str:
81
  return response.message.content
82
 
83
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
84
- gr.Markdown("# Информационная система для помощи в адаптации к климатическим рискам")
85
 
86
  user_input = gr.Textbox(
87
- label="Ваш запрос",
88
  lines=4,
89
  max_lines = 4,
90
- placeholder="Введите свой запрос"
91
  )
92
 
93
- gr.Markdown("# Ответ")
94
  answer_output = gr.Markdown(height=300)
95
- send_button = gr.Button("Получить ответ")
96
 
97
  send_button.click(
98
  fn=get_facts,
 
81
  return response.message.content
82
 
83
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
84
+ gr.Markdown("# Climate Risk Assessment System")
85
 
86
  user_input = gr.Textbox(
87
+ label="Your query",
88
  lines=4,
89
  max_lines = 4,
90
+ placeholder="Write your query"
91
  )
92
 
93
+ gr.Markdown("# Response")
94
  answer_output = gr.Markdown(height=300)
95
+ send_button = gr.Button("Send query")
96
 
97
  send_button.click(
98
  fn=get_facts,