robertselvam commited on
Commit
3e89bbb
1 Parent(s): 3fb57d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks(css="style.css",theme=gr.themes.Soft()) as demo:
49
  pdf_to_json_btn = gr.Button("pdf to json Extracter")
50
  pdf_to_json = gr.Textbox(label = "Pdf to Json")
51
 
52
- pdf_to_json_btn.click(PdftoJson.extract_text_from_pdf,summary,pdf_to_json)
53
 
54
 
55
  demo.launch(debug=True)
 
49
  pdf_to_json_btn = gr.Button("pdf to json Extracter")
50
  pdf_to_json = gr.Textbox(label = "Pdf to Json")
51
 
52
+ pdf_to_json_btn.click(PdftoJson.extract_text_from_pdf,upload_button,pdf_to_json)
53
 
54
 
55
  demo.launch(debug=True)