Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update backup-app2-app.py
Browse files- backup-app2-app.py +1 -1
backup-app2-app.py
CHANGED
@@ -70,7 +70,7 @@ def process_video(video_input):
|
|
70 |
response = openai.ChatCompletion.create(
|
71 |
model=MODEL,
|
72 |
messages=[
|
73 |
-
{"role": "system", "content": "
|
74 |
{"role": "user", "content": [
|
75 |
"These are the frames from the video.",
|
76 |
*map(lambda x: {"type": "image_url",
|
|
|
70 |
response = openai.ChatCompletion.create(
|
71 |
model=MODEL,
|
72 |
messages=[
|
73 |
+
{"role": "system", "content": "Вы создаете сводку видео. Создайте краткое изложение предоставленного видео и его расшифровку. Ответить в уценке"},
|
74 |
{"role": "user", "content": [
|
75 |
"These are the frames from the video.",
|
76 |
*map(lambda x: {"type": "image_url",
|