Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
20 |
-
with gr.Blocks(
|
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 |
|