Update app.py
Browse files
app.py
CHANGED
|
@@ -221,8 +221,9 @@ with gr.Blocks(title="Análisis de Opciones") as demo:
|
|
| 221 |
with gr.Row():
|
| 222 |
ticker_input = gr.Textbox(label="Ticker (ej. GOOGL)", value="MSTR")
|
| 223 |
expiration_date = gr.Textbox(label="Fecha de vencimiento (formato: aaaa-mm-dd)", value = "" )
|
| 224 |
-
|
| 225 |
-
|
|
|
|
| 226 |
|
| 227 |
df_put_state = gr.State(value=initial_df_put)
|
| 228 |
df_call_state = gr.State(value=initial_df_call)
|
|
|
|
| 221 |
with gr.Row():
|
| 222 |
ticker_input = gr.Textbox(label="Ticker (ej. GOOGL)", value="MSTR")
|
| 223 |
expiration_date = gr.Textbox(label="Fecha de vencimiento (formato: aaaa-mm-dd)", value = "" )
|
| 224 |
+
with gr.Row():
|
| 225 |
+
size_of_the_window = gr.Slider(minimum=1, maximum=30, value=16, step=1, label="Tamaño de la ventana")
|
| 226 |
+
btn_mostrar = gr.Button('Cargar Datos')
|
| 227 |
|
| 228 |
df_put_state = gr.State(value=initial_df_put)
|
| 229 |
df_call_state = gr.State(value=initial_df_call)
|