Spaces:
Sleeping
Sleeping
Nathan Gebreab
commited on
Commit
·
9450197
1
Parent(s):
1dc353f
fixed temperature of the chatbot
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def generate_intro(query):
|
|
| 113 |
prompt,
|
| 114 |
max_new_tokens=60,
|
| 115 |
do_sample=True,
|
| 116 |
-
temperature=
|
| 117 |
)[0]["generated_text"]
|
| 118 |
|
| 119 |
intro = intro.split("<|start_header_id|>assistant<|end_header_id|>")[-1].strip()
|
|
|
|
| 113 |
prompt,
|
| 114 |
max_new_tokens=60,
|
| 115 |
do_sample=True,
|
| 116 |
+
temperature=0.7
|
| 117 |
)[0]["generated_text"]
|
| 118 |
|
| 119 |
intro = intro.split("<|start_header_id|>assistant<|end_header_id|>")[-1].strip()
|