Straive-Kripa commited on
Commit
7e5edc5
·
verified ·
1 Parent(s): c05e03d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ with gr.Blocks() as demo:
34
  gr.Markdown("First upload a file and and then you'll be able download it (but only once!)")
35
  gr.Markdown("PII Anonymized:"+pii_anonymizer.anonymize_text_including_proper_nouns_and_addresses("Hello Kripa"))
36
  with gr.Row():
37
- u = gr.UploadButton("Upload a file", file_count="single", filetypes=["txt", "csv", "tsv"])
38
  d = gr.DownloadButton("Download the file", visible=False)
39
 
40
  #u.upload(upload_file, u, [u, d])
 
34
  gr.Markdown("First upload a file and and then you'll be able download it (but only once!)")
35
  gr.Markdown("PII Anonymized:"+pii_anonymizer.anonymize_text_including_proper_nouns_and_addresses("Hello Kripa"))
36
  with gr.Row():
37
+ u = gr.UploadButton("Upload a file", file_count="single", file_types=["text"])
38
  d = gr.DownloadButton("Download the file", visible=False)
39
 
40
  #u.upload(upload_file, u, [u, d])