Spaces:
Runtime error
Runtime error
Commit
Β·
3d7fefb
1
Parent(s):
ef7132f
Uodated with debug statement
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def transform_ncuda(img,prompt,cfg=8.0,stps=30,sc=0.8):
|
|
66 |
for resp in answers2:
|
67 |
print('----------------------------------------------------------------------------------')
|
68 |
print(f'{resp}')
|
69 |
-
print(f'Type = {resp.__class__}')
|
70 |
for artifact in resp.artifacts:
|
71 |
if artifact.finish_reason == generation.FILTER:
|
72 |
warnings.warn(
|
|
|
66 |
for resp in answers2:
|
67 |
print('----------------------------------------------------------------------------------')
|
68 |
print(f'{resp}')
|
69 |
+
print(f'DEBUG: Type = {resp.__class__}')
|
70 |
for artifact in resp.artifacts:
|
71 |
if artifact.finish_reason == generation.FILTER:
|
72 |
warnings.warn(
|