Spaces:
Sleeping
Sleeping
Shunfeng Zheng
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import time # 模拟处理耗时
|
| 3 |
|
|
|
|
|
|
|
| 4 |
def process_api(input_text):
|
| 5 |
# 这里编写实际的后端处理逻辑
|
| 6 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import time # 模拟处理耗时
|
| 3 |
|
| 4 |
+
|
| 5 |
+
nlp = spacy.load("en_core_web_md")
|
| 6 |
def process_api(input_text):
|
| 7 |
# 这里编写实际的后端处理逻辑
|
| 8 |
|