Update app.py
Browse files
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,
|