add title and description
Browse files41 unmodified lines42434445464748495041 unmodified linesreturn figtitle = "Predict time series"description = "Predict time series"# article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"examples = ['BA-test.csv', 'BA-test-2.csv', 'BA-test-3.csv']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)iface.launch()41 unmodified lines4243444546474849505141 unmodified linesreturn figtitle = "Predict time series"description = "Predict next 32 values for stock time series"# article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"examples = ['BA-test.csv', 'BA-test-2.csv', 'BA-test-3.csv']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, title=title, description=description)iface.launch()
app.py+3-2