Spaces:
Running
Running
fs
Browse files
app.py
CHANGED
@@ -89,9 +89,9 @@ def _forward(
|
|
89 |
hidden_states = self.wav2vec2.encoder(
|
90 |
hidden_states,
|
91 |
attention_mask=attention_mask,
|
92 |
-
output_attentions=
|
93 |
-
output_hidden_states=
|
94 |
-
return_dict=
|
95 |
)[0]
|
96 |
|
97 |
if self.adapter is not None:
|
@@ -120,9 +120,9 @@ def _forward_and_cnn7(
|
|
120 |
hidden_states = self.wav2vec2.encoder(
|
121 |
hidden_states,
|
122 |
attention_mask=attention_mask,
|
123 |
-
output_attentions=
|
124 |
-
output_hidden_states=
|
125 |
-
return_dict=
|
126 |
)[0]
|
127 |
|
128 |
if self.adapter is not None:
|
|
|
89 |
hidden_states = self.wav2vec2.encoder(
|
90 |
hidden_states,
|
91 |
attention_mask=attention_mask,
|
92 |
+
output_attentions=None,
|
93 |
+
output_hidden_states=None,
|
94 |
+
return_dict=None,
|
95 |
)[0]
|
96 |
|
97 |
if self.adapter is not None:
|
|
|
120 |
hidden_states = self.wav2vec2.encoder(
|
121 |
hidden_states,
|
122 |
attention_mask=attention_mask,
|
123 |
+
output_attentions=None,
|
124 |
+
output_hidden_states=None,
|
125 |
+
return_dict=None,
|
126 |
)[0]
|
127 |
|
128 |
if self.adapter is not None:
|