Sa-m commited on
Commit
8a44135
1 Parent(s): 68fe8d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -386,13 +386,13 @@ def analysis(Manifesto,Search):
386
  img5=DispersionPlot(text_Party)
387
  #concordance(text_Party,Search)
388
  searChRes=get_all_phases_containing_tar_wrd(text_Party,Search)
389
- #searChRes=searchRes.replace(Search,"\u0332".join(Search))
390
  return searChRes,fdist_Party,img1,img2,img3,img4,img5
391
 
392
 
393
  Search_txt=gr.inputs.Textbox()
394
  filePdf = gr.inputs.File()
395
- text = gr.outputs.Textbox(label='SEARCHED OUTPUT')
396
  mfw=gr.outputs.Label(label="Most Relevant Topics")
397
  plot1=gr.outputs. Image(label='Sentiment Analysis')
398
  plot2=gr.outputs.Image(label='Subjectivity Analysis')
 
386
  img5=DispersionPlot(text_Party)
387
  #concordance(text_Party,Search)
388
  searChRes=get_all_phases_containing_tar_wrd(text_Party,Search)
389
+ searChRes=searChRes.replace(Search,"\u0332".join(Search))
390
  return searChRes,fdist_Party,img1,img2,img3,img4,img5
391
 
392
 
393
  Search_txt=gr.inputs.Textbox()
394
  filePdf = gr.inputs.File()
395
+ text = gr.outputs.Textbox(label='Context Based Search')
396
  mfw=gr.outputs.Label(label="Most Relevant Topics")
397
  plot1=gr.outputs. Image(label='Sentiment Analysis')
398
  plot2=gr.outputs.Image(label='Subjectivity Analysis')