Spaces:
Sleeping
Sleeping
arithescientist
commited on
Commit
•
17e34a5
1
Parent(s):
342a4a2
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,5 @@
|
|
1 |
#**************** IMPORT PACKAGES ********************
|
2 |
-
import
|
3 |
-
from flask import render_template, jsonify, Flask, redirect, url_for, request, flash
|
4 |
-
from flask_cors import CORS, cross_origin
|
5 |
-
from werkzeug.utils import secure_filename
|
6 |
import numpy as np
|
7 |
import pytesseract as pt
|
8 |
import pdf2image
|
@@ -118,7 +115,7 @@ def pdf(file):
|
|
118 |
f = all_text2
|
119 |
return f
|
120 |
|
121 |
-
|
122 |
|
123 |
|
124 |
|
|
|
1 |
#**************** IMPORT PACKAGES ********************
|
2 |
+
import gradio as gr
|
|
|
|
|
|
|
3 |
import numpy as np
|
4 |
import pytesseract as pt
|
5 |
import pdf2image
|
|
|
115 |
f = all_text2
|
116 |
return f
|
117 |
|
118 |
+
|
119 |
|
120 |
|
121 |
|