marioggil commited on
Commit
96be5b8
1 Parent(s): 5b89deb

BugFix: delete line of run

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def ClassificateDocs(pathimage):
29
  sequence = sequence.replace(processor.tokenizer.eos_token, "").replace(processor.tokenizer.pad_token, "")
30
  sequence = re.sub(r"<.*?>", "", sequence, count=1).strip() # remove first task start token
31
  return processor.token2json(sequence)
32
- ClassificateDocs("/content/Factura3.jpeg")
33
  demo = gr.Blocks()
34
 
35
  gradio_app = gr.Interface(
 
29
  sequence = sequence.replace(processor.tokenizer.eos_token, "").replace(processor.tokenizer.pad_token, "")
30
  sequence = re.sub(r"<.*?>", "", sequence, count=1).strip() # remove first task start token
31
  return processor.token2json(sequence)
32
+
33
  demo = gr.Blocks()
34
 
35
  gradio_app = gr.Interface(