Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -272,8 +272,10 @@ plot3=gr.outputs.Image(label='Word Cloud')
|
|
272 |
plot4=gr.outputs.Image(label='Frequency Distribution')
|
273 |
plot5=gr.outputs.Image(label='Dispersion Plot')
|
274 |
|
275 |
-
io=gr.Interface(fn=analysis, inputs=[filePdf,Search_txt], outputs=[text,mfw,plot1,plot2,plot3,plot4,plot5], title='Manifesto Analysis',
|
276 |
io.launch(debug=True,share=False)
|
277 |
#,examples=[['./Bjp_Manifesto_2019.pdf','india'],['./Aap_Manifesto_2019.pdf',],['./Congress_Manifesto_2019.pdf',]]
|
278 |
#allow_screenshot=False, allow_flagging="never",
|
279 |
|
|
|
|
|
|
272 |
plot4=gr.outputs.Image(label='Frequency Distribution')
|
273 |
plot5=gr.outputs.Image(label='Dispersion Plot')
|
274 |
|
275 |
+
io=gr.Interface(fn=analysis, inputs=[filePdf,Search_txt], outputs=[text,mfw,plot1,plot2,plot3,plot4,plot5], title='Manifesto Analysis',)
|
276 |
io.launch(debug=True,share=False)
|
277 |
#,examples=[['./Bjp_Manifesto_2019.pdf','india'],['./Aap_Manifesto_2019.pdf',],['./Congress_Manifesto_2019.pdf',]]
|
278 |
#allow_screenshot=False, allow_flagging="never",
|
279 |
|
280 |
+
#examples=[['manifestos/Bjp_Manifesto_2019.pdf','modi'],['Aap_Manifesto_2019.pdf','delhi'],['manifestos/Congress_Manifesto_2019.pdf','safety']])
|
281 |
+
|