Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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"),
|