Shanulhaq commited on
Commit
935599b
1 Parent(s): f7264d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ except ModuleNotFoundError:
18
  install_package('transformers')
19
  from transformers import pipeline
20
 
 
21
  try:
22
  import torch
23
  except ModuleNotFoundError:
 
18
  install_package('transformers')
19
  from transformers import pipeline
20
 
21
+ # Ensure that either PyTorch or TensorFlow is installed
22
  try:
23
  import torch
24
  except ModuleNotFoundError: