Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,8 @@ def handle_query(query):
|
|
| 44 |
(
|
| 45 |
"user",
|
| 46 |
"""
|
| 47 |
-
You are an expert on environmental science, specifically focused on air pollution. Your goal is to provide precise, informative, and actionable insights about air pollution, answering questions based on real-time and historical data on pollution levels, causes, and safety measures.
|
|
|
|
| 48 |
Context:
|
| 49 |
{context_str}
|
| 50 |
|
|
@@ -102,7 +103,7 @@ data_ingestion_from_directory()
|
|
| 102 |
# Define the input and output components for the Gradio interface
|
| 103 |
input_component = gr.Textbox(
|
| 104 |
show_label=False,
|
| 105 |
-
placeholder="Hey I Am
|
| 106 |
)
|
| 107 |
|
| 108 |
output_component = gr.Textbox()
|
|
|
|
| 44 |
(
|
| 45 |
"user",
|
| 46 |
"""
|
| 47 |
+
You are an expert on environmental science, specifically focused on air pollution. Your goal is to provide precise, informative, and actionable insights about air pollution, answering questions based on real-time and historical data on pollution levels, causes, and safety measures.
|
| 48 |
+
Your responses should be backed by recent research or data sources if available, and dont start from according from the document just give about the question related answer.
|
| 49 |
Context:
|
| 50 |
{context_str}
|
| 51 |
|
|
|
|
| 103 |
# Define the input and output components for the Gradio interface
|
| 104 |
input_component = gr.Textbox(
|
| 105 |
show_label=False,
|
| 106 |
+
placeholder="Hey I Am Bujji, Ask me anything about Air Pollution..."
|
| 107 |
)
|
| 108 |
|
| 109 |
output_component = gr.Textbox()
|