Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -59,6 +59,7 @@ def predict(message, chatbot, system_prompt="", temperature=0.9, max_new_tokens=
|
|
59 |
"repetition_penalty"=repetition_penalty,
|
60 |
"do_sample":True,
|
61 |
},
|
|
|
62 |
response = requests.post(api_url, headers=headers, data=json.dumps(data), auth=('hf', hf_token), stream=True)
|
63 |
|
64 |
partial_message = ""
|
|
|
59 |
"repetition_penalty"=repetition_penalty,
|
60 |
"do_sample":True,
|
61 |
},
|
62 |
+
}
|
63 |
response = requests.post(api_url, headers=headers, data=json.dumps(data), auth=('hf', hf_token), stream=True)
|
64 |
|
65 |
partial_message = ""
|