Spaces:
Starting
on
T4
Starting
on
T4
beweinreich
commited on
Commit
•
e9ead6a
1
Parent(s):
1db652d
improve prompt
Browse files- audio_analyzer.py +1 -1
- video_analyzer.py +1 -0
audio_analyzer.py
CHANGED
@@ -108,7 +108,7 @@ class AudioAnalyzer:
|
|
108 |
|
109 |
completion = client.chat.completions.create(
|
110 |
messages=[
|
111 |
-
{"role": "system", "content": "You are a
|
112 |
{"role": "user", "content": prompt}
|
113 |
],
|
114 |
model="gpt-4o",
|
|
|
108 |
|
109 |
completion = client.chat.completions.create(
|
110 |
messages=[
|
111 |
+
{"role": "system", "content": "You are a matchmaking for a dating app."},
|
112 |
{"role": "user", "content": prompt}
|
113 |
],
|
114 |
model="gpt-4o",
|
video_analyzer.py
CHANGED
@@ -62,6 +62,7 @@ class VideoAnalyzer:
|
|
62 |
payload = {
|
63 |
"model": "gpt-4o",
|
64 |
"messages": [
|
|
|
65 |
{
|
66 |
"role": "user",
|
67 |
"content": [
|
|
|
62 |
payload = {
|
63 |
"model": "gpt-4o",
|
64 |
"messages": [
|
65 |
+
{"role": "system", "content": "You are a matchmaking for a dating app."},
|
66 |
{
|
67 |
"role": "user",
|
68 |
"content": [
|