broadfield commited on
Commit
c48f5da
·
verified ·
1 Parent(s): b70ffa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def format_prompt(message, mod, system):
51
  def generate(prompt,history,mod=2,tok=4000,seed=1,role="ASSISTANT",data=None):
52
  #print("#####",history,"######")
53
  try:
54
- file_list = fs.ls(f'{user_}{repo_}',detail=False)
55
  except Exception as e:
56
  print(e)
57
  file_list=["NO FILES YET"]
 
51
  def generate(prompt,history,mod=2,tok=4000,seed=1,role="ASSISTANT",data=None):
52
  #print("#####",history,"######")
53
  try:
54
+ file_list = fs.ls(f'spaces/{user_}{repo_}',detail=False)
55
  except Exception as e:
56
  print(e)
57
  file_list=["NO FILES YET"]