sca255 commited on
Commit
45ad5e7
1 Parent(s): 1ab82b1

v1 complete

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -10,5 +10,5 @@ WORKDIR /code
10
  RUN pip install --no-cache-dir flask uvicorn
11
 
12
 
13
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]#,"--interface","wsgi"]
14
 
 
10
  RUN pip install --no-cache-dir flask uvicorn
11
 
12
 
13
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
14
 
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from flask import Flask, request, render_template
2
  from markupsafe import Markup
3
 
4
- app = Flask("passgen")
5
  @app.route('/', methods=['POST', 'GET'])
6
  def index():
7
  if request.method == 'POST':
 
1
  from flask import Flask, request, render_template
2
  from markupsafe import Markup
3
 
4
+ app = Flask("app")
5
  @app.route('/', methods=['POST', 'GET'])
6
  def index():
7
  if request.method == 'POST':