Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,3 +14,11 @@ def start_worker():
|
|
14 |
|
15 |
executor = ThreadPoolExecutor(max_workers=1)
|
16 |
executor.submit(start_worker)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
executor = ThreadPoolExecutor(max_workers=1)
|
16 |
executor.submit(start_worker)
|
17 |
+
|
18 |
+
from fastapi import FastAPI
|
19 |
+
|
20 |
+
app = FastAPI()
|
21 |
+
|
22 |
+
@app.get("/")
|
23 |
+
def greet_json():
|
24 |
+
return {"Hello": "World!"}
|