broadfield commited on
Commit
5ceef2a
·
verified ·
1 Parent(s): 9a5ab76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):