Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,8 +112,8 @@ def generate_object_history(object_name):
|
|
| 112 |
additional_args={"user_prompt": prompt}
|
| 113 |
)
|
| 114 |
|
| 115 |
-
if isinstance(result, (list, tuple)):
|
| 116 |
-
|
| 117 |
|
| 118 |
image = result.to_raw()
|
| 119 |
except Exception as e:
|
|
|
|
| 112 |
additional_args={"user_prompt": prompt}
|
| 113 |
)
|
| 114 |
|
| 115 |
+
#if isinstance(result, (list, tuple)):
|
| 116 |
+
result = result[0]
|
| 117 |
|
| 118 |
image = result.to_raw()
|
| 119 |
except Exception as e:
|