Spaces:
Sleeping
Sleeping
Kim Adams commited on
Commit ·
3d8adfc
1
Parent(s): 04d5e16
updating versions
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🤸
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 3.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 3.48.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
create_games/data/game_ideas.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
[
|
| 2 |
{
|
| 3 |
-
"Name": "
|
| 4 |
-
"Description": "Players take turns drawing a
|
| 5 |
-
"Rationale": "This game encourages
|
| 6 |
}
|
| 7 |
]
|
|
|
|
| 1 |
[
|
| 2 |
{
|
| 3 |
+
"Name": "Lunch and Learn Drawing Game",
|
| 4 |
+
"Description": "Players take turns drawing a picture of something related to the theme 'lunch and learn'. The other player must guess what the drawing is. The first player to guess correctly wins the round.",
|
| 5 |
+
"Rationale": "This game encourages creativity and communication, and is a fun way for the players to engage with the theme 'lunch and learn'."
|
| 6 |
}
|
| 7 |
]
|
home_view/__pycache__/ui_home.cpython-311.pyc
CHANGED
|
Binary files a/home_view/__pycache__/ui_home.cpython-311.pyc and b/home_view/__pycache__/ui_home.cpython-311.pyc differ
|
|
|
home_view/art/buildPlay.svg
CHANGED
|
|
|
|
home_view/art/logo.png
ADDED
|
home_view/ui_home.py
CHANGED
|
@@ -73,7 +73,7 @@ df4 =gr.Dataframe(type="pandas", value= playersDF)
|
|
| 73 |
df5 =gr.Dataframe(type="pandas", value=gamesDF)
|
| 74 |
|
| 75 |
with gr.Blocks() as ui:
|
| 76 |
-
with gr.Row():
|
| 77 |
logo=gr.Image(value=constants.BUILDPLAY_LOGO, width=200, height=200, show_download_button=False, container=False)
|
| 78 |
directions= gr.Markdown(constants.DIRECTIONS, container=False)
|
| 79 |
with gr.Column():
|
|
@@ -96,7 +96,7 @@ with gr.Blocks() as dfs:
|
|
| 96 |
fetchBtn=gr.Button(value=constants.FETCH_DATA, variant="primary")
|
| 97 |
gr.TabbedInterface([df1,df2,df3,df4,df5], (constants.UI1, constants.UI2, constants.UI3, constants.UI4, constants.UI5), theme=SoftBlue())
|
| 98 |
fetchBtn.click(FetchData, inputs=[], outputs=[df1,df2,df3,df4,df5])
|
| 99 |
-
|
| 100 |
combo=gr.TabbedInterface([ui,dfs], ("BuildPlay", "DataFrames"),theme=SoftBlue())
|
| 101 |
|
| 102 |
Init()
|
|
|
|
| 73 |
df5 =gr.Dataframe(type="pandas", value=gamesDF)
|
| 74 |
|
| 75 |
with gr.Blocks() as ui:
|
| 76 |
+
with gr.Row():
|
| 77 |
logo=gr.Image(value=constants.BUILDPLAY_LOGO, width=200, height=200, show_download_button=False, container=False)
|
| 78 |
directions= gr.Markdown(constants.DIRECTIONS, container=False)
|
| 79 |
with gr.Column():
|
|
|
|
| 96 |
fetchBtn=gr.Button(value=constants.FETCH_DATA, variant="primary")
|
| 97 |
gr.TabbedInterface([df1,df2,df3,df4,df5], (constants.UI1, constants.UI2, constants.UI3, constants.UI4, constants.UI5), theme=SoftBlue())
|
| 98 |
fetchBtn.click(FetchData, inputs=[], outputs=[df1,df2,df3,df4,df5])
|
| 99 |
+
|
| 100 |
combo=gr.TabbedInterface([ui,dfs], ("BuildPlay", "DataFrames"),theme=SoftBlue())
|
| 101 |
|
| 102 |
Init()
|
utilities/__pycache__/constants.cpython-311.pyc
CHANGED
|
Binary files a/utilities/__pycache__/constants.cpython-311.pyc and b/utilities/__pycache__/constants.cpython-311.pyc differ
|
|
|
utilities/constants.py
CHANGED
|
@@ -9,11 +9,13 @@ GAME_TITLE="Game Title"
|
|
| 9 |
NO_GAME="No game created"
|
| 10 |
NO_GAME_TITLE="Game Title: No game created"
|
| 11 |
PLAY_GAME="Play Game"
|
| 12 |
-
BUILDPLAY_LOGO="home_view/art/
|
| 13 |
FETCH_DATA="Fetch data"
|
| 14 |
|
| 15 |
UI1="Slack"
|
| 16 |
-
UI2="
|
| 17 |
-
UI3="
|
| 18 |
-
UI4="
|
| 19 |
-
UI5="
|
|
|
|
|
|
|
|
|
| 9 |
NO_GAME="No game created"
|
| 10 |
NO_GAME_TITLE="Game Title: No game created"
|
| 11 |
PLAY_GAME="Play Game"
|
| 12 |
+
BUILDPLAY_LOGO="home_view/art/logo.png"
|
| 13 |
FETCH_DATA="Fetch data"
|
| 14 |
|
| 15 |
UI1="Slack"
|
| 16 |
+
UI2="Embeddings"
|
| 17 |
+
UI3="Players"
|
| 18 |
+
UI4="Games"
|
| 19 |
+
UI5="Game Ideas"
|
| 20 |
+
|
| 21 |
+
|