fargerm commited on
Commit
431280c
1 Parent(s): 7a63765

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +37 -0
app.py CHANGED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Sidebar Inputs
4
+ st.sidebar.title("StoryForge Input")
5
+ environment = st.sidebar.text_input(
6
+ "Game Environment",
7
+ "Enter a detailed description of the game's world, including key locations, atmosphere, and overall tone."
8
+ )
9
+ protagonist = st.sidebar.text_input(
10
+ "Protagonist",
11
+ "Describe the main character, including their background, personality traits, goals, and what makes them unique."
12
+ )
13
+ antagonist = st.sidebar.text_input(
14
+ "Antagonist",
15
+ "Provide details about the main villain or opposing force, including their motivations, strengths, and weaknesses."
16
+ )
17
+
18
+ # Main App
19
+ st.title("StoryForge")
20
+ st.write("StoryForge is your tool for crafting comprehensive Game Design Documents. Enter your game's details, and StoryForge will generate a structured document to guide your development process.")
21
+
22
+ # Columns for Outputs
23
+ col1, col2 = st.columns(2)
24
+
25
+ with col1:
26
+ st.subheader("Game Environment")
27
+ st.write(environment)
28
+
29
+ st.subheader("Protagonist")
30
+ st.write(protagonist)
31
+
32
+ with col2:
33
+ st.subheader("Game Story")
34
+ st.write("Craft your game's story based on the environment, protagonist, and antagonist.")
35
+
36
+ st.subheader("Antagonist")
37
+ st.write(antagonist)