huiiz commited on
Commit
1bc97fd
·
1 Parent(s): a6579bc
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. README.md +1 -0
  3. app.py +1 -3
Dockerfile CHANGED
@@ -11,4 +11,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . .
13
 
14
- CMD ["flask","run", "--host=0.0.0.0", "--port=7860"]
 
11
 
12
  COPY . .
13
 
14
+ CMD ["flask","run", "--host=0.0.0.0", "--port=7000"]
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: gray
6
  sdk: docker
7
  pinned: false
8
  license: mit
 
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  pinned: false
8
  license: mit
9
+ app_port: 7000
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -2,9 +2,7 @@ from flask import Flask
2
 
3
  app = Flask(__name__)
4
 
5
- with open("./README1.md", "w") as fh:
6
- fh.write("# Hello World")
7
 
8
  @app.route("/")
9
  def hello_world():
10
- return "<p>Hello, World!</p>"
 
2
 
3
  app = Flask(__name__)
4
 
 
 
5
 
6
  @app.route("/")
7
  def hello_world():
8
+ return "<p>Hello, World!</p>"