techavenger123 commited on
Commit
e09c7c9
·
1 Parent(s): 4d468dc

New testing and Updation

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app3.py +1 -1
Dockerfile CHANGED
@@ -14,4 +14,4 @@ COPY --chown=user . /app
14
  USER user
15
 
16
  EXPOSE 7860
17
- CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "--timeout", "120", "app3:app3"]
 
14
  USER user
15
 
16
  EXPOSE 7860
17
+ CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "--workers", "2", "--timeout", "120", "app3:app"]
app3.py CHANGED
@@ -163,7 +163,7 @@ ARTIFACTS = load_or_train_all()
163
  # FLASK APP
164
  # ─────────────────────────────────────────────
165
 
166
- app3 = Flask(__name__)
167
 
168
  HTML = r"""<!DOCTYPE html>
169
  <html lang="en">
 
163
  # FLASK APP
164
  # ─────────────────────────────────────────────
165
 
166
+ app = Flask(__name__)
167
 
168
  HTML = r"""<!DOCTYPE html>
169
  <html lang="en">