Sa-m commited on
Commit
1b99a51
1 Parent(s): e70e007

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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',description='Aim- To understand and interpret the official manifestos of political parties published on their websites.\nThe analysis would bring clarity of ideas for the general public and precise issues taken or would be taken care by the political parties.',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",
 
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",