Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,9 @@ def convert(file):
|
|
67 |
with gr.Blocks(title=title) as iface:
|
68 |
gr.Markdown(desc)
|
69 |
upload_button = gr.UploadButton(
|
70 |
-
"Click to Upload a File",
|
|
|
|
|
71 |
api_name="upload-file"
|
72 |
)
|
73 |
file_output = gr.File(label="Converted File")
|
@@ -82,4 +84,4 @@ with gr.Blocks(title=title) as iface:
|
|
82 |
)
|
83 |
|
84 |
|
85 |
-
iface.launch()
|
|
|
67 |
with gr.Blocks(title=title) as iface:
|
68 |
gr.Markdown(desc)
|
69 |
upload_button = gr.UploadButton(
|
70 |
+
"Click to Upload a File",
|
71 |
+
file_types=None,
|
72 |
+
file_count="single",
|
73 |
api_name="upload-file"
|
74 |
)
|
75 |
file_output = gr.File(label="Converted File")
|
|
|
84 |
)
|
85 |
|
86 |
|
87 |
+
iface.launch(debug=True)
|