m7n commited on
Commit
0516b4c
·
1 Parent(s): a26a6cb

removed brackets?!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def no_op_decorator(func):
114
  # #duration=120
115
 
116
  # @decorator_to_use
117
- @spaces.GPU()
118
  def create_embeddings(texts_to_embedd):
119
  """Create embeddings for the input texts using the loaded model."""
120
  return model.encode(texts_to_embedd, show_progress_bar=True, batch_size=192)
 
114
  # #duration=120
115
 
116
  # @decorator_to_use
117
+ @spaces.GPU
118
  def create_embeddings(texts_to_embedd):
119
  """Create embeddings for the input texts using the loaded model."""
120
  return model.encode(texts_to_embedd, show_progress_bar=True, batch_size=192)