Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def inference(audio, latest):
|
|
| 59 |
latest.append(transcript)
|
| 60 |
tscript = EXAMPLE_PROMPT + str(transcript) + "\nPrediction: "
|
| 61 |
else: tscript = EXAMPLE_PROMPT
|
| 62 |
-
|
| 63 |
response = openai.Completion.create(
|
| 64 |
model="text-davinci-003",
|
| 65 |
prompt=tscript,
|
|
|
|
| 59 |
latest.append(transcript)
|
| 60 |
tscript = EXAMPLE_PROMPT + str(transcript) + "\nPrediction: "
|
| 61 |
else: tscript = EXAMPLE_PROMPT
|
| 62 |
+
ptint("tscript ------- ", tscript)
|
| 63 |
response = openai.Completion.create(
|
| 64 |
model="text-davinci-003",
|
| 65 |
prompt=tscript,
|