Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -573,19 +573,19 @@ def save(title,content):
|
|
573 |
|
574 |
repo_name = get_full_repo_name(model_id="Article_Gen3", token="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")
|
575 |
file_url = upload_file(
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
|
590 |
def view():
|
591 |
with open('judul.txt', 'r') as file:
|
|
|
573 |
|
574 |
repo_name = get_full_repo_name(model_id="Article_Gen3", token="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")
|
575 |
file_url = upload_file(
|
576 |
+
path_or_fileobj='judul.txt',
|
577 |
+
path_in_repo="judul.txt",
|
578 |
+
repo_id=repo_name,
|
579 |
+
repo_type="space",
|
580 |
+
token="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",
|
581 |
+
)
|
582 |
+
file_url = upload_file(
|
583 |
+
path_or_fileobj='kontent.txt',
|
584 |
+
path_in_repo="kontent.txt",
|
585 |
+
repo_id=repo_name,
|
586 |
+
repo_type="space",
|
587 |
+
token="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",
|
588 |
+
)
|
589 |
|
590 |
def view():
|
591 |
with open('judul.txt', 'r') as file:
|