kghamilton89 commited on
Commit
c0ee240
·
1 Parent(s): 8397d19

Add missing line

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. main.py +1 -1
README.md CHANGED
@@ -6,6 +6,7 @@ colorTo: yellow
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: 7860
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
main.py CHANGED
@@ -2,6 +2,6 @@ from fastapi import FastAPI
2
 
3
  app = FastAPI()
4
 
5
-
6
  def read_root():
7
  return {"Hello": "World!"}
 
2
 
3
  app = FastAPI()
4
 
5
+ @app.get("/")
6
  def read_root():
7
  return {"Hello": "World!"}