Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def inference(audio, prompt, model, temperature, latest):
|
|
| 48 |
print("The audio is:", audio)
|
| 49 |
transcript = transcribe(audio)
|
| 50 |
|
| 51 |
-
|
| 52 |
|
| 53 |
text = prompt + transcript + "\nPrediction: "
|
| 54 |
|
|
|
|
| 48 |
print("The audio is:", audio)
|
| 49 |
transcript = transcribe(audio)
|
| 50 |
|
| 51 |
+
latest.append(transcript)
|
| 52 |
|
| 53 |
text = prompt + transcript + "\nPrediction: "
|
| 54 |
|