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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -272,7 +272,7 @@ 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",
 
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",