Peter commited on
Commit
cf8b2ce
1 Parent(s): 1a7303a

update api

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ if __name__ == "__main__":
209
  gr.Markdown("Upload your own file:")
210
  uploaded_file = gr.File(
211
  label="Upload a text file",
212
- file_count=1,
213
  type="file",
214
  )
215
  load_file_button = gr.Button("Load Uploaded File")
 
209
  gr.Markdown("Upload your own file:")
210
  uploaded_file = gr.File(
211
  label="Upload a text file",
212
+ file_count="single",
213
  type="file",
214
  )
215
  load_file_button = gr.Button("Load Uploaded File")