Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
107b307
1
Parent(s):
8b96263
fix bug
Browse files
utils/__pycache__/interface.cpython-310.pyc
CHANGED
|
Binary files a/utils/__pycache__/interface.cpython-310.pyc and b/utils/__pycache__/interface.cpython-310.pyc differ
|
|
|
utils/interface.py
CHANGED
|
@@ -67,7 +67,7 @@ class Inference:
|
|
| 67 |
if len(output_modalities) != 1:
|
| 68 |
raise ValueError("Expected exactly one output modality based on task.")
|
| 69 |
|
| 70 |
-
inputs = self.processor(
|
| 71 |
|
| 72 |
stopping_criteria = [
|
| 73 |
MIMOStopper(self.processor.tokenizer.pad_token_id),
|
|
|
|
| 67 |
if len(output_modalities) != 1:
|
| 68 |
raise ValueError("Expected exactly one output modality based on task.")
|
| 69 |
|
| 70 |
+
inputs = self.processor(full_conversation, output_modalities)
|
| 71 |
|
| 72 |
stopping_criteria = [
|
| 73 |
MIMOStopper(self.processor.tokenizer.pad_token_id),
|