luisotorres commited on
Commit
3f16c4d
Β·
1 Parent(s): f732c53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ 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
- return str(e)
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
+ return str(e), str(e) # Returning error message for both outputs
116
 
117
  iface = gr.Interface(
118
  fn=wrapper_func,