Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,17 +64,18 @@ st.sidebar.markdown("""
|
|
64 |
""")
|
65 |
|
66 |
# Embed JavaScript chatbot code using Streamlit components
|
|
|
|
|
67 |
st.components.v1.html("""
|
68 |
<script src="https://cm36cv1ly1jf0za4zge3j22h8.agent.pa.smyth.ai/static/embodiment/chatBot/chatbot-v2.js"></script>
|
69 |
<script>
|
70 |
ChatBot.init({
|
71 |
domain: 'cm36cv1ly1jf0za4zge3j22h8.agent.pa.smyth.ai',
|
72 |
// additional settings can go here
|
73 |
-
// introMessage: 'Hello, how can I assist you today?',
|
74 |
-
// colors and other settings
|
75 |
});
|
76 |
</script>
|
77 |
-
""", height=
|
|
|
78 |
|
79 |
# Header and intro
|
80 |
st.title("Google Cloud NLP Entity Analyzer")
|
|
|
64 |
""")
|
65 |
|
66 |
# Embed JavaScript chatbot code using Streamlit components
|
67 |
+
|
68 |
+
|
69 |
st.components.v1.html("""
|
70 |
<script src="https://cm36cv1ly1jf0za4zge3j22h8.agent.pa.smyth.ai/static/embodiment/chatBot/chatbot-v2.js"></script>
|
71 |
<script>
|
72 |
ChatBot.init({
|
73 |
domain: 'cm36cv1ly1jf0za4zge3j22h8.agent.pa.smyth.ai',
|
74 |
// additional settings can go here
|
|
|
|
|
75 |
});
|
76 |
</script>
|
77 |
+
""", height=100)
|
78 |
+
|
79 |
|
80 |
# Header and intro
|
81 |
st.title("Google Cloud NLP Entity Analyzer")
|