bruno16 commited on
Commit
98a0d76
1 Parent(s): 95a84bb

Update chain.py

Browse files
Files changed (1) hide show
  1. chain.py +4 -4
chain.py CHANGED
@@ -107,12 +107,12 @@ def get_answer(
107
 
108
  f_name = wandb_run.config.log_file
109
 
110
- if isinstance(f_name, str) and f_name:
111
- f_name = pathlib.Path(f_name)
112
 
113
- with open(f_name, "w") as file1:
114
  # Writing data to a file
115
- file1.write("Hello \n")
116
 
117
 
118
  #if f_name and f_name.is_file():
 
107
 
108
  f_name = wandb_run.config.log_file
109
 
110
+ #if isinstance(f_name, str) and f_name:
111
+ # f_name = pathlib.Path(f_name)
112
 
113
+ # with open(f_name, "w") as file1:
114
  # Writing data to a file
115
+ # file1.write("Hello \n")
116
 
117
 
118
  #if f_name and f_name.is_file():