POLRAMBORA commited on
Commit
11e76a2
·
verified ·
1 Parent(s): cb5e6a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -99,7 +99,9 @@ def respond(message, api_key, max_tokens, top_p, temperature):
99
  "input": message,
100
  "stream": True
101
  }
 
102
 
 
103
  try:
104
  response = requests.post(API_URL, headers=headers, data=json.dumps(data), stream=True)
105
 
 
99
  "input": message,
100
  "stream": True
101
  }
102
+ assistant_reply = ""
103
 
104
+
105
  try:
106
  response = requests.post(API_URL, headers=headers, data=json.dumps(data), stream=True)
107