Mihaiii commited on
Commit
0a9e54c
·
verified ·
1 Parent(s): 16e04bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
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!"}