KrishGoyani commited on
Commit
48bdf6b
·
verified ·
1 Parent(s): 46d46d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ def ner(text, labels, threshold) :
52
  ],
53
  }
54
 
55
- def parser(file_path, labels):
56
  text = pdf2text(file_path)
57
  return ner(text, labels, threshold)
58
 
@@ -90,7 +90,7 @@ with gr.Blocks(css=custom_css) as demo:
90
  labels = gr.Textbox(
91
  label="Labels",
92
  placeholder="Enter your labels here (comma separated)",
93
- scale=1,
94
  )
95
  threshold = gr.Slider(
96
  0,
 
52
  ],
53
  }
54
 
55
+ def parser(file_path, labels, threshold):
56
  text = pdf2text(file_path)
57
  return ner(text, labels, threshold)
58
 
 
90
  labels = gr.Textbox(
91
  label="Labels",
92
  placeholder="Enter your labels here (comma separated)",
93
+ scale=2,
94
  )
95
  threshold = gr.Slider(
96
  0,