Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,10 @@ def train_predict_wrapper(ticker, start_date, end_date, prediction_days):
|
|
50 |
iface = gr.Interface(
|
51 |
fn=train_predict_wrapper,
|
52 |
inputs=[
|
53 |
-
gr.
|
54 |
-
gr.
|
55 |
-
gr.
|
56 |
-
gr.
|
57 |
],
|
58 |
outputs="plot"
|
59 |
)
|
|
|
50 |
iface = gr.Interface(
|
51 |
fn=train_predict_wrapper,
|
52 |
inputs=[
|
53 |
+
gr.Textbox(label="Ticker Symbol"),
|
54 |
+
gr.Textbox(label="Start Date (YYYY-MM-DD)"),
|
55 |
+
gr.Textbox(label="End Date (YYYY-MM-DD)"),
|
56 |
+
gr.Slider(minimum=1, maximum=30, step=1, label="Prediction Days")
|
57 |
],
|
58 |
outputs="plot"
|
59 |
)
|