Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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 |
|