Spaces:
Running
on
Zero
Error regarding the exception but has not enabled verbose error reporting. To enable, set show_error=True in launch()
I am using the below code use via api to run image to 3d but it is giving me an error
API call error: The upstream Gradio app has raised an exception but has not enabled verbose error reporting. To enable, set show_error=True in launch().
code :
import tempfile
import os
from gradio_client import Client
from flask import Flask, request, send_file, jsonify
app = Flask(name)
client = Client("https://wuvin-unique3d.hf.space/--replicas/ut69e/")
try:
result = client.predict(
"https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png", # Example image URL
True, # Remove Background
-1, # Seed
True, # Generate Video
True, # Refine Multiview Details
-1, # Expansion Weight
"std", # Mesh Initialization
api_name="/generate3dv2"
)
print(result)
except Exception as e:
print(f"API call error: {e}")