Ridealist commited on
Commit
c7bceaa
β€’
1 Parent(s): 92005d0

Modify little

Browse files
Files changed (1) hide show
  1. 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')