Update app.py
Browse files
app.py
CHANGED
|
@@ -58,8 +58,7 @@ demo = gr.Interface(
|
|
| 58 |
inputs=gr.File(label="Upload OBJ File", file_types=[".obj"], type="file"),
|
| 59 |
outputs=gr.Textbox(label="Result", lines=15),
|
| 60 |
title="🧪 File Upload Test",
|
| 61 |
-
description="Upload an OBJ file to test if Gradio file upload is working."
|
| 62 |
-
)
|
| 63 |
|
| 64 |
if __name__ == "__main__":
|
| 65 |
print("="*60)
|
|
@@ -70,5 +69,4 @@ if __name__ == "__main__":
|
|
| 70 |
server_name="0.0.0.0",
|
| 71 |
server_port=7860,
|
| 72 |
share=False,
|
| 73 |
-
show_error=True
|
| 74 |
-
)
|
|
|
|
| 58 |
inputs=gr.File(label="Upload OBJ File", file_types=[".obj"], type="file"),
|
| 59 |
outputs=gr.Textbox(label="Result", lines=15),
|
| 60 |
title="🧪 File Upload Test",
|
| 61 |
+
description="Upload an OBJ file to test if Gradio file upload is working.")
|
|
|
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
print("="*60)
|
|
|
|
| 69 |
server_name="0.0.0.0",
|
| 70 |
server_port=7860,
|
| 71 |
share=False,
|
| 72 |
+
show_error=True)
|
|
|