Spaces:
Running on Zero
Running on Zero
Fix: add api_name=generate to click handler for Gradio 5 API
Browse files
app.py
CHANGED
|
@@ -687,6 +687,7 @@ with gr.Blocks(
|
|
| 687 |
fn=generate_3d_model,
|
| 688 |
inputs=[input_images, text_prompt, num_faces, export_format, enable_modular],
|
| 689 |
outputs=[model_preview, download_file, status_output],
|
|
|
|
| 690 |
)
|
| 691 |
|
| 692 |
|
|
|
|
| 687 |
fn=generate_3d_model,
|
| 688 |
inputs=[input_images, text_prompt, num_faces, export_format, enable_modular],
|
| 689 |
outputs=[model_preview, download_file, status_output],
|
| 690 |
+
api_name="generate",
|
| 691 |
)
|
| 692 |
|
| 693 |
|