jinggujiwoo7 commited on
Commit
57a4e23
1 Parent(s): 8da41c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,7 +49,7 @@ question_interface = gr.Interface(
49
 
50
  record_interface = gr.Interface(
51
  fn=record_student_voice,
52
- inputs=[gr.Textbox(placeholder="Your name"), gr.Textbox(placeholder="Question"), gr.Audio(type="file")],
53
  outputs="text",
54
  title="Record Your Voice"
55
  )
@@ -57,7 +57,7 @@ record_interface = gr.Interface(
57
  play_interface = gr.Interface(
58
  fn=play_recorded_voice,
59
  inputs=gr.Textbox(placeholder="Question"),
60
- outputs=gr.Audio(type="file", label="Recorded Voices", multiple=True),
61
  title="Play Recorded Voices"
62
  )
63
 
 
49
 
50
  record_interface = gr.Interface(
51
  fn=record_student_voice,
52
+ inputs=[gr.Textbox(placeholder="Your name"), gr.Textbox(placeholder="Question"), gr.Audio(type="filepath")],
53
  outputs="text",
54
  title="Record Your Voice"
55
  )
 
57
  play_interface = gr.Interface(
58
  fn=play_recorded_voice,
59
  inputs=gr.Textbox(placeholder="Question"),
60
+ outputs=gr.Audio(type="filepath", label="Recorded Voices", multiple=True),
61
  title="Play Recorded Voices"
62
  )
63