Spaces:
Building
Building
Commit
·
c821124
1
Parent(s):
c17dbb2
Files added
Browse files- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
@@ -15,7 +15,7 @@ COPY . /app
|
|
15 |
RUN pip install -r requirements.txt
|
16 |
|
17 |
# Expose the port Flask will run on
|
18 |
-
EXPOSE
|
19 |
|
20 |
# Command to run the Flask app
|
21 |
CMD ["python", "app.py"]
|
|
|
15 |
RUN pip install -r requirements.txt
|
16 |
|
17 |
# Expose the port Flask will run on
|
18 |
+
EXPOSE 7860
|
19 |
|
20 |
# Command to run the Flask app
|
21 |
CMD ["python", "app.py"]
|
app.py
CHANGED
@@ -80,4 +80,4 @@ def transcribe():
|
|
80 |
|
81 |
|
82 |
if __name__ == '__main__':
|
83 |
-
app.run(debug=
|
|
|
80 |
|
81 |
|
82 |
if __name__ == '__main__':
|
83 |
+
app.run(debug=False, port=7860, host='0.0.0.0')
|