Quant0 commited on
Commit
4ebe008
·
verified ·
1 Parent(s): 9fc1766

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -45,15 +45,25 @@ with gr.Blocks(title="Análisis de Correlación") as demo:
45
  )
46
 
47
  with gr.Tab("Evolución de Correlación"):
 
 
 
48
  with gr.Row():
49
  input_step = gr.Slider(minimum=1, maximum=30, value=1, step=1, label="Indica cada cuántos días se calcula la correlación")
50
  input_window = gr.Slider(minimum=1, maximum=60, value=12, step=1, label="Ventana rolling (meses)")
51
- btn_plot = gr.Button("Mostrar Gráfico")
 
 
 
 
 
 
52
  output_plot = gr.Plot(label="Gráfico de Evolución")
53
  btn_excel = gr.Button("Descargar en Excel")
54
  output_file = gr.File(label="Archivo Excel")
55
  output_msg = gr.Label()
56
 
 
57
  btn_plot.click(
58
  fn=plot_evolucion_correlacion_gradio,
59
  inputs=[texto_info2, input_step, input_window],
 
45
  )
46
 
47
  with gr.Tab("Evolución de Correlación"):
48
+ with gr.Row():
49
+ gr.HTML("<div style='height: 40px;'></div>")
50
+
51
  with gr.Row():
52
  input_step = gr.Slider(minimum=1, maximum=30, value=1, step=1, label="Indica cada cuántos días se calcula la correlación")
53
  input_window = gr.Slider(minimum=1, maximum=60, value=12, step=1, label="Ventana rolling (meses)")
54
+ with gr.Row():
55
+
56
+ gr.HTML("<div style='height: 40px;'></div>")
57
+ btn_plot = gr.Button("▶")
58
+ gr.HTML("<div style='height: 40px;'></div>")
59
+ gr.HTML("<div style='height: 40px;'></div>")
60
+
61
  output_plot = gr.Plot(label="Gráfico de Evolución")
62
  btn_excel = gr.Button("Descargar en Excel")
63
  output_file = gr.File(label="Archivo Excel")
64
  output_msg = gr.Label()
65
 
66
+
67
  btn_plot.click(
68
  fn=plot_evolucion_correlacion_gradio,
69
  inputs=[texto_info2, input_step, input_window],