add title and description
Browse files
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']),
|
|
|
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()
|