Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def generate_response(user_message, model_name, max_tokens, temperature, top_k,
|
|
| 33 |
sep_tag = ""
|
| 34 |
end_tag = "<|end|>"
|
| 35 |
else:
|
| 36 |
-
raise ValueError("
|
| 37 |
|
| 38 |
# Recommended prompt settings by Microsoft
|
| 39 |
system_message = "You are a friendly and knowledgeable assistant, here to help with any questions or tasks."
|
|
|
|
| 33 |
sep_tag = ""
|
| 34 |
end_tag = "<|end|>"
|
| 35 |
else:
|
| 36 |
+
raise ValueError("Error loading on models")
|
| 37 |
|
| 38 |
# Recommended prompt settings by Microsoft
|
| 39 |
system_message = "You are a friendly and knowledgeable assistant, here to help with any questions or tasks."
|