Update app.py
Browse files
app.py
CHANGED
|
@@ -205,14 +205,7 @@ with gr.Blocks(title="An谩lisis de Opciones") as demo:
|
|
| 205 |
btn_plot = gr.Button("Mostrar Plot")
|
| 206 |
|
| 207 |
output_plot = gr.Plot(label="Distribuci贸n de Volumen de las opciones")
|
| 208 |
-
|
| 209 |
-
# Enlaza el bot贸n "Mostrar datos" a la funci贸n generar_todo y a la nueva funci贸n de plot
|
| 210 |
-
btn_plot.click(
|
| 211 |
-
fn=plot_opciones,
|
| 212 |
-
inputs=[df_put_state, df_call_state, ticker_input, expiration_date],
|
| 213 |
-
outputs=output_plot
|
| 214 |
-
)
|
| 215 |
-
'''
|
| 216 |
# Enlaza el bot贸n "Mostrar datos" para actualizar los dataframes y luego para graficar.
|
| 217 |
btn_mostrar.click(
|
| 218 |
fn=generar_todo,
|
|
|
|
| 205 |
btn_plot = gr.Button("Mostrar Plot")
|
| 206 |
|
| 207 |
output_plot = gr.Plot(label="Distribuci贸n de Volumen de las opciones")
|
| 208 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
# Enlaza el bot贸n "Mostrar datos" para actualizar los dataframes y luego para graficar.
|
| 210 |
btn_mostrar.click(
|
| 211 |
fn=generar_todo,
|