BeveledCube commited on
Commit
e0aa561
·
verified ·
1 Parent(s): f939f23

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -4
main.py CHANGED
@@ -30,10 +30,6 @@ def read_root():
30
  def read_root(data: req):
31
  print("Prompt:", data.prompt)
32
  print("Length:", data.length)
33
-
34
- # Using CUDA for an optimal experience
35
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
36
- model = model.to(device)
37
 
38
  input_text = data.prompt
39
 
 
30
  def read_root(data: req):
31
  print("Prompt:", data.prompt)
32
  print("Length:", data.length)
 
 
 
 
33
 
34
  input_text = data.prompt
35