kashif HF staff commited on
Commit
b359e4d
1 Parent(s): d7202b3

add example csv format

Browse files
Files changed (1) hide show
  1. app.py +14 -3
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
- Upload a univariate csv with the first column showing your dates and the second column having your data
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