Spaces:
Sleeping
Sleeping
add model
Browse files
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!"}
|