Spaces:
Build error
Build error
move api_name to upload
#2
by
merve
HF Staff
- opened
app.py
CHANGED
|
@@ -70,7 +70,6 @@ with gr.Blocks(title=title) as iface:
|
|
| 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")
|
| 76 |
upload_button.upload(
|
|
@@ -81,6 +80,7 @@ with gr.Blocks(title=title) as iface:
|
|
| 81 |
gr.Text(label="Unknown Types"),
|
| 82 |
gr.Text(label="Errors and Warnings"),
|
| 83 |
],
|
|
|
|
| 84 |
)
|
| 85 |
|
| 86 |
|
|
|
|
| 70 |
"Click to Upload a File",
|
| 71 |
file_types=None,
|
| 72 |
file_count="single",
|
|
|
|
| 73 |
)
|
| 74 |
file_output = gr.File(label="Converted File")
|
| 75 |
upload_button.upload(
|
|
|
|
| 80 |
gr.Text(label="Unknown Types"),
|
| 81 |
gr.Text(label="Errors and Warnings"),
|
| 82 |
],
|
| 83 |
+
api_name="upload-file"
|
| 84 |
)
|
| 85 |
|
| 86 |
|