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