Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,10 +20,10 @@ def fetch_stock_data(ticker_symbol):
|
|
20 |
# Gradio interface
|
21 |
def create_gradio_interface():
|
22 |
# Define the input and output for Gradio
|
23 |
-
ticker_input = gr.
|
24 |
-
historical_output = gr.
|
25 |
-
financials_output = gr.
|
26 |
-
actions_output = gr.
|
27 |
|
28 |
# Define the Gradio interface
|
29 |
interface = gr.Interface(
|
|
|
20 |
# Gradio interface
|
21 |
def create_gradio_interface():
|
22 |
# Define the input and output for Gradio
|
23 |
+
ticker_input = gr.Textbox(label="Enter Ticker Symbol")
|
24 |
+
historical_output = gr.Dataframe(label="Historical Data (1 Year)")
|
25 |
+
financials_output = gr.Dataframe(label="Financials")
|
26 |
+
actions_output = gr.Dataframe(label="Stock Actions")
|
27 |
|
28 |
# Define the Gradio interface
|
29 |
interface = gr.Interface(
|