blazingbunny commited on
Commit
8254962
·
verified ·
1 Parent(s): 9887425

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -63,7 +63,18 @@ st.sidebar.markdown("""
63
  5. **Export Entities**: Export the entities as JSON or CSV.
64
  """)
65
 
66
-
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  # Header and intro
69
  st.title("Google Cloud NLP Entity Analyzer")
 
63
  5. **Export Entities**: Export the entities as JSON or CSV.
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=0)
78
 
79
  # Header and intro
80
  st.title("Google Cloud NLP Entity Analyzer")