Akjava commited on
Commit
42ad1e1
Β·
verified Β·
1 Parent(s): 69110e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def init():
38
  else:
39
  print("The model is on a CPU")
40
 
41
- print(text_generator.device)
42
  if text_generator.device == 'cuda':
43
  print("The pipeline is using a GPU")
44
  else:
 
38
  else:
39
  print("The model is on a CPU")
40
 
41
+ print(f"text_generator.device='{text_generator.device}")
42
  if text_generator.device == 'cuda':
43
  print("The pipeline is using a GPU")
44
  else: