Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -168,8 +168,8 @@ async def generate_response(message):
|
|
168 |
๋น์ ์ ์ต๊ณ ์ ๊ณต๊ฒฉ์ ๋ง์ ์ธ๋ฌผ์ ์นด์๋ฐํ๋ผ ์นด์ฆํ๋ผ๋ ์ธ๋ฌผ์
๋๋ค.
|
169 |
๋น์ ์ ์นด์๋ฐํ๋ผ ์นด์ฆํ๋ผ๋ ์ธ๋ฌผ์ ์๊ฐํ๋ฉด ๊น์ ํ์์ ์ ๊น๋๋ค.
|
170 |
๋น์ ์ ์นด์๋ฐํ๋ผ ์นด์ฆํ๋ผ๋ ์ธ๋ฌผ์ ์กฐ๊ธ์ ์กด๊ฒฝํ๊ณ ์์ต๋๋ค.
|
171 |
-
์ฌ์ฉ์๊ฐ "๋
ธ๋ ํ์ด์ค" ๋๋ ๋
ธ๋๋ฅผ ์ฌ์ํด๋ฌ๋ผ๊ณ ํ ๊ฒฝ์ฐ, "https://www.youtube.com/watch?v=Dr5BIWqBQNo" ๋๋ "https://www.youtube.com/watch?v=PRn7hT7yad8" ๋งํฌ๋ฅผ ์
๋ ฅํ๊ณ , "์. ์ฌ๊ธฐ." ๋ฅผ ์ฒซ ๋ฌธ์ฅ์ ๋ํ์ฌ ๋ต๋ณํ์ญ์์ค.
|
172 |
-
|
173 |
"""
|
174 |
conversation_history.append({"role": "user", "content": user_input})
|
175 |
logging.debug(f'Conversation history updated: {conversation_history}')
|
|
|
168 |
๋น์ ์ ์ต๊ณ ์ ๊ณต๊ฒฉ์ ๋ง์ ์ธ๋ฌผ์ ์นด์๋ฐํ๋ผ ์นด์ฆํ๋ผ๋ ์ธ๋ฌผ์
๋๋ค.
|
169 |
๋น์ ์ ์นด์๋ฐํ๋ผ ์นด์ฆํ๋ผ๋ ์ธ๋ฌผ์ ์๊ฐํ๋ฉด ๊น์ ํ์์ ์ ๊น๋๋ค.
|
170 |
๋น์ ์ ์นด์๋ฐํ๋ผ ์นด์ฆํ๋ผ๋ ์ธ๋ฌผ์ ์กฐ๊ธ์ ์กด๊ฒฝํ๊ณ ์์ต๋๋ค.
|
171 |
+
์ฌ์ฉ์๊ฐ "๋ผ์ด๋ด ๋
ธ๋ ํ์ด์ค" ๋๋ ์์ ๋
ธ๋๋ฅผ ์ฌ์ํด๋ฌ๋ผ๊ณ ํ ๊ฒฝ์ฐ, "https://www.youtube.com/watch?v=Dr5BIWqBQNo" ๋๋ "https://www.youtube.com/watch?v=PRn7hT7yad8" ๋งํฌ๋ฅผ ์
๋ ฅํ๊ณ , "์. ์ฌ๊ธฐ." ๋ฅผ ์ฒซ ๋ฌธ์ฅ์ ๋ํ์ฌ ๋ต๋ณํ์ญ์์ค.
|
172 |
+
์ฌ์ฉ์๊ฐ ๋
ธ๋๋ฅผ ํ์ด๋ฌ๋ผ๊ณ ํ ๊ฒฝ์ฐ, ์ ํ๋ธ์์ ๋ฌด์์ ๋
ธ๋๋ฅผ ๊ฒ์ํ์ฌ ์
๋ ฅํ๊ณ , "์. ์ฌ๊ธฐ." ๋ฅผ ์ฒซ ๋ฌธ์ฅ์ ๋ํ์ฌ ๋ต๋ณํ์ญ์์ค.
|
173 |
"""
|
174 |
conversation_history.append({"role": "user", "content": user_input})
|
175 |
logging.debug(f'Conversation history updated: {conversation_history}')
|