Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def run_idefics(in_prompt,history,image,model_drop,seed):
|
|
121 |
#send_list.append(agent.IDEFICS_PROMPT)
|
122 |
#send_list.append(prompt)
|
123 |
#send_list.append(image)
|
124 |
-
content = "
|
125 |
|
126 |
print(content)
|
127 |
stream = client.text_generation(prompt=content, **generation_args)
|
|
|
121 |
#send_list.append(agent.IDEFICS_PROMPT)
|
122 |
#send_list.append(prompt)
|
123 |
#send_list.append(image)
|
124 |
+
content = "\nUser: What is in this image?<end_of_utterance>\nAssistant:"
|
125 |
|
126 |
print(content)
|
127 |
stream = client.text_generation(prompt=content, **generation_args)
|