Commit
Β·
8ddcc62
1
Parent(s):
d4bec39
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def plot_volatility_bands(ticker, reference_year):
|
|
91 |
print(f"Demand Level 3Ο: {Low_Band_3std.round(2)}\n")
|
92 |
|
93 |
# Creating an HTML extension of the Plotly figure
|
94 |
-
fig_html = fig
|
95 |
|
96 |
# Creating the text output
|
97 |
text_info = f"""
|
@@ -126,7 +126,7 @@ iface = gr.Interface(
|
|
126 |
gr.inputs.Number(label="Enter the Year of Reference")
|
127 |
],
|
128 |
outputs=[
|
129 |
-
gr.outputs.
|
130 |
gr.outputs.Textbox(label="Supply and Demand Levels")
|
131 |
]
|
132 |
)
|
|
|
91 |
print(f"Demand Level 3Ο: {Low_Band_3std.round(2)}\n")
|
92 |
|
93 |
# Creating an HTML extension of the Plotly figure
|
94 |
+
fig_html = fig
|
95 |
|
96 |
# Creating the text output
|
97 |
text_info = f"""
|
|
|
126 |
gr.inputs.Number(label="Enter the Year of Reference")
|
127 |
],
|
128 |
outputs=[
|
129 |
+
gr.outputs.Plotly(label="Candlestick Chart")(label="Candlestick Chart"),
|
130 |
gr.outputs.Textbox(label="Supply and Demand Levels")
|
131 |
]
|
132 |
)
|