Spaces:
Sleeping
Sleeping
Commit
Β·
cab93c1
1
Parent(s):
d4a113e
Update app.py
Browse files
app.py
CHANGED
@@ -55,11 +55,7 @@ def get_json_file(json_docs):
|
|
55 |
json_doc = json_loader.load()
|
56 |
return json_doc
|
57 |
|
58 |
-
|
59 |
-
# μμΈκ° λ°μν κ²½μ° μλ¬ λ©μμ§ μΆλ ₯
|
60 |
-
st.error(f"Error processing JSON file: {str(e)}")
|
61 |
-
return None
|
62 |
-
|
63 |
# λ¬Έμλ€μ μ²λ¦¬νμ¬ ν
μ€νΈ μ²ν¬λ‘ λλλ ν¨μμ
λλ€.
|
64 |
def get_text_chunks(documents):
|
65 |
text_splitter = RecursiveCharacterTextSplitter(
|
|
|
55 |
json_doc = json_loader.load()
|
56 |
return json_doc
|
57 |
|
58 |
+
|
|
|
|
|
|
|
|
|
59 |
# λ¬Έμλ€μ μ²λ¦¬νμ¬ ν
μ€νΈ μ²ν¬λ‘ λλλ ν¨μμ
λλ€.
|
60 |
def get_text_chunks(documents):
|
61 |
text_splitter = RecursiveCharacterTextSplitter(
|