Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ def gradio_interface():
|
|
61 |
gr.Markdown("<h3 style='font-size: 18px; font-weight: bold;'>Options</h3>")
|
62 |
protagonist_background = gr.Dropdown(label="Protagonist Background", choices=["Orphaned hero", "Reluctant leader", "Chosen one with hidden powers", "Hardened warrior","Random"], value="Orphaned hero")
|
63 |
antagonist_motivation = gr.Dropdown(label="Antagonist Motivation", choices=["Revenge", "Thirst for power", "Ideological conflict", "Desire for chaos","Random"], value="Revenge")
|
64 |
-
environment = gr.Textbox(label="Game
|
65 |
-
environment_detail = gr.Dropdown(label="Environment Details", choices=["Stormy mountains", "Lush forests with hidden dangers", "Desolate desert with ancient ruins", "Frozen tundra with mystical creatures","random environment"], value="
|
66 |
|
67 |
|
68 |
with gr.Column(scale=4):
|
@@ -70,9 +70,9 @@ def gradio_interface():
|
|
70 |
tone = gr.Dropdown(label="Tone", choices=["dark", "humorous", "epic", "light-hearted","Random"], value="epic")
|
71 |
style = gr.Dropdown(label="Style", choices=["formal", "casual", "dramatic", "whimsical","Random"], value="formal")
|
72 |
with gr.Row():
|
73 |
-
protagonist = gr.Textbox(label="Protagonist")
|
74 |
with gr.Row():
|
75 |
-
antagonist = gr.Textbox(label="Antagonist")
|
76 |
|
77 |
generate_button = gr.Button("Generate", elem_id="generate-button")
|
78 |
|
|
|
61 |
gr.Markdown("<h3 style='font-size: 18px; font-weight: bold;'>Options</h3>")
|
62 |
protagonist_background = gr.Dropdown(label="Protagonist Background", choices=["Orphaned hero", "Reluctant leader", "Chosen one with hidden powers", "Hardened warrior","Random"], value="Orphaned hero")
|
63 |
antagonist_motivation = gr.Dropdown(label="Antagonist Motivation", choices=["Revenge", "Thirst for power", "Ideological conflict", "Desire for chaos","Random"], value="Revenge")
|
64 |
+
environment = gr.Textbox(label="Game Story (Theme about Plot")
|
65 |
+
environment_detail = gr.Dropdown(label="Environment Details", choices=["Stormy mountains", "Lush forests with hidden dangers", "Desolate desert with ancient ruins", "Frozen tundra with mystical creatures","random environment"], value="Random Environment")
|
66 |
|
67 |
|
68 |
with gr.Column(scale=4):
|
|
|
70 |
tone = gr.Dropdown(label="Tone", choices=["dark", "humorous", "epic", "light-hearted","Random"], value="epic")
|
71 |
style = gr.Dropdown(label="Style", choices=["formal", "casual", "dramatic", "whimsical","Random"], value="formal")
|
72 |
with gr.Row():
|
73 |
+
protagonist = gr.Textbox(label="Protagonist (Hero) ")
|
74 |
with gr.Row():
|
75 |
+
antagonist = gr.Textbox(label="Antagonist (Villain)")
|
76 |
|
77 |
generate_button = gr.Button("Generate", elem_id="generate-button")
|
78 |
|