dibend commited on
Commit
5936d70
1 Parent(s): c8c9279

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def main_interface(ticker, period):
80
  # Step 7: Set Up Gradio Interface with corrected type parameter
81
  iface = gr.Interface(fn=main_interface,
82
  inputs=[gr.Textbox(label="Asset Ticker"), gr.Textbox(label="Period: (e.g., 1y, 2y, 5y)")],
83
- outputs=gr.Plot(type="filepath"), # Corrected type parameter
84
  title="Stock Analysis Tool",
85
  description="Enter a stock ticker and period to analyze buy/sell signals based on RSI and MACD.")
86
 
 
80
  # Step 7: Set Up Gradio Interface with corrected type parameter
81
  iface = gr.Interface(fn=main_interface,
82
  inputs=[gr.Textbox(label="Asset Ticker"), gr.Textbox(label="Period: (e.g., 1y, 2y, 5y)")],
83
+ outputs=gr.Plot(), # Corrected type parameter
84
  title="Stock Analysis Tool",
85
  description="Enter a stock ticker and period to analyze buy/sell signals based on RSI and MACD.")
86