Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -392,7 +392,7 @@ def clear_fn():
|
|
392 |
def hf_write(inp,f_name="tmp1",repo_name="Omnibus/tmp1",token=tok):
|
393 |
uidd=uuid.uuid4()
|
394 |
with open(f"{uidd}.csv", "w") as f:
|
395 |
-
f.write(inp)
|
396 |
|
397 |
api.upload_file(
|
398 |
path_or_fileobj=f"{uidd}.csv",
|
|
|
392 |
def hf_write(inp,f_name="tmp1",repo_name="Omnibus/tmp1",token=tok):
|
393 |
uidd=uuid.uuid4()
|
394 |
with open(f"{uidd}.csv", "w") as f:
|
395 |
+
f.write(str(inp))
|
396 |
|
397 |
api.upload_file(
|
398 |
path_or_fileobj=f"{uidd}.csv",
|