Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def generate_model_response(image_file, user_query):
|
|
| 71 |
|
| 72 |
input_text = assistant_prompt + "\n\n" + user_query + "\n"
|
| 73 |
|
| 74 |
-
inputs = AutoTokenizer(input_text
|
| 75 |
|
| 76 |
try:
|
| 77 |
outputs = model.generate(**inputs)
|
|
|
|
| 71 |
|
| 72 |
input_text = assistant_prompt + "\n\n" + user_query + "\n"
|
| 73 |
|
| 74 |
+
inputs = AutoTokenizer(input_text)#, return_tensors="pt")
|
| 75 |
|
| 76 |
try:
|
| 77 |
outputs = model.generate(**inputs)
|