Namitg02 commited on
Commit
c4676f8
·
verified ·
1 Parent(s): 39d1b6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -129,8 +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
- local_file_path = file.txt,
134
  path_in_repo="file.txt",
135
  repo_id="Namitg02/Test",
136
  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"