lab2 test
Browse files
app.py
CHANGED
|
@@ -54,7 +54,10 @@ def submit_to_model():
|
|
| 54 |
{"role": "user", "content": prompt},
|
| 55 |
]
|
| 56 |
)
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
# App
|
|
|
|
| 54 |
{"role": "user", "content": prompt},
|
| 55 |
]
|
| 56 |
)
|
| 57 |
+
|
| 58 |
+
content = response["choices"][0]["message"]["content"]
|
| 59 |
+
|
| 60 |
+
return content
|
| 61 |
|
| 62 |
|
| 63 |
# App
|