Update app.py
Browse files
app.py
CHANGED
|
@@ -201,7 +201,8 @@ with gr.Blocks(title="Análisis de Opciones") as demo:
|
|
| 201 |
fn=generar_todo,
|
| 202 |
inputs=[ticker_input, expiration_date, size_of_the_window],
|
| 203 |
outputs=[output_df_put, output_df_call, df_put_state, df_call_state]
|
| 204 |
-
|
|
|
|
| 205 |
fn=plot_opciones,
|
| 206 |
inputs=[df_put_state, df_call_state, ticker_input, expiration_date],
|
| 207 |
outputs=output_plot
|
|
|
|
| 201 |
fn=generar_todo,
|
| 202 |
inputs=[ticker_input, expiration_date, size_of_the_window],
|
| 203 |
outputs=[output_df_put, output_df_call, df_put_state, df_call_state]
|
| 204 |
+
|
| 205 |
+
btn_plot.click(
|
| 206 |
fn=plot_opciones,
|
| 207 |
inputs=[df_put_state, df_call_state, ticker_input, expiration_date],
|
| 208 |
outputs=output_plot
|