Subhraj07 commited on
Commit
c97b922
·
1 Parent(s): 8b80b36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ with gr.Blocks() as demo:
27
  with gr.Row():
28
  file = gr.inputs.File(type="file", label="Upload CSV")
29
  key = gr.Textbox(placeholder="Paste OPENAI API KEY")
30
- out = gr.DataFrame()
31
 
32
  btn = gr.Button("Execute")
33
  btn.click(fn=process_file, inputs=[file, key], outputs=out)
 
27
  with gr.Row():
28
  file = gr.inputs.File(type="file", label="Upload CSV")
29
  key = gr.Textbox(placeholder="Paste OPENAI API KEY")
30
+ out = gr.DataFrame(type="pandas")
31
 
32
  btn = gr.Button("Execute")
33
  btn.click(fn=process_file, inputs=[file, key], outputs=out)