Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
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"]
|