anyonehomep1mane commited on
Commit
e33d320
1 Parent(s): ee283c4

Final Changes

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -53,7 +53,7 @@ css_style = """
53
  }
54
  """
55
 
56
- with gr.Blocks() as demo:
57
  with gr.Column(elem_id="container"):
58
  gr.Markdown("# **AI Document Summarizer**", elem_id="title")
59
  gr.Markdown(
@@ -83,11 +83,11 @@ with gr.Blocks() as demo:
83
  "*Powered by Hugging Face Inference API 路 Free tier rate limits apply*"
84
  )
85
 
86
- summarize_btn.click(
87
- fn=summarize_document,
88
- inputs=file_input,
89
- outputs=output,
90
- )
91
 
92
  if __name__ == "__main__":
93
  demo.queue().launch(
 
53
  }
54
  """
55
 
56
+ with gr.Blocks(title="AI Document Summarizer") as demo:
57
  with gr.Column(elem_id="container"):
58
  gr.Markdown("# **AI Document Summarizer**", elem_id="title")
59
  gr.Markdown(
 
83
  "*Powered by Hugging Face Inference API 路 Free tier rate limits apply*"
84
  )
85
 
86
+ summarize_btn.click(
87
+ fn=summarize_document,
88
+ inputs=file_input,
89
+ outputs=output,
90
+ )
91
 
92
  if __name__ == "__main__":
93
  demo.queue().launch(