Spaces:
Runtime error
Runtime error
BjarneBepaData
commited on
Commit
•
3057300
1
Parent(s):
98f0633
Forgot the uvicorn
Browse files- app/main.py +10 -0
app/main.py
CHANGED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Union
|
2 |
+
|
3 |
+
from fastapi import FastAPI
|
4 |
+
|
5 |
+
app = FastAPI()
|
6 |
+
|
7 |
+
|
8 |
+
@app.get("/")
|
9 |
+
def read_root():
|
10 |
+
return {"Hello": "World"}
|