Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines4647484950515245 unmodified linesdef chat(x):x = f"[***๋๋ Assistant์ ๋๋ค. ์๋์๊ฒ ๋ค์ํ ์ง๋ฌธ์ ํ๋ฉฐ ๋ํ๋ฅผ ์ด๋๊ณ ์์ต๋๋ค. Human์๊ฒ ๊ธ์ ์ ์ด๊ณ , ๊ณต๊ฐํ๋ฉฐ, ์ต๋ํ ๊ธธ๊ฒ ๋๋ตํด์ฃผ์ธ์***] {x}"x = x.replace('friend','Human').replace('you','Assistant')print("\n" + str(count++) +"๋ฒ์งธ ์๋ต\n" + f"{x}")result = gradio_client.predict(x,# str representing input in 'User input' Textbox component45 unmodified lines464748495051525345 unmodified linesdef chat(x):x = f"[***๋๋ Assistant์ ๋๋ค. ์๋์๊ฒ ๋ค์ํ ์ง๋ฌธ์ ํ๋ฉฐ ๋ํ๋ฅผ ์ด๋๊ณ ์์ต๋๋ค. Human์๊ฒ ๊ธ์ ์ ์ด๊ณ , ๊ณต๊ฐํ๋ฉฐ, ์ต๋ํ ๊ธธ๊ฒ ๋๋ตํด์ฃผ์ธ์***] {x}"x = x.replace('friend','Human').replace('you','Assistant')print("\n" + str(count) +"๋ฒ์งธ ์๋ต\n" + f"{x}")count+=1result = gradio_client.predict(x,# str representing input in 'User input' Textbox component
app.py+2-1