Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
# 创建文本生成管道
|
| 6 |
-
pipe = pipeline("text-generation", model="
|
| 7 |
|
| 8 |
# 定义预测(predict)函数
|
| 9 |
def predict(message):
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
# 创建文本生成管道
|
| 6 |
+
pipe = pipeline("text-generation", model="Bush233/olmo3-190m-zh-nano")
|
| 7 |
|
| 8 |
# 定义预测(predict)函数
|
| 9 |
def predict(message):
|