Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app/openai_chat_completion.py
CHANGED
@@ -91,7 +91,7 @@ class OpenAIChatCompletions:
|
|
91 |
|
92 |
# jsonObj = pd.read_json(path_or_buf=path_or_buf, lines=True)
|
93 |
file_path = os.path.join(os.getcwd(), "../data/cookies_train.jsonl")
|
94 |
-
|
95 |
with open(file_path, "r") as file:
|
96 |
jsonl_str = file.read()
|
97 |
jsonObj = pd.read_json(BytesIO(jsonl_str.encode()), lines=True, engine="pyarrow")
|
|
|
91 |
|
92 |
# jsonObj = pd.read_json(path_or_buf=path_or_buf, lines=True)
|
93 |
file_path = os.path.join(os.getcwd(), "../data/cookies_train.jsonl")
|
94 |
+
st.write(file_path)
|
95 |
with open(file_path, "r") as file:
|
96 |
jsonl_str = file.read()
|
97 |
jsonObj = pd.read_json(BytesIO(jsonl_str.encode()), lines=True, engine="pyarrow")
|