soumickmj commited on
Commit
4c12a40
1 Parent(s): ecc769b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ if uploaded_file is not None and process_button:
111
  # Process the tensor through the model
112
  with st.spinner('Processing the tensor through the model...'):
113
  with torch.no_grad():
114
- output = model.encode(tensor, use_ema=model.config.test_ema)
115
  if isinstance(output, tuple):
116
  output = output[0]
117
  output = output.squeeze(0)
 
111
  # Process the tensor through the model
112
  with st.spinner('Processing the tensor through the model...'):
113
  with torch.no_grad():
114
+ output = model(tensor)
115
  if isinstance(output, tuple):
116
  output = output[0]
117
  output = output.squeeze(0)