ysharma HF staff commited on
Commit
a3d1248
1 Parent(s): 86b885a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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 = ""