Sa-m commited on
Commit
9159590
1 Parent(s): 82321de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -272,10 +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',examples=[['manifestos/Bjp_Manifesto_2019.pdf','modi'],['Aap_Manifesto_2019.pdf','delhi'],['manifestos/Congress_Manifesto_2019.pdf','safety']])
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
 
 
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',examples=[['manifestos/Bjp_Manifesto_2019.pdf','modi'],['AAP_Manifesto_2019.pdf','delhi'],['manifestos/Congress_Manifesto_2019.pdf','safety']])
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