Spaces:
Runtime error
Runtime error
Update commentary_ai/generator/openai_captioner.py
Browse files
commentary_ai/generator/openai_captioner.py
CHANGED
@@ -34,7 +34,7 @@ def generate_caption(frame_description, retrieved_examples):
|
|
34 |
response = client.chat.completions.create(
|
35 |
model="gpt-3.5-turbo",
|
36 |
messages=[
|
37 |
-
{"role": "system", "content": "당신은
|
38 |
{"role": "user", "content": prompt}
|
39 |
],
|
40 |
temperature=0.7,
|
|
|
34 |
response = client.chat.completions.create(
|
35 |
model="gpt-3.5-turbo",
|
36 |
messages=[
|
37 |
+
{"role": "system", "content": "당신은 축구 경기를 생생하게 중계하는 배성재 같은 베테랑 축구 한국어 해설가입니다."},
|
38 |
{"role": "user", "content": prompt}
|
39 |
],
|
40 |
temperature=0.7,
|