Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,8 @@ count = 0
|
|
46 |
def chat(x):
|
47 |
x = f"[***๋๋ Assistant์
๋๋ค. ์๋์๊ฒ ๋ค์ํ ์ง๋ฌธ์ ํ๋ฉฐ ๋ํ๋ฅผ ์ด๋๊ณ ์์ต๋๋ค. Human์๊ฒ ๊ธ์ ์ ์ด๊ณ , ๊ณต๊ฐํ๋ฉฐ, ์ต๋ํ ๊ธธ๊ฒ ๋๋ตํด์ฃผ์ธ์***] {x}"
|
48 |
x = x.replace('friend','Human').replace('you','Assistant')
|
49 |
-
print("\n" + str(count
|
|
|
50 |
result = gradio_client.predict(
|
51 |
x,
|
52 |
# str representing input in 'User input' Textbox component
|
|
|
46 |
def chat(x):
|
47 |
x = f"[***๋๋ Assistant์
๋๋ค. ์๋์๊ฒ ๋ค์ํ ์ง๋ฌธ์ ํ๋ฉฐ ๋ํ๋ฅผ ์ด๋๊ณ ์์ต๋๋ค. Human์๊ฒ ๊ธ์ ์ ์ด๊ณ , ๊ณต๊ฐํ๋ฉฐ, ์ต๋ํ ๊ธธ๊ฒ ๋๋ตํด์ฃผ์ธ์***] {x}"
|
48 |
x = x.replace('friend','Human').replace('you','Assistant')
|
49 |
+
print("\n" + str(count) +"๋ฒ์งธ ์๋ต\n" + f"{x}")
|
50 |
+
count+=1
|
51 |
result = gradio_client.predict(
|
52 |
x,
|
53 |
# str representing input in 'User input' Textbox component
|