Oysiyl commited on
Commit
3f93f94
·
verified ·
1 Parent(s): 658e8fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def respond(
56
  )
57
 
58
  if torch.cuda.is_available():
59
- inputs = inputs.to(device=model.device)
60
  model.to("cuda")
61
 
62
  # Set up the streamer
 
56
  )
57
 
58
  if torch.cuda.is_available():
59
+ inputs = inputs.to("cuda")
60
  model.to("cuda")
61
 
62
  # Set up the streamer