Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mahindra_ocr_shikhin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikhin.vc
mahindra_ocr_shikhin
Commits
ce8aed7c
Commit
ce8aed7c
authored
Dec 05, 2022
by
Sikhin VC
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab-pm.knowledgelens.com/sikhin.vc/mahindra_ocr_shikhin
parents
be120938
6c38bab9
Pipeline
#49803
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app.py
app.py
+2
-2
No files found.
app.py
View file @
ce8aed7c
...
@@ -28,7 +28,7 @@ app = FastAPI()
...
@@ -28,7 +28,7 @@ app = FastAPI()
@
app
.
post
(
"/"
)
@
app
.
post
(
"/
Text_recognition
"
)
def
extract_text_diectly
(
file
:
bytes
=
File
(
...
)):
def
extract_text_diectly
(
file
:
bytes
=
File
(
...
)):
try
:
try
:
...
@@ -51,5 +51,5 @@ def extract_text_diectly(file: bytes = File(...)):
...
@@ -51,5 +51,5 @@ def extract_text_diectly(file: bytes = File(...)):
print
(
e
)
print
(
e
)
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
uvicorn
.
run
(
"app:app"
,
host
=
"
localhost
"
,
port
=
8290
)
uvicorn
.
run
(
"app:app"
,
host
=
"
0.0.0.0
"
,
port
=
8290
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment