Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Ekimetrics
/
climate-question-answering
like
133
Running
App
Files
Files
Community
10
Avo-k
commited on
Mar 22, 2023
Commit
f2033dd
•
1 Parent(s):
c48e036
eki api key
Browse files
Files changed (1)
hide
show
app.py
+1
-0
app.py
CHANGED
Viewed
@@ -94,6 +94,7 @@ def chat(
94
prompt=to_completion(messages),
95
temperature=0.2,
96
stream=True,
97
)
98
99
if sources:
94
prompt=to_completion(messages),
95
temperature=0.2,
96
stream=True,
97
+
max_tokens=1024,
98
)
99
100
if sources: