Update app.py
Browse files
app.py
CHANGED
@@ -252,9 +252,9 @@ def create_app():
|
|
252 |
)
|
253 |
|
254 |
with gr.Group():
|
255 |
-
gr.Markdown("### Story Parameters")
|
256 |
genre = gr.Dropdown(
|
257 |
-
label="Genre",
|
258 |
choices=[
|
259 |
"Fantasy", "Science Fiction", "Mystery", "Romance",
|
260 |
"Horror", "Adventure", "Historical Fiction", "Comedy"
|
@@ -262,12 +262,12 @@ def create_app():
|
|
262 |
value="Fantasy"
|
263 |
)
|
264 |
theme = gr.Textbox(
|
265 |
-
label="Theme",
|
266 |
placeholder="e.g., Redemption, Loss, Discovery"
|
267 |
# value="Adventure"
|
268 |
)
|
269 |
length = gr.Radio(
|
270 |
-
label="Story Length",
|
271 |
choices=["Short Story", "Novella", "Novel Chapter"],
|
272 |
value="Short Story"
|
273 |
)
|
|
|
252 |
)
|
253 |
|
254 |
with gr.Group():
|
255 |
+
# gr.Markdown("### Story Parameters")
|
256 |
genre = gr.Dropdown(
|
257 |
+
label="Story Parameters => Genre",
|
258 |
choices=[
|
259 |
"Fantasy", "Science Fiction", "Mystery", "Romance",
|
260 |
"Horror", "Adventure", "Historical Fiction", "Comedy"
|
|
|
262 |
value="Fantasy"
|
263 |
)
|
264 |
theme = gr.Textbox(
|
265 |
+
label="Story Parameters => Theme",
|
266 |
placeholder="e.g., Redemption, Loss, Discovery"
|
267 |
# value="Adventure"
|
268 |
)
|
269 |
length = gr.Radio(
|
270 |
+
label="Story Parameters => Story Length",
|
271 |
choices=["Short Story", "Novella", "Novel Chapter"],
|
272 |
value="Short Story"
|
273 |
)
|