Mr-Vicky-01 commited on
Commit
3a2439b
1 Parent(s): 28c54e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,5 +15,5 @@ examples = [
15
  ["The rise of artificial intelligence (AI) has revolutionized various industries, including healthcare, finance, and transportation. AI technologies such as machine learning and natural language processing have enabled computers to perform tasks that were once thought to be exclusive to humans. In healthcare, AI is being used to diagnose diseases, personalize treatment plans, and predict patient outcomes. In finance, AI algorithms analyze market trends, manage portfolios, and detect fraudulent activities. Additionally, AI-powered autonomous vehicles are poised to transform transportation by enhancing safety and efficiency on the roads. Overall, the widespread adoption of AI is reshaping the way we live and work, with profound implications for society in the coming years."],
16
  ]
17
 
18
- demo = gr.Interface(fn=language_translator, inputs='text',outputs='text',title='Text Summarization', examples=examples)
19
  demo.launch(debug=True,share=True)
 
15
  ["The rise of artificial intelligence (AI) has revolutionized various industries, including healthcare, finance, and transportation. AI technologies such as machine learning and natural language processing have enabled computers to perform tasks that were once thought to be exclusive to humans. In healthcare, AI is being used to diagnose diseases, personalize treatment plans, and predict patient outcomes. In finance, AI algorithms analyze market trends, manage portfolios, and detect fraudulent activities. Additionally, AI-powered autonomous vehicles are poised to transform transportation by enhancing safety and efficiency on the roads. Overall, the widespread adoption of AI is reshaping the way we live and work, with profound implications for society in the coming years."],
16
  ]
17
 
18
+ demo = gr.Interface(fn=generate_summary, inputs='text',outputs='text',title='Text Summarization', examples=examples)
19
  demo.launch(debug=True,share=True)