mannus commited on
Commit
42496cc
·
1 Parent(s): a96bf5f
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -16,3 +16,7 @@ async def segment_text(payload: InputText):
16
  text = payload.text
17
  result = nlp(text)
18
  return result
 
 
 
 
 
16
  text = payload.text
17
  result = nlp(text)
18
  return result
19
+
20
+ @app.get("/")
21
+ def greet_json():
22
+ return {"Hello": "World!"}