Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,6 +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: ' + str(e)}]
|
| 157 |
|
| 158 |
|
|
|
|
| 153 |
client.commit_repo(space_id, message=commit_message)
|
| 154 |
return [{'role':'assistant','content': commit_message+'\nCommit Success' }]
|
| 155 |
except Exception as e:
|
| 156 |
+
print("ERROR ",e)
|
| 157 |
return [{'role':'assistant','content': 'There was an Error: ' + str(e)}]
|
| 158 |
|
| 159 |
|