v1 complete
Browse files- Dockerfile +1 -1
- 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"]
|
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("
|
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':
|