euler314 commited on
Commit
ca3efa7
·
verified ·
1 Parent(s): 213c40d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -821,8 +821,7 @@ with gr.Blocks(title="Nuitka Python Compiler for Linux", theme=gr.themes.Soft())
821
  with gr.Group(visible=False) as file_upload_group:
822
  uploaded_file = gr.File(
823
  label="Upload Python File (.py)",
824
- file_types=[".py", ".txt"],
825
- type="file"
826
  )
827
  load_file_btn = gr.Button("Load File", variant="secondary")
828
 
 
821
  with gr.Group(visible=False) as file_upload_group:
822
  uploaded_file = gr.File(
823
  label="Upload Python File (.py)",
824
+ file_types=[".py", ".txt"]
 
825
  )
826
  load_file_btn = gr.Button("Load File", variant="secondary")
827