Spaces:
Sleeping
Sleeping
Tim Seufert commited on
Commit ·
2ea4ddb
1
Parent(s): 0e1fd68
changed cohere model
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def respond(message, image, chat_history):
|
|
| 27 |
try:
|
| 28 |
# Generate response using Cohere
|
| 29 |
stream = co.chat_stream(
|
| 30 |
-
model='command-
|
| 31 |
message=f"{prompt} '{message_content}'",
|
| 32 |
temperature=0.3,
|
| 33 |
chat_history=[], # Consider using chat_history for context
|
|
|
|
| 27 |
try:
|
| 28 |
# Generate response using Cohere
|
| 29 |
stream = co.chat_stream(
|
| 30 |
+
model='command-r7b-12-2024',
|
| 31 |
message=f"{prompt} '{message_content}'",
|
| 32 |
temperature=0.3,
|
| 33 |
chat_history=[], # Consider using chat_history for context
|