xiezhe22 commited on
Commit
a905ec3
Β·
1 Parent(s): 4d218e6
Files changed (1) hide show
  1. app.py +3 -3
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 Demo: Time Series Understanding and Reasoning")
269
- gr.Markdown("Upload a CSV file where each column is a time series, or use the default time series with sudden increase. 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,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 this time series and provide insights about the trends, seasonality, and local fluctuations."
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")