Update app.py
Browse files
app.py
CHANGED
|
@@ -240,9 +240,9 @@ with gr.Blocks(title="Análisis de Opciones") as demo:
|
|
| 240 |
|
| 241 |
gr.on(
|
| 242 |
trigger = None,
|
| 243 |
-
fn = generar_puts
|
| 244 |
-
|
| 245 |
-
|
| 246 |
)
|
| 247 |
|
| 248 |
|
|
@@ -258,6 +258,7 @@ with gr.Blocks(title="Análisis de Opciones") as demo:
|
|
| 258 |
|
| 259 |
gr.on(
|
| 260 |
trigger = None,
|
|
|
|
| 261 |
inputs=[ticker_input, expiration_date, size_of_the_window],
|
| 262 |
outputs= [ output_df_call, df_call_state]
|
| 263 |
)
|
|
|
|
| 240 |
|
| 241 |
gr.on(
|
| 242 |
trigger = None,
|
| 243 |
+
fn = generar_puts,
|
| 244 |
+
inputs=[ticker_input, expiration_date, size_of_the_window],
|
| 245 |
+
outputs= [ output_df_put, df_put_state]
|
| 246 |
)
|
| 247 |
|
| 248 |
|
|
|
|
| 258 |
|
| 259 |
gr.on(
|
| 260 |
trigger = None,
|
| 261 |
+
fn = generar_calls,
|
| 262 |
inputs=[ticker_input, expiration_date, size_of_the_window],
|
| 263 |
outputs= [ output_df_call, df_call_state]
|
| 264 |
)
|