MrSimple07 commited on
Commit
a9c222c
·
verified ·
1 Parent(s): 9abda6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ example_texts = [
16
  ["Climate change is one of the most pressing issues of our time. Rising global temperatures, melting ice caps, and extreme weather events are just some of the impacts being observed. Scientists and policymakers are working together to find sustainable solutions to mitigate its effects and protect the planet for future generations."]
17
  ]
18
 
19
- # Create a Gradio interface with modern syntax
20
- with gr.Blocks(theme=gr.themes.HuggingFace()) as iface:
21
  gr.Markdown("# 📄 Text Summarization App")
22
  gr.Markdown("This app generates a concise summary for long-form text (articles, reports, books, etc.). Adjust the sliders to control the length of the summary. Powered by Hugging Face's BART model.")
23
 
 
16
  ["Climate change is one of the most pressing issues of our time. Rising global temperatures, melting ice caps, and extreme weather events are just some of the impacts being observed. Scientists and policymakers are working together to find sustainable solutions to mitigate its effects and protect the planet for future generations."]
17
  ]
18
 
19
+ # Create a Gradio interface with the default theme
20
+ with gr.Blocks() as iface:
21
  gr.Markdown("# 📄 Text Summarization App")
22
  gr.Markdown("This app generates a concise summary for long-form text (articles, reports, books, etc.). Adjust the sliders to control the length of the summary. Powered by Hugging Face's BART model.")
23