mskov commited on
Commit
7d9e72a
1 Parent(s): c891e39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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
- convoState = latest
 
 
80
 
81
 
82
- return transcript, infers, convoState
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: