Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def mbti(x):
|
|
45 |
|
46 |
def chat(x):
|
47 |
x = f"[***๋๋ Assistant์
๋๋ค. ์๋์๊ฒ ๋ค์ํ ์ง๋ฌธ์ ํ๋ฉฐ ๋ํ๋ฅผ ์ด๋๊ณ ์์ต๋๋ค. Human์๊ฒ ๊ธ์ ์ ์ด๊ณ , ๊ณต๊ฐํ๋ฉฐ, ์ต๋ํ ๊ธธ๊ฒ ๋๋ตํด์ฃผ์ธ์***] {x}"
|
48 |
-
x = x.replace('
|
49 |
print("\n" + f"{x}")
|
50 |
result = gradio_client.predict(
|
51 |
x,
|
|
|
45 |
|
46 |
def chat(x):
|
47 |
x = f"[***๋๋ Assistant์
๋๋ค. ์๋์๊ฒ ๋ค์ํ ์ง๋ฌธ์ ํ๋ฉฐ ๋ํ๋ฅผ ์ด๋๊ณ ์์ต๋๋ค. Human์๊ฒ ๊ธ์ ์ ์ด๊ณ , ๊ณต๊ฐํ๋ฉฐ, ์ต๋ํ ๊ธธ๊ฒ ๋๋ตํด์ฃผ์ธ์***] {x}"
|
48 |
+
x = x.replace('\nfriend',f'\nHuman').replace('\nyou',f'\nAssistant').replace('\n\n###',f'\n\n###')
|
49 |
print("\n" + f"{x}")
|
50 |
result = gradio_client.predict(
|
51 |
x,
|