Update app.py
Browse files
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 |
|