Spaces:
Lap-AI
/
Runtime error

Reality123b commited on
Commit
3003e89
·
verified ·
1 Parent(s): 731d6b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ app = FastAPI()
12
  # Initialize text generation pipeline
13
  generator = pipeline(
14
  "text-generation",
15
- model="HuggingFaceTB/SmolLM2-360M",
16
  device="cpu" # Use CPU (change to device=0 for GPU)
17
  )
18
 
 
12
  # Initialize text generation pipeline
13
  generator = pipeline(
14
  "text-generation",
15
+ model="HuggingFaceTB/SmolLM2-360M-Instruct",
16
  device="cpu" # Use CPU (change to device=0 for GPU)
17
  )
18