Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -329,7 +329,7 @@ with gr.Blocks() as demo:
|
|
329 |
sentiment_results_pdf2 = gr.HighlightedText(label="Sentiment Analysis - PDF 2")
|
330 |
|
331 |
# Button to extract text from PDFs and perform sentiment analysis
|
332 |
-
b1.click(fn=process_and_compare, inputs=[file1, sheet, file2, sheet], outputs=
|
333 |
b2.click(fn=process_pdfs_and_analyze_sentiment, inputs=[file1, file2, sheet], outputs=[sentiment_results_pdf1, sentiment_results_pdf2])
|
334 |
|
335 |
|
|
|
329 |
sentiment_results_pdf2 = gr.HighlightedText(label="Sentiment Analysis - PDF 2")
|
330 |
|
331 |
# Button to extract text from PDFs and perform sentiment analysis
|
332 |
+
b1.click(fn=process_and_compare, inputs=[file1, sheet, file2, sheet], outputs=[result,country_1_dropdown])
|
333 |
b2.click(fn=process_pdfs_and_analyze_sentiment, inputs=[file1, file2, sheet], outputs=[sentiment_results_pdf1, sentiment_results_pdf2])
|
334 |
|
335 |
|