mskov commited on
Commit
5e49329
·
1 Parent(s): 9e48947

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def debug_inference(audio, prompt, model, temperature, state=""):
75
  return transcript, state, infers, text
76
 
77
  # get audio from microphone
78
- with gr.Blocks() as face:
79
  fn=debug_inference,
80
  inputs=[gr.inputs.Audio(source="microphone", type="filepath"),
81
  gr.inputs.Textbox(lines=15, placeholder="Enter a prompt here"),
 
75
  return transcript, state, infers, text
76
 
77
  # get audio from microphone
78
+ gr.Interface(
79
  fn=debug_inference,
80
  inputs=[gr.inputs.Audio(source="microphone", type="filepath"),
81
  gr.inputs.Textbox(lines=15, placeholder="Enter a prompt here"),