Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -164,7 +164,7 @@ iface = gr.Interface(
|
|
| 164 |
fn=rig_glb_mesh_multistep,
|
| 165 |
inputs=gr.File(
|
| 166 |
label="Upload .glb Mesh File",
|
| 167 |
-
type="filepath" # Corrected type for Gradio
|
| 168 |
),
|
| 169 |
outputs=gr.Model3D(
|
| 170 |
label="Rigged 3D Model (.glb)",
|
|
@@ -188,4 +188,4 @@ if __name__ == "__main__":
|
|
| 188 |
if not os.path.isdir(UNIRIG_REPO_DIR):
|
| 189 |
print(f"CRITICAL: UniRig repository not found at {UNIRIG_REPO_DIR}. Ensure it's cloned in the Space's root.")
|
| 190 |
|
| 191 |
-
iface.launch()
|
|
|
|
| 164 |
fn=rig_glb_mesh_multistep,
|
| 165 |
inputs=gr.File(
|
| 166 |
label="Upload .glb Mesh File",
|
| 167 |
+
type="filepath" # Corrected type for Gradio 5.x
|
| 168 |
),
|
| 169 |
outputs=gr.Model3D(
|
| 170 |
label="Rigged 3D Model (.glb)",
|
|
|
|
| 188 |
if not os.path.isdir(UNIRIG_REPO_DIR):
|
| 189 |
print(f"CRITICAL: UniRig repository not found at {UNIRIG_REPO_DIR}. Ensure it's cloned in the Space's root.")
|
| 190 |
|
| 191 |
+
iface.launch()
|