Spaces:
Sleeping
Sleeping
BugFix: delete line of run
Browse files
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 |
-
|
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(
|