Fix app file
Browse files- app/app.py +2 -2
app/app.py
CHANGED
|
@@ -287,7 +287,7 @@ def voice_chat():
|
|
| 287 |
sources = []
|
| 288 |
|
| 289 |
# ์์ค ๋ฌธ์ ๋ด์ฉ์ ์ปจํ
์คํธ๋ก ์ค๋น
|
| 290 |
-
context = "\n".join([doc["
|
| 291 |
logger.info(f"๊ฒ์๋ ์์ค ์: {len(sources)}")
|
| 292 |
|
| 293 |
# LLM ํธ์ถ: ์ง๋ฌธ๊ณผ ์ปจํ
์คํธ๋ฅผ ๋ฐํ์ผ๋ก ์๋ต ์์ฑ
|
|
@@ -462,4 +462,4 @@ def send_static(path):
|
|
| 462 |
return send_from_directory('static', path)
|
| 463 |
|
| 464 |
if __name__ == '__main__':
|
| 465 |
-
app.run(debug=
|
|
|
|
| 287 |
sources = []
|
| 288 |
|
| 289 |
# ์์ค ๋ฌธ์ ๋ด์ฉ์ ์ปจํ
์คํธ๋ก ์ค๋น
|
| 290 |
+
context = "\n".join([doc["text"] for doc in sources])
|
| 291 |
logger.info(f"๊ฒ์๋ ์์ค ์: {len(sources)}")
|
| 292 |
|
| 293 |
# LLM ํธ์ถ: ์ง๋ฌธ๊ณผ ์ปจํ
์คํธ๋ฅผ ๋ฐํ์ผ๋ก ์๋ต ์์ฑ
|
|
|
|
| 462 |
return send_from_directory('static', path)
|
| 463 |
|
| 464 |
if __name__ == '__main__':
|
| 465 |
+
app.run(debug=False, host='0.0.0.0', port=5000)
|