Spaces:
Runtime error
Runtime error
nelbarman053
commited on
Commit
·
366fcb3
1
Parent(s):
bc6b3d5
Caaution text added
Browse files
app.py
CHANGED
@@ -1,8 +1,19 @@
|
|
1 |
import streamlit as st
|
2 |
import streamlit.components.v1 as components
|
3 |
|
4 |
-
|
|
|
|
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
dialogflow_bot = """
|
7 |
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1">
|
8 |
</script>
|
@@ -24,4 +35,4 @@ dialogflow_bot = """
|
|
24 |
></df-messenger>
|
25 |
"""
|
26 |
|
27 |
-
components.html(dialogflow_bot, height=
|
|
|
1 |
import streamlit as st
|
2 |
import streamlit.components.v1 as components
|
3 |
|
4 |
+
# Title text
|
5 |
+
title_text = "<h1 style='color: #3A225D;'>Welcome to IPL Buddy...</h1>"
|
6 |
+
st.markdown(title_text, unsafe_allow_html=True)
|
7 |
|
8 |
+
# Caution text
|
9 |
+
caution_text = """
|
10 |
+
<h5 style="color: #e10000;">
|
11 |
+
N.B: The production server and the backend database are running on free tiers. So, it may take some time or a few multiple tries to get reply. Sorry for the inconvenience..🙂
|
12 |
+
</h5>
|
13 |
+
"""
|
14 |
+
st.markdown(caution_text, unsafe_allow_html=True)
|
15 |
+
|
16 |
+
# Chatbot integration
|
17 |
dialogflow_bot = """
|
18 |
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1">
|
19 |
</script>
|
|
|
35 |
></df-messenger>
|
36 |
"""
|
37 |
|
38 |
+
components.html(dialogflow_bot, height=680)
|