srijaydeshpande commited on
Commit
a048111
·
verified ·
1 Parent(s): e5ca27d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ model = transformers.pipeline(
140
  "text-generation",
141
  model=model_id,
142
  model_kwargs={"torch_dtype": torch.bfloat16},
143
- device="gpu"
144
  )
145
 
146
  css = ".gradio-container {background: 'logo.png'}"
 
140
  "text-generation",
141
  model=model_id,
142
  model_kwargs={"torch_dtype": torch.bfloat16},
143
+ device="cuda"
144
  )
145
 
146
  css = ".gradio-container {background: 'logo.png'}"