Stevross commited on
Commit
24426ff
Β·
1 Parent(s): 838ec94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ generate_text = pipeline(
6
  model="Stevross/Astrid-3B",
7
  task="text-generation",
8
  trust_remote_code=True,
9
- device=0 # Use GPU if available, otherwise CPU
10
  )
11
 
12
  def generate_response(prompt):
 
6
  model="Stevross/Astrid-3B",
7
  task="text-generation",
8
  trust_remote_code=True,
9
+ device=1 # Use GPU if available, otherwise CPU
10
  )
11
 
12
  def generate_response(prompt):