Kal1510 commited on
Commit
d388f85
·
verified ·
1 Parent(s): 12bec97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=lambda idea: format_output(generate_fantasy_outline(idea)),
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
  )