Spaces:
Build error
Build error
Fix temp
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ class FromageChatBot:
|
|
54 |
model_inputs = [self.chat_history]
|
55 |
|
56 |
top_p = 1.0
|
57 |
-
if
|
58 |
top_p = 0.95
|
59 |
|
60 |
print('Running model.generate_for_images_and_texts', flush=True)
|
|
|
54 |
model_inputs = [self.chat_history]
|
55 |
|
56 |
top_p = 1.0
|
57 |
+
if temperature != 0.0:
|
58 |
top_p = 0.95
|
59 |
|
60 |
print('Running model.generate_for_images_and_texts', flush=True)
|