usage read me
Browse files
app.py
CHANGED
|
@@ -154,7 +154,6 @@ def log_on_azure(file, logs, share_client):
|
|
| 154 |
# Gradio
|
| 155 |
css_code = ".gradio-container {background-image: url('file=background.png');background-position: top right}"
|
| 156 |
with gr.Blocks(title="π ClimateGPT Ekimetrics", css=css_code) as demo:
|
| 157 |
-
|
| 158 |
user_id = create_user_id(10)
|
| 159 |
user_id_state = gr.State([user_id])
|
| 160 |
|
|
@@ -163,7 +162,7 @@ with gr.Blocks(title="π ClimateGPT Ekimetrics", css=css_code) as demo:
|
|
| 163 |
gr.Markdown(
|
| 164 |
""" Climate GPT is an interactive exploration tool designed to help you easily find relevant information based on of Environmental reports such as IPCCs and other environmental reports.
|
| 165 |
\n **How does it work:** when a user sends a message, the system retrieves the most relevant paragraphs from scientific reports that are semantically related to the user's question. These paragraphs are then used to generate a comprehensive and well-sourced answer using a language model.
|
| 166 |
-
\n **Usage guideline:** more
|
| 167 |
\n β οΈ Always refer to the source to ensure the validity of the information communicated.
|
| 168 |
"""
|
| 169 |
)
|
|
|
|
| 154 |
# Gradio
|
| 155 |
css_code = ".gradio-container {background-image: url('file=background.png');background-position: top right}"
|
| 156 |
with gr.Blocks(title="π ClimateGPT Ekimetrics", css=css_code) as demo:
|
|
|
|
| 157 |
user_id = create_user_id(10)
|
| 158 |
user_id_state = gr.State([user_id])
|
| 159 |
|
|
|
|
| 162 |
gr.Markdown(
|
| 163 |
""" Climate GPT is an interactive exploration tool designed to help you easily find relevant information based on of Environmental reports such as IPCCs and other environmental reports.
|
| 164 |
\n **How does it work:** when a user sends a message, the system retrieves the most relevant paragraphs from scientific reports that are semantically related to the user's question. These paragraphs are then used to generate a comprehensive and well-sourced answer using a language model.
|
| 165 |
+
\n **Usage guideline:** the more specific your questions, the more relevant will the documents retrieved be.
|
| 166 |
\n β οΈ Always refer to the source to ensure the validity of the information communicated.
|
| 167 |
"""
|
| 168 |
)
|