Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ from huggingface_hub import HfFileSystem
|
|
| 93 |
fs = HfFileSystem(token=os.environ["acces_token"])
|
| 94 |
|
| 95 |
def write_to_file(file_name,content):
|
| 96 |
-
file_path = f"datasets/mgreg555/samu_reference_book" + file_name
|
| 97 |
with fs.open(file_path, "r") as file_old:
|
| 98 |
content_old = file_old.read()
|
| 99 |
print(content_old)
|
|
|
|
| 93 |
fs = HfFileSystem(token=os.environ["acces_token"])
|
| 94 |
|
| 95 |
def write_to_file(file_name,content):
|
| 96 |
+
file_path = f"datasets/mgreg555/samu_reference_book/" + file_name
|
| 97 |
with fs.open(file_path, "r") as file_old:
|
| 98 |
content_old = file_old.read()
|
| 99 |
print(content_old)
|