Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def inference(audio, latest):
|
|
57 |
if transcript != None:
|
58 |
latest.append(transcript)
|
59 |
|
60 |
-
text =
|
61 |
|
62 |
response = openai.Completion.create(
|
63 |
model="text-davinci-003",
|
|
|
57 |
if transcript != None:
|
58 |
latest.append(transcript)
|
59 |
|
60 |
+
text = EXAMPLE_PROMPT + transcript + "\nPrediction: "
|
61 |
|
62 |
response = openai.Completion.create(
|
63 |
model="text-davinci-003",
|