Commit
Β·
6c634e7
1
Parent(s):
3f16c4d
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,8 @@ def wrapper_func(ticker, reference_year):
|
|
112 |
fig_html, text_info = plot_volatility_bands(ticker, str(reference_year))
|
113 |
return fig_html, text_info
|
114 |
except Exception as e:
|
115 |
-
|
|
|
116 |
|
117 |
iface = gr.Interface(
|
118 |
fn=wrapper_func,
|
|
|
112 |
fig_html, text_info = plot_volatility_bands(ticker, str(reference_year))
|
113 |
return fig_html, text_info
|
114 |
except Exception as e:
|
115 |
+
error_message = str(e)
|
116 |
+
return error_message, error_message
|
117 |
|
118 |
iface = gr.Interface(
|
119 |
fn=wrapper_func,
|