chkla commited on
Commit
0f04827
·
1 Parent(s): da93c4d

fix upload file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
45
 
46
  # Upload file
47
  file_output = gr.File()
48
- upload_button = gr.UploadButton("Click to Upload a File", type="file", accept=".csv", label="File", outputs=[file_output])
49
  gr.Dataframe(pd.DataFrame(file_output))
50
 
51
 
 
45
 
46
  # Upload file
47
  file_output = gr.File()
48
+ upload_button = gr.UploadButton("Click to Upload a File", outputs=[file_output])
49
  gr.Dataframe(pd.DataFrame(file_output))
50
 
51