Update
Browse files
app.py
CHANGED
|
@@ -324,8 +324,7 @@ with gr.Blocks(title="ChatTS Demo") as demo:
|
|
| 324 |
<a href="https://arxiv.org/abs/2412.03104"><img alt="preprint" src="https://img.shields.io/static/v1?label=arXiv&message=2412.03104&color=B31B1B&logo=arXiv"></a>
|
| 325 |
</div>""")
|
| 326 |
gr.Markdown("Try ChatTS with the default time series, or upload a CSV file (Example: [ts_example.csv](https://github.com/NetManAIOps/ChatTS/blob/main/demo/ts_example.csv)) containing UTS/MTS where each column is a dimension (no index column). All columns will be used as input of ChatTS automatically.")
|
| 327 |
-
gr.Markdown("
|
| 328 |
-
gr.Markdown("Since ChatTS only supports English, please use English to ask questions. If you like ChatTS, kindly star our [GitHub repo](https://github.com/NetmanAIOps/ChatTS). If you find any issues, feel free to open an issue in the [GitHub Issues](https://github.com/NetManAIOps/ChatTS/issues).")
|
| 329 |
|
| 330 |
# State to track whether to use default time series
|
| 331 |
use_default_state = gr.State(value=True)
|
|
@@ -343,7 +342,7 @@ with gr.Blocks(title="ChatTS Demo") as demo:
|
|
| 343 |
label="Upload CSV File",
|
| 344 |
file_types=[".csv"],
|
| 345 |
type="filepath",
|
| 346 |
-
height=
|
| 347 |
)
|
| 348 |
|
| 349 |
prompt_input = gr.Textbox(
|
|
|
|
| 324 |
<a href="https://arxiv.org/abs/2412.03104"><img alt="preprint" src="https://img.shields.io/static/v1?label=arXiv&message=2412.03104&color=B31B1B&logo=arXiv"></a>
|
| 325 |
</div>""")
|
| 326 |
gr.Markdown("Try ChatTS with the default time series, or upload a CSV file (Example: [ts_example.csv](https://github.com/NetManAIOps/ChatTS/blob/main/demo/ts_example.csv)) containing UTS/MTS where each column is a dimension (no index column). All columns will be used as input of ChatTS automatically.")
|
| 327 |
+
gr.Markdown("The length should be between 16 and 1024, with 15 time series at most. Please use English to ask questions. If you like ChatTS, kindly star our [GitHub repo](https://github.com/NetmanAIOps/ChatTS).")
|
|
|
|
| 328 |
|
| 329 |
# State to track whether to use default time series
|
| 330 |
use_default_state = gr.State(value=True)
|
|
|
|
| 342 |
label="Upload CSV File",
|
| 343 |
file_types=[".csv"],
|
| 344 |
type="filepath",
|
| 345 |
+
height=80
|
| 346 |
)
|
| 347 |
|
| 348 |
prompt_input = gr.Textbox(
|