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