Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
51b2c20
1
Parent(s):
e2b1344
main.py
CHANGED
|
@@ -113,7 +113,9 @@ def prepare_model_inputs(
|
|
| 113 |
|
| 114 |
if hidden_states is not None:
|
| 115 |
inputs['hidden_states'] = hidden_states
|
| 116 |
-
|
|
|
|
|
|
|
| 117 |
return inputs
|
| 118 |
|
| 119 |
@torch.no_grad()
|
|
|
|
| 113 |
|
| 114 |
if hidden_states is not None:
|
| 115 |
inputs['hidden_states'] = hidden_states
|
| 116 |
+
|
| 117 |
+
print ('DEBUG MODE, REMOVING INPUTS')
|
| 118 |
+
del inputs['hidden_states']
|
| 119 |
return inputs
|
| 120 |
|
| 121 |
@torch.no_grad()
|