Spaces:
Build error
Build error
Update text for chatbot
Browse files- app/app.py +6 -1
app/app.py
CHANGED
@@ -10,7 +10,7 @@ import codecs
|
|
10 |
import streamlit.components.v1 as stc
|
11 |
import pathlib
|
12 |
|
13 |
-
# st.set_page_config(page_title="Indonesian
|
14 |
|
15 |
MODELS = {
|
16 |
"Indonesian Literature - GPT-2 Small": {
|
@@ -170,5 +170,10 @@ if model.find("Indonesian Literature") != -1:
|
|
170 |
session_state.text = None
|
171 |
elif model == "Indonesian Persona Chatbot":
|
172 |
st.subheader("Indonesian GPT-2 Persona Chatbot")
|
|
|
|
|
|
|
|
|
|
|
173 |
root_dir = pathlib.Path(".")
|
174 |
stc_chatbot(root_dir)
|
|
|
10 |
import streamlit.components.v1 as stc
|
11 |
import pathlib
|
12 |
|
13 |
+
# st.set_page_config(page_title="Indonesian GPT-2")
|
14 |
|
15 |
MODELS = {
|
16 |
"Indonesian Literature - GPT-2 Small": {
|
|
|
170 |
session_state.text = None
|
171 |
elif model == "Indonesian Persona Chatbot":
|
172 |
st.subheader("Indonesian GPT-2 Persona Chatbot")
|
173 |
+
st.markdown(
|
174 |
+
"""
|
175 |
+
This is a Persona Chatbot using Indonesian GPT2.
|
176 |
+
"""
|
177 |
+
)
|
178 |
root_dir = pathlib.Path(".")
|
179 |
stc_chatbot(root_dir)
|