Spaces:
Sleeping
Sleeping
Shunfeng Zheng
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def process_api(input_text):
|
|
| 14 |
return {
|
| 15 |
"status": "success",
|
| 16 |
# "result": f"Processed: {input_text.upper()}",
|
| 17 |
-
"result": f"Processed: {nlp(input_text).
|
| 18 |
"timestamp": time.time()
|
| 19 |
}
|
| 20 |
|
|
|
|
| 14 |
return {
|
| 15 |
"status": "success",
|
| 16 |
# "result": f"Processed: {input_text.upper()}",
|
| 17 |
+
"result": f"Processed: {nlp(input_text).to_json()}",
|
| 18 |
"timestamp": time.time()
|
| 19 |
}
|
| 20 |
|