Update.
Browse files
app.py
CHANGED
|
@@ -265,8 +265,8 @@ def infer_chatts_stream(prompt: str, csv_file, use_default):
|
|
| 265 |
# βββ GRADIO APP ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 266 |
|
| 267 |
with gr.Blocks(title="ChatTS Demo") as demo:
|
| 268 |
-
gr.Markdown("## ChatTS
|
| 269 |
-
gr.Markdown("Upload a CSV file where each column is a time series
|
| 270 |
|
| 271 |
# State to track whether to use default time series
|
| 272 |
use_default_state = gr.State(value=True)
|
|
@@ -283,7 +283,7 @@ with gr.Blocks(title="ChatTS Demo") as demo:
|
|
| 283 |
lines=6,
|
| 284 |
placeholder="Enter your analysis prompt here...",
|
| 285 |
label="Analysis Prompt",
|
| 286 |
-
value="Please analyze
|
| 287 |
)
|
| 288 |
|
| 289 |
run_btn = gr.Button("Run ChatTS", variant="primary")
|
|
|
|
| 265 |
# βββ GRADIO APP ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 266 |
|
| 267 |
with gr.Blocks(title="ChatTS Demo") as demo:
|
| 268 |
+
gr.Markdown("## ChatTS: Time Series Understanding and Reasoning")
|
| 269 |
+
gr.Markdown("Upload a CSV file where each column is a time series (no index column). All columns will be treated as time series data.")
|
| 270 |
|
| 271 |
# State to track whether to use default time series
|
| 272 |
use_default_state = gr.State(value=True)
|
|
|
|
| 283 |
lines=6,
|
| 284 |
placeholder="Enter your analysis prompt here...",
|
| 285 |
label="Analysis Prompt",
|
| 286 |
+
value="Please analyze all the given time series and provide insights about the local fluctuations in the time series."
|
| 287 |
)
|
| 288 |
|
| 289 |
run_btn = gr.Button("Run ChatTS", variant="primary")
|