Spaces:
Runtime error
Runtime error
Commit
·
d585c90
1
Parent(s):
f385870
Update utils.py
Browse files
utils.py
CHANGED
@@ -39,7 +39,7 @@ async def predict(url: str, recursion: int = 0, fnfnfn: int = randint(1, 1000000
|
|
39 |
"recursion": recursion
|
40 |
}
|
41 |
|
42 |
-
async with aiofiles.open(f"
|
43 |
print(f"Trying to do smth with {fnfnfn}")
|
44 |
await outfile.write(binary)
|
45 |
|
|
|
39 |
"recursion": recursion
|
40 |
}
|
41 |
|
42 |
+
async with aiofiles.open(f"temp/{fnfnfn}.png", "wb") as outfile:
|
43 |
print(f"Trying to do smth with {fnfnfn}")
|
44 |
await outfile.write(binary)
|
45 |
|