Spaces:
Runtime error
Runtime error
Commit
·
903553e
1
Parent(s):
2aa1194
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def process(key, choice, artitle, trans):
|
|
21 |
{"role": "system", "content": "You are a helpful assistant."},
|
22 |
{"role": "user", "content": prompt}
|
23 |
]
|
24 |
-
)
|
25 |
print(completion.choices[0].message["content"])
|
26 |
print('-------------')
|
27 |
print(completion.choices[0].text)
|
|
|
21 |
{"role": "system", "content": "You are a helpful assistant."},
|
22 |
{"role": "user", "content": prompt}
|
23 |
]
|
24 |
+
)
|
25 |
print(completion.choices[0].message["content"])
|
26 |
print('-------------')
|
27 |
print(completion.choices[0].text)
|