Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -372,7 +372,7 @@ plot3=gr.outputs.Image(label='Word Cloud')
|
|
372 |
plot4=gr.outputs.Image(label='Frequency Distribution')
|
373 |
plot5=gr.outputs.Image(label='Dispersion Plot')
|
374 |
|
375 |
-
io=gr.Interface(fn=analysis, inputs=[filePdf,Search_txt], outputs=[text,mfw,plot1,plot2,plot3,plot4,plot5], title='Manifesto Analysis',
|
376 |
io.launch(debug=True,share=False)
|
377 |
#,examples=[['./Bjp_Manifesto_2019.pdf','india'],['./AAP_Manifesto_2019.pdf',],['./Congress_Manifesto_2019.pdf',]]
|
378 |
#allow_screenshot=False, allow_flagging="never",
|
|
|
372 |
plot4=gr.outputs.Image(label='Frequency Distribution')
|
373 |
plot5=gr.outputs.Image(label='Dispersion Plot')
|
374 |
|
375 |
+
io=gr.Interface(fn=analysis, inputs=[filePdf,Search_txt], outputs=[text,mfw,plot1,plot2,plot3,plot4,plot5], title='Manifesto Analysis',examples=[['manifestos/Bjp_Manifesto_2019.pdf','modi'],['manifestos/AAP_Manifesto_2019.pdf','delhi'],['manifestos/Congress_Manifesto_2019.pdf','safety']])
|
376 |
io.launch(debug=True,share=False)
|
377 |
#,examples=[['./Bjp_Manifesto_2019.pdf','india'],['./AAP_Manifesto_2019.pdf',],['./Congress_Manifesto_2019.pdf',]]
|
378 |
#allow_screenshot=False, allow_flagging="never",
|