Burcin commited on
Commit
b2e388a
·
1 Parent(s): b1eaf99

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def get_wiki_summary(inp):
53
 
54
  print('\033[1m' + "Summarized Text" + '\033[0m')
55
 
56
- return print(summary)
57
 
58
  if __name__ == '__main__':
59
  gr.Interface(fn=get_wiki_summary, inputs=gr.inputs.Textbox(label="Requested Topic from Wikipedia : "), outputs="text").launch(inline=False, share=True)
 
53
 
54
  print('\033[1m' + "Summarized Text" + '\033[0m')
55
 
56
+ return summary
57
 
58
  if __name__ == '__main__':
59
  gr.Interface(fn=get_wiki_summary, inputs=gr.inputs.Textbox(label="Requested Topic from Wikipedia : "), outputs="text").launch(inline=False, share=True)