AmnaHassan's picture
Update app.py
226aab2 verified
raw
history blame
992 Bytes
import streamlit as st
# App Title
st.title("StoryForge")
# App Description
st.write("StoryForge helps game developers generate comprehensive Game Design Documents. Input details about your game environment, protagonist, and antagonist to create a structured design document.")
# Sidebar Inputs
with st.sidebar:
st.header("Game Details")
game_environment = st.text_input("Game Environment", "Describe the setting of your game")
protagonist = st.text_input("Protagonist", "Describe the main character")
antagonist = st.text_input("Antagonist", "Describe the main villain or opposing force")
# Layout with two columns
col1, col2 = st.columns(2)
with col1:
st.header("Game Environment")
st.write(game_environment)
with col2:
st.header("Game Story")
st.write("Your game story will be generated based on the inputs provided.")
with col1:
st.header("Protagonist")
st.write(protagonist)
with col2:
st.header("Antagonist")
st.write(antagonist)