Spaces:
Paused
Paused
ElPlaguister commited on
Commit ยท
c8a4b93
1
Parent(s): bbc20a6
Feat Special Token can be Replaced
Browse filesFiles changed (3)
- README.txt+1-1
- app.py+1-1
- model.py+2
1234# KOMUCHAT : Korean community-style relationship counseling chabotKOMUChat: ์จ๋ผ์ธ ์ปค๋ฎค๋ํฐ ์คํ์ผ์ ์ฐ์ ์๋ด์ฑ๋ด### ๊ฐ์์ฌ๋๋ค์ ์ค์ ๋ํ๋ฅผ ๋ฐ์ํ๊ธฐ ์ํด ํ๊ตญ ์ปค๋ฎค๋ํฐ ์ํจ์ฝ๋ฆฌ์ + ์ธ์คํฐ์ฆ์์ ์์งํ ์ฝ 3๋ง๊ฑด์ ์ง๋ฌธ-๋ต๋ณ ๋ํ ๋ฐ์ดํฐ์ ์ผ๋ก ํ์ต์ํจ ์ฑ๋ด<br>1234# KOMUCHAT : Korean community-style relationship counseling chatbotKOMUChat: ์จ๋ผ์ธ ์ปค๋ฎค๋ํฐ ์คํ์ผ์ ์ฐ์ ์๋ด์ฑ๋ด### ๊ฐ์์ฌ๋๋ค์ ์ค์ ๋ํ๋ฅผ ๋ฐ์ํ๊ธฐ ์ํด ํ๊ตญ ์ปค๋ฎค๋ํฐ ์ํจ์ฝ๋ฆฌ์ + ์ธ์คํฐ์ฆ์์ ์์งํ ์ฝ 3๋ง๊ฑด์ ์ง๋ฌธ-๋ต๋ณ ๋ํ ๋ฐ์ดํฐ์ ์ผ๋ก ํ์ต์ํจ ์ฑ๋ด<br>
57 unmodified lines5859606162636457 unmodified linesMODELS[1].placeholder = '์ฐ์ ๊ด๋ จ ์ง๋ฌธ์ ์ ๋ ฅํ์ธ์. (KoAlpaca๋ ์ถ๋ก ์ 1๋ถ ์ด์ ์์๋ฉ๋๋ค!)'with gr.Blocks(theme=prepare_theme()) as demo:gr.HTML("<h1>KOMUChat : Korean community-style relationship counseling chabot</h1>")with gr.Tab("์๊ฐ"):gr.Markdown(readme)for i in range(len(MODELS)):57 unmodified lines5859606162636457 unmodified linesMODELS[1].placeholder = '์ฐ์ ๊ด๋ จ ์ง๋ฌธ์ ์ ๋ ฅํ์ธ์. (KoAlpaca๋ ์ถ๋ก ์ 1๋ถ ์ด์ ์์๋ฉ๋๋ค!)'with gr.Blocks(theme=prepare_theme()) as demo:gr.HTML("<h1>KOMUChat : Korean community-style relationship counseling chatbot</h1>")with gr.Tab("์๊ฐ"):gr.Markdown(readme)for i in range(len(MODELS)):
15 unmodified lines161718192015 unmodified linesdef chat(self, message, chat_history):response = self.generate(message)chat_history.append((message, response))return "", gr.Chatbot(chat_history, label=self.name, bubble_full_width=False)15 unmodified lines1617181920212215 unmodified linesdef chat(self, message, chat_history):response = self.generate(message)response = response.replace('#ํ์#', '๋')response = response.replace('#์ฒญ์#', '๋')chat_history.append((message, response))return "", gr.Chatbot(chat_history, label=self.name, bubble_full_width=False)
README.txt+1-1
app.py+1-1
model.py+2