add example csv format
Browse files
app.py
CHANGED
@@ -68,11 +68,22 @@ def train_and_forecast(
|
|
68 |
|
69 |
|
70 |
with gr.Blocks() as demo:
|
71 |
-
gr.Markdown(
|
|
|
72 |
# How to use
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
# How it works
|
|
|
76 |
1. Click **Upload** to upload your data
|
77 |
2. Click **Run**
|
78 |
- This app will visualize your data and then train an estimator and show its predictions
|
|
|
68 |
|
69 |
|
70 |
with gr.Blocks() as demo:
|
71 |
+
gr.Markdown(
|
72 |
+
"""
|
73 |
# How to use
|
74 |
+
|
75 |
+
Upload a *univariate* csv with the where the first column contains your dates and the second column is your data for example:
|
76 |
+
|
77 |
+
| ds | y |
|
78 |
+
|------------|---------------|
|
79 |
+
| 2007-12-10 | 9.590761 |
|
80 |
+
| 2007-12-11 | 8.519590 |
|
81 |
+
| 2007-12-12 | 8.183677 |
|
82 |
+
| 2007-12-13 | 8.072467 |
|
83 |
+
| 2007-12-14 | 7.893572 |
|
84 |
+
|
85 |
# How it works
|
86 |
+
|
87 |
1. Click **Upload** to upload your data
|
88 |
2. Click **Run**
|
89 |
- This app will visualize your data and then train an estimator and show its predictions
|