dibend commited on
Commit
311504a
1 Parent(s): 6457af3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,8 +40,8 @@ def plot_stock_data(ticker, period):
40
 
41
  interface = gr.Interface(
42
  fn=plot_stock_data,
43
- inputs=["text", gr.inputs.Dropdown(['1mo', '3mo', '6mo', '1y', '2y', '5y', '10y', 'ytd', 'max'])],
44
- outputs=gr.outputs.Plot(label="Stock Data Graph"),
45
  title="Historical Stock Data Visualization",
46
  description="Visualize historical stock data with candlestick graphs, including dynamically adjusted moving averages and dividend events."
47
  )
 
40
 
41
  interface = gr.Interface(
42
  fn=plot_stock_data,
43
+ inputs=["text", gr.Dropdown(['1mo', '3mo', '6mo', '1y', '2y', '5y', '10y', 'ytd', 'max'])],
44
+ outputs=gr.Plot(label="Stock Data Graph"),
45
  title="Historical Stock Data Visualization",
46
  description="Visualize historical stock data with candlestick graphs, including dynamically adjusted moving averages and dividend events."
47
  )