Spaces:
Running
Running
Update chain.py
Browse files
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 |
-
|
112 |
|
113 |
-
|
114 |
# Writing data to a file
|
115 |
-
|
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():
|