krasin commited on
Commit
3a464a2
1 Parent(s): 7b627b2

add title and description

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,9 +42,10 @@ def predict(df):
42
  return fig
43
 
44
  title = "Predict time series"
45
- description = "Predict time series"
46
  # article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
47
  examples = ['BA-test.csv', 'BA-test-2.csv', 'BA-test-3.csv']
48
 
49
- iface = gr.Interface(fn=predict, inputs=gr.inputs.Timeseries(x=None, y=['Date','Open','High','Low','Close','Adj Close','Volume']), outputs=gr.outputs.Plot(type='matplotlib'), examples=examples)
 
50
  iface.launch()
42
  return fig
43
 
44
  title = "Predict time series"
45
+ description = "Predict next 32 values for stock time series"
46
  # article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
47
  examples = ['BA-test.csv', 'BA-test-2.csv', 'BA-test-3.csv']
48
 
49
+ iface = gr.Interface(fn=predict, inputs=gr.inputs.Timeseries(x=None, y=['Date','Open','High','Low','Close','Adj Close','Volume']),
50
+ outputs=gr.outputs.Plot(type='matplotlib'), examples=examples, title=title, description=description)
51
  iface.launch()