rehan953 commited on
Commit
6dd297d
·
verified ·
1 Parent(s): b1c7862

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -43
app.py CHANGED
@@ -1,45 +1,3 @@
1
- Hugging Face's logo
2
- Hugging Face
3
- Models
4
- Datasets
5
- Spaces
6
- Community
7
- Docs
8
- Enterprise
9
- Pricing
10
-
11
-
12
- Spaces:
13
- SimpleCodeAI
14
- /
15
- glm-ocr-fixed
16
-
17
-
18
- like
19
- 0
20
-
21
- Logs
22
- App
23
- Files
24
- Community
25
- Settings
26
- glm-ocr-fixed
27
- /
28
- app.py
29
-
30
- hoytshao's picture
31
- hoytshao
32
- Update app.py
33
- f9f6641
34
- verified
35
- 5 days ago
36
- raw
37
-
38
- Copy download link
39
- history
40
- blame
41
-
42
- 12.7 kB
43
  """
44
  GLM-OCR Hugging Face Space app with client-side header/footer fallback for MaaS.
45
  Works for every PDF and every image: uses API bboxes when available, else minimal band.
@@ -356,4 +314,4 @@ with gr.Blocks(title="GLM-OCR") as demo:
356
  run_btn.click(fn=run_ocr, inputs=file_in, outputs=out)
357
 
358
  if __name__ == "__main__":
359
- demo.launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  """
2
  GLM-OCR Hugging Face Space app with client-side header/footer fallback for MaaS.
3
  Works for every PDF and every image: uses API bboxes when available, else minimal band.
 
314
  run_btn.click(fn=run_ocr, inputs=file_in, outputs=out)
315
 
316
  if __name__ == "__main__":
317
+ demo.launch()