Spaces:
Runtime error
Runtime error
Commit ·
495743c
1
Parent(s): b310708
bug fix
Browse files
app.py
CHANGED
|
@@ -19,6 +19,7 @@ from gptManager import ChatgptManager
|
|
| 19 |
pd.set_option('display.max_columns', None)
|
| 20 |
pd.set_option('display.max_rows', None)
|
| 21 |
|
|
|
|
| 22 |
# Create a new file
|
| 23 |
with open(os.path.join(data_dir, "my_data.txt"), "a") as f:
|
| 24 |
f.write("Hello World! From pesistent storage line 2")
|
|
|
|
| 19 |
pd.set_option('display.max_columns', None)
|
| 20 |
pd.set_option('display.max_rows', None)
|
| 21 |
|
| 22 |
+
data_dir = os.getenv("HF_HOME", "/data")
|
| 23 |
# Create a new file
|
| 24 |
with open(os.path.join(data_dir, "my_data.txt"), "a") as f:
|
| 25 |
f.write("Hello World! From pesistent storage line 2")
|