Update app.py
Browse files
app.py
CHANGED
@@ -113,13 +113,11 @@ end_default = datetime.now().strftime("%Y-%m-%d")
|
|
113 |
iface = gr.Interface(
|
114 |
fn=stock_prediction,
|
115 |
inputs=[
|
116 |
-
gr.
|
117 |
-
gr.
|
118 |
-
gr.
|
119 |
-
],
|
120 |
-
outputs=[
|
121 |
-
gr.outputs.JSON(label="Prediction and Analysis")
|
122 |
],
|
|
|
123 |
live=True
|
124 |
)
|
125 |
|
|
|
113 |
iface = gr.Interface(
|
114 |
fn=stock_prediction,
|
115 |
inputs=[
|
116 |
+
gr.Dropdown(choices=tickers, label="Select Stock Ticker"),
|
117 |
+
gr.Date(label="Start Date", value=start_default),
|
118 |
+
gr.Date(label="End Date", value=end_default),
|
|
|
|
|
|
|
119 |
],
|
120 |
+
outputs=gr.JSON(label="Prediction and Analysis"),
|
121 |
live=True
|
122 |
)
|
123 |
|