eswardivi commited on
Commit
04c5c52
·
verified ·
1 Parent(s): 53c4361

Testing with Disabling gpu_zero

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def cls_pooling(model_output):
31
  return model_output[0][:, 0]
32
 
33
 
34
- @spaces.GPU
35
  def get_embedding(text, use_mean_pooling, model_id):
36
 
37
  tokenizer = AutoTokenizer.from_pretrained(model_id)
 
31
  return model_output[0][:, 0]
32
 
33
 
34
+ # @spaces.GPU
35
  def get_embedding(text, use_mean_pooling, model_id):
36
 
37
  tokenizer = AutoTokenizer.from_pretrained(model_id)