Spaces:
Runtime error
Runtime error
Commit ·
a60d865
1
Parent(s): f6bff1c
Adding new page
Browse files- .vscode/launch.json +1 -1
- app.py → Guess the Sport.py +3 -1
- README.md +1 -1
- pages/Guess the Athlete.py +5 -0
.vscode/launch.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"module": "streamlit",
|
| 13 |
"args": [
|
| 14 |
"run",
|
| 15 |
-
"
|
| 16 |
"--server.port",
|
| 17 |
"8519"
|
| 18 |
]
|
|
|
|
| 12 |
"module": "streamlit",
|
| 13 |
"args": [
|
| 14 |
"run",
|
| 15 |
+
"Guess the Sport.py",
|
| 16 |
"--server.port",
|
| 17 |
"8519"
|
| 18 |
]
|
app.py → Guess the Sport.py
RENAMED
|
@@ -12,7 +12,7 @@ option = st.sidebar.selectbox(
|
|
| 12 |
|
| 13 |
st.sidebar.write('You selected:', option)
|
| 14 |
|
| 15 |
-
st.title("Welcome to the :red[
|
| 16 |
|
| 17 |
st.markdown("This game will test your athletics knowledge")
|
| 18 |
st.markdown("Will you be able to guess the athlete in the limited questions?")
|
|
@@ -24,6 +24,8 @@ if start:
|
|
| 24 |
|
| 25 |
clear_chat = st.sidebar.button("Reset", type = "primary")
|
| 26 |
|
|
|
|
|
|
|
| 27 |
|
| 28 |
URL = "http://localhost:7094/"
|
| 29 |
|
|
|
|
| 12 |
|
| 13 |
st.sidebar.write('You selected:', option)
|
| 14 |
|
| 15 |
+
st.title("Welcome to the :red[Sport] guessing game :runner:")
|
| 16 |
|
| 17 |
st.markdown("This game will test your athletics knowledge")
|
| 18 |
st.markdown("Will you be able to guess the athlete in the limited questions?")
|
|
|
|
| 24 |
|
| 25 |
clear_chat = st.sidebar.button("Reset", type = "primary")
|
| 26 |
|
| 27 |
+
st.sidebar.write("[Instagram](https://www.instagram.com/freddieyeo1?igshid=OGQ5ZDc2ODk2ZA==)")
|
| 28 |
+
|
| 29 |
|
| 30 |
URL = "http://localhost:7094/"
|
| 31 |
|
README.md
CHANGED
|
@@ -5,7 +5,7 @@ colorFrom: indigo
|
|
| 5 |
colorTo: blue
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.29.0
|
| 8 |
-
app_file:
|
| 9 |
pinned: false
|
| 10 |
license: cc-by-nc-nd-4.0
|
| 11 |
---
|
|
|
|
| 5 |
colorTo: blue
|
| 6 |
sdk: streamlit
|
| 7 |
sdk_version: 1.29.0
|
| 8 |
+
app_file: "Guess the Sport.py"
|
| 9 |
pinned: false
|
| 10 |
license: cc-by-nc-nd-4.0
|
| 11 |
---
|
pages/Guess the Athlete.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
import requests
|
| 3 |
+
import simplejson as json
|
| 4 |
+
|
| 5 |
+
|