Spaces:
Running
Running
Ali Abid
commited on
Commit
·
c593f83
1
Parent(s):
0534c31
fix
Browse files
ui/app.py
CHANGED
|
@@ -6,6 +6,8 @@ import json
|
|
| 6 |
|
| 7 |
FILE_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 8 |
OUTPUT_DIR = os.path.join(os.path.dirname(FILE_DIR), "auto_gpt_workspace")
|
|
|
|
|
|
|
| 9 |
|
| 10 |
CSS = """
|
| 11 |
#chatbot {font-family: monospace;}
|
|
|
|
| 6 |
|
| 7 |
FILE_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 8 |
OUTPUT_DIR = os.path.join(os.path.dirname(FILE_DIR), "auto_gpt_workspace")
|
| 9 |
+
if not os.path.exists(OUTPUT_DIR):
|
| 10 |
+
os.mkdir(OUTPUT_DIR)
|
| 11 |
|
| 12 |
CSS = """
|
| 13 |
#chatbot {font-family: monospace;}
|