Imane Momayiz
commited on
Commit
•
2ce4d20
1
Parent(s):
665c783
fix: new sentence
Browse files
app.py
CHANGED
@@ -42,8 +42,9 @@ def store_submission(api: HfApi, sentence: str, translation: str, translation_fr
|
|
42 |
|
43 |
with open(filename, "w", encoding="utf-8") as f:
|
44 |
f.write(f"darija,eng,darija_ar\n{sentence},{translation},{translation_fr}")
|
45 |
-
|
46 |
print(REPO_ID)
|
|
|
47 |
api.upload_folder(
|
48 |
folder_path=folder_path,
|
49 |
path_in_repo=folder_path,
|
|
|
42 |
|
43 |
with open(filename, "w", encoding="utf-8") as f:
|
44 |
f.write(f"darija,eng,darija_ar\n{sentence},{translation},{translation_fr}")
|
45 |
+
|
46 |
print(REPO_ID)
|
47 |
+
print(filename)
|
48 |
api.upload_folder(
|
49 |
folder_path=folder_path,
|
50 |
path_in_repo=folder_path,
|