Spaces:
Running
Running
Upload gradio_app.py
Browse files- gradio_app.py +1 -3
gradio_app.py
CHANGED
@@ -26,9 +26,7 @@ def generate_and_process_3d(image: Image.Image) -> tuple[str | None, str | None]
|
|
26 |
|
27 |
except Exception as e:
|
28 |
print(f"Error during generation: {str(e)}")
|
29 |
-
|
30 |
-
traceback.print_exc()
|
31 |
-
return None
|
32 |
|
33 |
# Create Gradio app using Blocks
|
34 |
with gr.Blocks() as demo:
|
|
|
26 |
|
27 |
except Exception as e:
|
28 |
print(f"Error during generation: {str(e)}")
|
29 |
+
return None, None
|
|
|
|
|
30 |
|
31 |
# Create Gradio app using Blocks
|
32 |
with gr.Blocks() as demo:
|