Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def talk(prompt, history):
|
|
129 |
from huggingface_hub import HfApi
|
130 |
api = HfApi()
|
131 |
api.upload_file(
|
132 |
-
path_or_fileobj=file.txt,
|
133 |
path_in_repo="file.txt",
|
134 |
repo_id="Namitg02/Test",
|
135 |
repo_type="space"
|
|
|
129 |
from huggingface_hub import HfApi
|
130 |
api = HfApi()
|
131 |
api.upload_file(
|
132 |
+
path_or_fileobj="./file.txt",
|
133 |
path_in_repo="file.txt",
|
134 |
repo_id="Namitg02/Test",
|
135 |
repo_type="space"
|