Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
my_flask_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa16ac4e
authored
Dec 13, 2023
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化端口配置
1 parent
7bb9ec7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
manage.py
templates/index.html
manage.py
View file @
fa16ac4
...
@@ -61,4 +61,4 @@ def upload():
...
@@ -61,4 +61,4 @@ def upload():
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
app
.
run
(
port
=
5000
)
app
.
run
(
host
=
"0.0.0.0"
,
port
=
5000
)
templates/index.html
View file @
fa16ac4
...
@@ -6,13 +6,13 @@
...
@@ -6,13 +6,13 @@
</head>
</head>
<body>
<body>
<h1>
车牌识别
</h1>
<h1>
车牌识别
</h1>
<form
method=
"POST"
enctype=
"multipart/form-data"
action=
"http://1
27.0.0.
1:5000/upload"
>
<form
method=
"POST"
enctype=
"multipart/form-data"
action=
"http://1
92.168.3.24
1:5000/upload"
>
文件:
<input
type=
"file"
name=
"file"
/>
文件:
<input
type=
"file"
name=
"file"
/>
<input
type=
"submit"
value=
"上传云端识别"
/>
<input
type=
"submit"
value=
"上传云端识别"
/>
</form>
</form>
<h1>
图片识别
</h1>
<h1>
图片识别
</h1>
<form
method=
"POST"
enctype=
"multipart/form-data"
action=
"http://1
27.0.0.
1:5000/classfication/upload"
>
<form
method=
"POST"
enctype=
"multipart/form-data"
action=
"http://1
92.168.3.24
1:5000/classfication/upload"
>
文件:
<input
type=
"file"
name=
"file"
/>
文件:
<input
type=
"file"
name=
"file"
/>
<input
type=
"submit"
value=
"上传云端识别"
/>
<input
type=
"submit"
value=
"上传云端识别"
/>
</form>
</form>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment