Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ st.title("Text Generation with DeepSeek-R1-Distill-Qwen-1.5B")
|
|
| 7 |
# Load the text-generation pipeline
|
| 8 |
@st.cache_resource # Cache the model to avoid reloading on every interaction
|
| 9 |
def load_model():
|
| 10 |
-
return pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-Distill-Qwen-
|
| 11 |
|
| 12 |
model = load_model()
|
| 13 |
|
|
|
|
| 7 |
# Load the text-generation pipeline
|
| 8 |
@st.cache_resource # Cache the model to avoid reloading on every interaction
|
| 9 |
def load_model():
|
| 10 |
+
return pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B")
|
| 11 |
|
| 12 |
model = load_model()
|
| 13 |
|