freQuensy23
commited on
Commit
•
a0d4a41
1
Parent(s):
3f6bdb5
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,9 @@ def generate(
|
|
48 |
"options":{"num_predict": 128, "temperature":1, "top_p":0.95}
|
49 |
|
50 |
})
|
51 |
-
|
|
|
|
|
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 |
|