Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -413,8 +413,8 @@ def format_output(outline):
|
|
413 |
|
414 |
def create_gradio_app():
|
415 |
with gr.Blocks(css=CSS) as demo:
|
416 |
-
gr.Markdown("""<div class='main-title'>FANTASY NOVEL OUTLINE GENERATOR</div>""")
|
417 |
-
gr.Markdown("""<div class='sub-title'>Transform your creative vision into a fully-developed fantasy world</div>""")
|
418 |
|
419 |
with gr.Row():
|
420 |
with gr.Column(scale=1):
|
@@ -430,7 +430,7 @@ def create_gradio_app():
|
|
430 |
output_html = gr.HTML(label="Your Generated Outline", elem_id="output-box")
|
431 |
|
432 |
generate_btn.click(
|
433 |
-
fn=
|
434 |
inputs=[user_idea],
|
435 |
outputs=output_html
|
436 |
)
|
|
|
413 |
|
414 |
def create_gradio_app():
|
415 |
with gr.Blocks(css=CSS) as demo:
|
416 |
+
# gr.Markdown("""<div class='main-title'>FANTASY NOVEL OUTLINE GENERATOR</div>""")
|
417 |
+
# gr.Markdown("""<div class='sub-title'>Transform your creative vision into a fully-developed fantasy world</div>""")
|
418 |
|
419 |
with gr.Row():
|
420 |
with gr.Column(scale=1):
|
|
|
430 |
output_html = gr.HTML(label="Your Generated Outline", elem_id="output-box")
|
431 |
|
432 |
generate_btn.click(
|
433 |
+
fn=generate_fantasy_outline,
|
434 |
inputs=[user_idea],
|
435 |
outputs=output_html
|
436 |
)
|