Spaces:
Running
Running
Commit
·
780e5d4
1
Parent(s):
8fbf2ce
update: reasoning prompt
Browse files
app.py
CHANGED
@@ -525,11 +525,11 @@ Expected Output Format:
|
|
525 |
Example:
|
526 |
If a transcript contains:
|
527 |
[10:13] Speaker1: "First sentence..."
|
528 |
-
[10:
|
529 |
[10:17] Speaker2: "Interruption..."
|
530 |
-
[10:19] Speaker1: "
|
531 |
|
532 |
-
The valid
|
533 |
|
534 |
Important:
|
535 |
- Ensure each clip represents a single, uninterrupted segment from one speaker
|
@@ -566,8 +566,8 @@ SPEAKER FORMAT:
|
|
566 |
**Speaker Name**
|
567 |
....
|
568 |
"""
|
569 |
-
print("User Prompt is:\n", user_prompt)
|
570 |
-
print("System Prompt is:\n", system_prompt)
|
571 |
completion = client.chat.completions.create(
|
572 |
model="gpt-4o",
|
573 |
messages=[
|
|
|
525 |
Example:
|
526 |
If a transcript contains:
|
527 |
[10:13] Speaker1: "First sentence..."
|
528 |
+
[10:20] Speaker1: "nth sentence..."
|
529 |
[10:17] Speaker2: "Interruption..."
|
530 |
+
[10:19] Speaker1: "nth+1 sentence..."
|
531 |
|
532 |
+
The valid ending sentence for Speaker1 would only include the first n sentences, ending before Speaker2's interruption.
|
533 |
|
534 |
Important:
|
535 |
- Ensure each clip represents a single, uninterrupted segment from one speaker
|
|
|
566 |
**Speaker Name**
|
567 |
....
|
568 |
"""
|
569 |
+
# print("User Prompt is:\n", user_prompt)
|
570 |
+
# print("System Prompt is:\n", system_prompt)
|
571 |
completion = client.chat.completions.create(
|
572 |
model="gpt-4o",
|
573 |
messages=[
|