Spaces:
Runtime error
Runtime error
Update test.py
Browse files
test.py
CHANGED
|
@@ -37,7 +37,7 @@ def manage_hf_files(hf_token):
|
|
| 37 |
|
| 38 |
# Write to a remote filehd
|
| 39 |
print("\nWriting to 'hello.csv':")
|
| 40 |
-
with fs.open("datasets/bupa1018/Test/data/
|
| 41 |
f.write("text,label\n")
|
| 42 |
f.write("Fantastic movie!,good\n")
|
| 43 |
print("Data successfully written to 'hello.csv'.")
|
|
|
|
| 37 |
|
| 38 |
# Write to a remote filehd
|
| 39 |
print("\nWriting to 'hello.csv':")
|
| 40 |
+
with fs.open("datasets/bupa1018/Test/data/hello2.csv", "w") as f:
|
| 41 |
f.write("text,label\n")
|
| 42 |
f.write("Fantastic movie!,good\n")
|
| 43 |
print("Data successfully written to 'hello.csv'.")
|