Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def extract_text_from_pdf(pdf_path):
|
|
25 |
return text
|
26 |
|
27 |
# ๋ฒ๋ฅ ๋ฌธ์ PDF ๊ฒฝ๋ก ์ง์ ๋ฐ ํ
์คํธ ์ถ์ถ
|
28 |
-
pdf_path = "
|
29 |
law_text = extract_text_from_pdf(pdf_path)
|
30 |
|
31 |
# ๋ฒ๋ฅ ๋ฌธ์ ํ
์คํธ๋ฅผ ๋ฌธ์ฅ ๋จ์๋ก ๋๋๊ณ ์๋ฒ ๋ฉ
|
|
|
25 |
return text
|
26 |
|
27 |
# ๋ฒ๋ฅ ๋ฌธ์ PDF ๊ฒฝ๋ก ์ง์ ๋ฐ ํ
์คํธ ์ถ์ถ
|
28 |
+
pdf_path = "laws.pdf" # ์ฌ๊ธฐ์ ์ค์ PDF ๊ฒฝ๋ก๋ฅผ ์
๋ ฅํ์ธ์.
|
29 |
law_text = extract_text_from_pdf(pdf_path)
|
30 |
|
31 |
# ๋ฒ๋ฅ ๋ฌธ์ ํ
์คํธ๋ฅผ ๋ฌธ์ฅ ๋จ์๋ก ๋๋๊ณ ์๋ฒ ๋ฉ
|