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