Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def get_wiki_summary(inp):
|
|
53 |
|
54 |
print('\033[1m' + "Summarized Text" + '\033[0m')
|
55 |
|
56 |
-
return
|
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)
|