Cachoups commited on
Commit
bc69e2c
·
verified ·
1 Parent(s): 6a2554d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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={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
 
 
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