louisbrulenaudet commited on
Commit
14eb47b
1 Parent(s): f3ed445

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -64,10 +64,7 @@ def setup(
64
  description : str
65
  A string containing additional description information.
66
  """
67
- try:
68
- if not torch.cuda.is_available():
69
- description += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
70
-
71
  instance = SimilaritySearch(
72
  model_name=model_name,
73
  device=device,
 
64
  description : str
65
  A string containing additional description information.
66
  """
67
+ try:
 
 
 
68
  instance = SimilaritySearch(
69
  model_name=model_name,
70
  device=device,