Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -139,7 +139,8 @@ def generate(input,
|
|
| 139 |
}
|
| 140 |
|
| 141 |
instruction = f"{prefix}\n{instruction}"
|
| 142 |
-
|
|
|
|
| 143 |
|
| 144 |
print(msgs)
|
| 145 |
|
|
|
|
| 139 |
}
|
| 140 |
|
| 141 |
instruction = f"{prefix}\n{instruction}"
|
| 142 |
+
omni_content = builder_map[filetype](input, instruction)
|
| 143 |
+
msgs = [{ "role": "user", "content": global_instruction }, { "role": "user", "content": omni_content }]
|
| 144 |
|
| 145 |
print(msgs)
|
| 146 |
|