Eric Botti
commited on
Commit
·
9e6c181
1
Parent(s):
5401171
added logo
Browse files- img/logo.svg +130 -0
- src/app.py +4 -9
- src/messages.py +1 -0
img/logo.svg
ADDED
|
src/app.py
CHANGED
@@ -1,19 +1,14 @@
|
|
1 |
import asyncio
|
|
|
2 |
|
3 |
import streamlit as st
|
|
|
4 |
|
5 |
from game import Game
|
6 |
|
7 |
-
st.set_page_config(layout="wide", page_title="Chameleon", page_icon="
|
|
|
8 |
|
9 |
-
# CSS
|
10 |
-
st.markdown("""
|
11 |
-
<style>
|
12 |
-
[data-testid="stVerticalBlock"]:has(div.info_container) [data-testid="stMarkdownContainer"] p {
|
13 |
-
text-align: center;
|
14 |
-
}
|
15 |
-
</style>
|
16 |
-
""", unsafe_allow_html=True)
|
17 |
|
18 |
def display_message(message):
|
19 |
if message["type"] == "game":
|
|
|
1 |
import asyncio
|
2 |
+
from time import sleep
|
3 |
|
4 |
import streamlit as st
|
5 |
+
from langchain_core.messages import AIMessage
|
6 |
|
7 |
from game import Game
|
8 |
|
9 |
+
st.set_page_config(layout="wide", page_title="Chameleon", page_icon="img/logo.svg")
|
10 |
+
human_turn = False
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
def display_message(message):
|
14 |
if message["type"] == "game":
|
src/messages.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
|