Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,14 +32,19 @@ def image_to_3d(image_path:str)-> dict: #it's import to specify the return type
|
|
| 32 |
)
|
| 33 |
print(result)
|
| 34 |
|
| 35 |
-
return
|
| 36 |
-
|
| 37 |
-
"obj_path": result[3],
|
| 38 |
-
"file_export": result[1],
|
| 39 |
-
"html_preview": result[0]
|
| 40 |
-
}
|
| 41 |
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
@tool
|
| 45 |
def get_current_time_in_timezone(timezone: str) -> str:
|
|
|
|
| 32 |
)
|
| 33 |
print(result)
|
| 34 |
|
| 35 |
+
return f"""
|
| 36 |
+
Mesh Generation Result
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
+
Copy these exact fields into the final answer. Do not invent URLs. Do not omit any field.
|
| 39 |
+
|
| 40 |
+
html_preview: {result[0]}
|
| 41 |
+
|
| 42 |
+
file_export: {result[1]},
|
| 43 |
+
|
| 44 |
+
glb_path: {result[2]},
|
| 45 |
+
|
| 46 |
+
obj_path: {result[3]}
|
| 47 |
+
"""
|
| 48 |
|
| 49 |
@tool
|
| 50 |
def get_current_time_in_timezone(timezone: str) -> str:
|