freQuensy23 commited on
Commit
a0d4a41
1 Parent(s): 3f6bdb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -48,7 +48,9 @@ def generate(
48
  "options":{"num_predict": 128, "temperature":1, "top_p":0.95}
49
 
50
  })
51
- outputs = [r.json()['message']['content']]
 
 
52
 
53
  yield "".join(outputs)
54
 
 
48
  "options":{"num_predict": 128, "temperature":1, "top_p":0.95}
49
 
50
  })
51
+ resp = r.json()
52
+ print(resp)
53
+ outputs = [resp['message']['content']]
54
 
55
  yield "".join(outputs)
56