Spaces:
Running
Running
Space-Face
commited on
Commit
•
a0a6f65
1
Parent(s):
a36526e
Update GPTSimple.py
Browse files- GPTSimple.py +1 -1
GPTSimple.py
CHANGED
@@ -56,7 +56,7 @@ class conversation:
|
|
56 |
yield token
|
57 |
class response:
|
58 |
def __init__(self, json):
|
59 |
-
self.response = json
|
60 |
self.choices = json['choices']
|
61 |
self.text = json['choices'][0]['message']['content']
|
62 |
self.message = json['choices'][0]['message']
|
|
|
56 |
yield token
|
57 |
class response:
|
58 |
def __init__(self, json):
|
59 |
+
self.response = json
|
60 |
self.choices = json['choices']
|
61 |
self.text = json['choices'][0]['message']['content']
|
62 |
self.message = json['choices'][0]['message']
|