Amamrnaf commited on
Commit
0e7b36e
·
1 Parent(s): f68828e
Files changed (3) hide show
  1. TS.png +0 -0
  2. app.py +8 -1
  3. invoice.png +0 -0
TS.png ADDED
app.py CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
4
  import os
5
  from functions import get_image_informations
6
  from dataSchema import *
7
- import shutil
8
 
9
 
10
 
@@ -186,4 +186,11 @@ demo = gr.Interface(
186
  description="Upload a PDF and choose an option to process the text."
187
  )
188
 
 
 
 
 
 
 
 
189
  demo.launch()
 
4
  import os
5
  from functions import get_image_informations
6
  from dataSchema import *
7
+ # import shutil
8
 
9
 
10
 
 
186
  description="Upload a PDF and choose an option to process the text."
187
  )
188
 
189
+ with gr.Blocks() as app:
190
+ demo.render()
191
+ gr.Markdown("### pdf examples") # Section title
192
+ with gr.Row():
193
+ gr.Image("TS.png", label="NOC timesheet example")
194
+ gr.Image("invoice.png", label="NOC invoice example")
195
+
196
  demo.launch()
invoice.png ADDED