Spaces:
Sleeping
Sleeping
Modify little
Browse files- chatgpt_app.py +3 -3
chatgpt_app.py
CHANGED
@@ -10,7 +10,7 @@ from streamlit_chat import message
|
|
10 |
from gpt import gpt_api
|
11 |
from sentence_transformers import SentenceTransformer, util
|
12 |
|
13 |
-
st.header("π€μμ° ChatBot (Demo)")
|
14 |
|
15 |
model = SentenceTransformer('snunlp/KR-SBERT-V40K-klueNLI-augSTS')
|
16 |
|
@@ -50,7 +50,7 @@ col1, col2 = st.columns(2)
|
|
50 |
|
51 |
|
52 |
with col1:
|
53 |
-
st.header("RuleBased")
|
54 |
st.image("https://static.streamlit.io/examples/cat.jpg", width=169)
|
55 |
with st.form('form_rulebased', clear_on_submit=True):
|
56 |
user_input = st.text_input(label='You: ', value='', key='input_rulebased')
|
@@ -92,7 +92,7 @@ with col1:
|
|
92 |
|
93 |
|
94 |
with col2:
|
95 |
-
st.header("GPT-4")
|
96 |
st.image("https://static.streamlit.io/examples/dog.jpg", width=200)
|
97 |
with st.form('form_gpt', clear_on_submit=True):
|
98 |
user_input = st.text_input(label='You: ', value='', key='input_gpt')
|
|
|
10 |
from gpt import gpt_api
|
11 |
from sentence_transformers import SentenceTransformer, util
|
12 |
|
13 |
+
st.header("π€μμ° νλ₯΄μλ ChatBot (Demo)")
|
14 |
|
15 |
model = SentenceTransformer('snunlp/KR-SBERT-V40K-klueNLI-augSTS')
|
16 |
|
|
|
50 |
|
51 |
|
52 |
with col1:
|
53 |
+
st.header("1. RuleBased")
|
54 |
st.image("https://static.streamlit.io/examples/cat.jpg", width=169)
|
55 |
with st.form('form_rulebased', clear_on_submit=True):
|
56 |
user_input = st.text_input(label='You: ', value='', key='input_rulebased')
|
|
|
92 |
|
93 |
|
94 |
with col2:
|
95 |
+
st.header("2. GPT-4")
|
96 |
st.image("https://static.streamlit.io/examples/dog.jpg", width=200)
|
97 |
with st.form('form_gpt', clear_on_submit=True):
|
98 |
user_input = st.text_input(label='You: ', value='', key='input_gpt')
|