Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def process_job(job_id):
|
|
| 54 |
# Step 3: Extract GLB
|
| 55 |
c.execute("UPDATE jobs SET status='extracting' WHERE id=?", (job_id,))
|
| 56 |
conn.commit()
|
| 57 |
-
time.sleep(
|
| 58 |
glb_result = trellis_client.predict(
|
| 59 |
mesh_simplify=0.95,
|
| 60 |
texture_size=1024,
|
|
|
|
| 54 |
# Step 3: Extract GLB
|
| 55 |
c.execute("UPDATE jobs SET status='extracting' WHERE id=?", (job_id,))
|
| 56 |
conn.commit()
|
| 57 |
+
time.sleep(65) # Wait for 3D processing; adjust as needed
|
| 58 |
glb_result = trellis_client.predict(
|
| 59 |
mesh_simplify=0.95,
|
| 60 |
texture_size=1024,
|