Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,9 +77,10 @@ def inference(audio, prompt, model, temperature, latest):
|
|
| 77 |
infers = list(map(lambda x: x.replace("\n", ""), temp))
|
| 78 |
#infered = list(map(lambda x: x.split(','), infers))
|
| 79 |
convoState = latest
|
|
|
|
| 80 |
|
| 81 |
|
| 82 |
-
return transcript,
|
| 83 |
|
| 84 |
# get audio from microphone
|
| 85 |
with gr.Blocks() as face:
|
|
|
|
| 77 |
infers = list(map(lambda x: x.replace("\n", ""), temp))
|
| 78 |
#infered = list(map(lambda x: x.split(','), infers))
|
| 79 |
convoState = latest
|
| 80 |
+
options = infers
|
| 81 |
|
| 82 |
|
| 83 |
+
return transcript, options, convoState
|
| 84 |
|
| 85 |
# get audio from microphone
|
| 86 |
with gr.Blocks() as face:
|