Spaces:
Runtime error
Runtime error
nelbarman053
commited on
Commit
·
bc6b3d5
1
Parent(s):
5655fb1
Ipl chat buddy files added
Browse files- app.py +27 -0
- assets/match_info.png +0 -0
- assets/player_of_the_match.png +0 -0
- assets/team_info.png +0 -0
- assets/umpire_info.png +0 -0
- pages/Conversation_Flow_Diagrams.py +19 -0
- requirements.txt +0 -0
app.py
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import streamlit.components.v1 as components
|
3 |
+
|
4 |
+
st.title("Welcome to IPL Buddy...")
|
5 |
+
|
6 |
+
dialogflow_bot = """
|
7 |
+
<script src="https://www.gstatic.com/dialogflow-console/fast/messenger/bootstrap.js?v=1">
|
8 |
+
</script>
|
9 |
+
<style>
|
10 |
+
df-messenger {
|
11 |
+
--df-messenger-bot-message: #878fac;
|
12 |
+
--df-messenger-button-titlebar-color: #3A225D;
|
13 |
+
--df-messenger-chat-background-color: #fafafa;
|
14 |
+
--df-messenger-font-color: white;
|
15 |
+
--df-messenger-send-icon: #878fac;
|
16 |
+
--df-messenger-user-message: #479b3d;
|
17 |
+
}
|
18 |
+
</style>
|
19 |
+
<df-messenger
|
20 |
+
intent="WELCOME"
|
21 |
+
chat-title="IPL Buddy"
|
22 |
+
agent-id="cc8dfc8c-36c0-420e-9c7b-aeb2ba566a1c"
|
23 |
+
language-code="en"
|
24 |
+
></df-messenger>
|
25 |
+
"""
|
26 |
+
|
27 |
+
components.html(dialogflow_bot, height=700)
|
assets/match_info.png
ADDED
assets/player_of_the_match.png
ADDED
assets/team_info.png
ADDED
assets/umpire_info.png
ADDED
pages/Conversation_Flow_Diagrams.py
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
st.title("Conversation Flow Diagrams")
|
4 |
+
|
5 |
+
# Team Info
|
6 |
+
st.header("Team Info")
|
7 |
+
st.image("assets/team_info.png")
|
8 |
+
|
9 |
+
# Match Info
|
10 |
+
st.header("Match Info")
|
11 |
+
st.image("assets/match_info.png")
|
12 |
+
|
13 |
+
# Umpire Info
|
14 |
+
st.header("Umpire Info")
|
15 |
+
st.image("assets/umpire_info.png")
|
16 |
+
|
17 |
+
# Player of the match
|
18 |
+
st.header("Player of the match")
|
19 |
+
st.image("assets/player_of_the_match.png")
|
requirements.txt
ADDED
Binary file (36 Bytes). View file
|
|