NiamaLynn commited on
Commit
cc6733e
1 Parent(s): b343f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def app_outputs(uploaded_pdf):
109
  return msg, img_files[0], img_files[1], images[0], images[1], csv_files[0], csv_files[1], df[0], df[1]
110
 
111
  # gradio APP
112
- with gr.Blocks(title="Inference APP for Document Understanding at line level (v1 - LiLT base)", css=".gradio-container") as demo:
113
  gr.HTML("""
114
  <div style="font-family:'Times New Roman', 'Serif'; font-size:26pt; font-weight:bold; text-align:center;"><h1>Inference application for Documents layout analysis at line level (v1 - LiLT base)</h1></div>
115
  <div style="margin-top: 40px"><p>(02/12/2023) This application uses the <a style="text-decoration: none; border-bottom: #64b5f6 0.125em solid; color: #64b5f6" href="https://huggingface.co/NiamaLynn/lilt-roberta-DocLayNet-base_lines_ml256-v1" target="_blank">model LiLT base combined with XLM-RoBERTa base and finetuned on the dataset DocLayNet base at line level</a> (chunk size of 256 tokens).</p></div>
 
109
  return msg, img_files[0], img_files[1], images[0], images[1], csv_files[0], csv_files[1], df[0], df[1]
110
 
111
  # gradio APP
112
+ with gr.Blocks(title="Application for document layout analysis at line level (v1 - LiLT base)", css=".gradio-container") as demo:
113
  gr.HTML("""
114
  <div style="font-family:'Times New Roman', 'Serif'; font-size:26pt; font-weight:bold; text-align:center;"><h1>Inference application for Documents layout analysis at line level (v1 - LiLT base)</h1></div>
115
  <div style="margin-top: 40px"><p>(02/12/2023) This application uses the <a style="text-decoration: none; border-bottom: #64b5f6 0.125em solid; color: #64b5f6" href="https://huggingface.co/NiamaLynn/lilt-roberta-DocLayNet-base_lines_ml256-v1" target="_blank">model LiLT base combined with XLM-RoBERTa base and finetuned on the dataset DocLayNet base at line level</a> (chunk size of 256 tokens).</p></div>