freQuensy23 commited on
Commit
5d3d725
1 Parent(s): a0d4a41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def generate(
41
  conversation.append({"role": "user", "content": message})
42
 
43
 
44
- r = requests.post('https://social-warthog-fleet.ngrok-free.app/api/chat', params={
45
  "model": "miqu",
46
  "messages":conversation,
47
  "stream": False,
 
41
  conversation.append({"role": "user", "content": message})
42
 
43
 
44
+ r = requests.post('https://social-warthog-fleet.ngrok-free.app/api/chat', json={
45
  "model": "miqu",
46
  "messages":conversation,
47
  "stream": False,