Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -234,13 +234,10 @@ def chat(id, npc, text):
|
|
234 |
### ์บ๋ฆญํฐ ์ ๋ณด: {npc_story[npc]}
|
235 |
|
236 |
### ๋ช
๋ น์ด:
|
237 |
-
{npc}์ ์ ๋ณด๋ฅผ ์ฐธ๊ณ ํ์ฌ {npc}
|
238 |
-
{history[npc][id]}
|
239 |
-
|
240 |
-
### User:
|
241 |
-
{text}
|
242 |
|
243 |
-
|
|
|
244 |
"""
|
245 |
|
246 |
#inputs = tokenizer(prom, return_tensors="pt")["input_ids"]
|
|
|
234 |
### ์บ๋ฆญํฐ ์ ๋ณด: {npc_story[npc]}
|
235 |
|
236 |
### ๋ช
๋ น์ด:
|
237 |
+
{npc}์ ์ ๋ณด๋ฅผ ์ฐธ๊ณ ํ์ฌ {npc}์ ๋ง์ ์ํฉ์ ๋ง์ถฐ ์์ฐ์ค๋ฝ๊ฒ ์์ฑํด์ฃผ์ธ์. ํ ๋ฌธ์ฅ๋ง ์์ฑํ์ธ์.
|
|
|
|
|
|
|
|
|
238 |
|
239 |
+
[๋ํ๊ธฐ๋ก]
|
240 |
+
{history[npc][id]}
|
241 |
"""
|
242 |
|
243 |
#inputs = tokenizer(prom, return_tensors="pt")["input_ids"]
|