Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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='
|
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')
|