Namitg02 commited on
Commit
b4ca68d
·
verified ·
1 Parent(s): 33a3173

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -126,14 +126,14 @@ def talk(prompt, history):
126
  with open('file.txt','w+') as data:
127
  data.write(str(historylog))
128
 
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"
136
- )
137
 
138
  print("upload section passed")
139
 
 
126
  with open('file.txt','w+') as data:
127
  data.write(str(historylog))
128
 
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"
136
+ # )
137
 
138
  print("upload section passed")
139