DavidSB commited on
Commit
b4ab83a
1 Parent(s): e5bcfd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -3,6 +3,7 @@ import pandas as pd
3
  import numpy as np
4
  import gradio as gr
5
  from gradio import outputs
 
6
  from gradio import Interface
7
  import xlsxwriter
8
 
@@ -392,10 +393,10 @@ interface = gr.Interface(
392
  gr.inputs.File(label="Upload planilha", type="file"),
393
  ],
394
  outputs=[
395
- gr.outputs.File(label="Download planilha"),
396
- gr.outputs.Textbox(label="Resultados estatísticos"),
397
- gr.outputs.Textbox(label="Intervalo de confiança de 80%"),
398
- gr.outputs.Textbox(label="Valores Calculados"),
399
 
400
  ],
401
  live=True,
 
3
  import numpy as np
4
  import gradio as gr
5
  from gradio import outputs
6
+ import gradio.components as comp
7
  from gradio import Interface
8
  import xlsxwriter
9
 
 
393
  gr.inputs.File(label="Upload planilha", type="file"),
394
  ],
395
  outputs=[
396
+ gr.comp.File(label="Download planilha"),
397
+ gr.comp.Textbox(label="Resultados estatísticos"),
398
+ gr.comp.Textbox(label="Intervalo de confiança de 80%"),
399
+ gr.comp.Textbox(label="Valores Calculados"),
400
 
401
  ],
402
  live=True,