Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ def build_space(repo_name,file_name,file_content,access_token=""):
|
|
153 |
client.commit_repo(space_id, message=commit_message)
|
154 |
return [{'role':'assistant','content': commit_message+'\nCommit Success' }]
|
155 |
except Exception as e:
|
156 |
-
return [{'role':'assistant','content': 'There was an Error: '+e}]
|
157 |
|
158 |
|
159 |
def agent(prompt_in,history,mod=2):
|
|
|
153 |
client.commit_repo(space_id, message=commit_message)
|
154 |
return [{'role':'assistant','content': commit_message+'\nCommit Success' }]
|
155 |
except Exception as e:
|
156 |
+
return [{'role':'assistant','content': 'There was an Error: ' + str(e)}]
|
157 |
|
158 |
|
159 |
def agent(prompt_in,history,mod=2):
|