Akshayram1 commited on
Commit
35a0d93
·
verified ·
1 Parent(s): 2255f50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-7B")
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