anumaurya114exp commited on
Commit
572da64
·
1 Parent(s): 495743c

remove example from of file write

Browse files
Files changed (1) hide show
  1. app.py +0 -13
app.py CHANGED
@@ -19,19 +19,6 @@ from gptManager import ChatgptManager
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")
26
-
27
- # Read the data from the file
28
- with open(os.path.join(data_dir, "my_data.txt"), "r") as f:
29
- data = f.read()
30
- # Print the data
31
- print(data)
32
-
33
-
34
-
35
  # Filter out all warning messages
36
  warnings.filterwarnings("ignore")
37
 
 
19
  pd.set_option('display.max_columns', None)
20
  pd.set_option('display.max_rows', None)
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  # Filter out all warning messages
23
  warnings.filterwarnings("ignore")
24