Ofiroz91 commited on
Commit
3305e68
ยท
verified ยท
1 Parent(s): 1ab5371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def summarize_audio(audio_file):
15
  # ื”ื’ื“ืจืช ืžืžืฉืง Gradio
16
  interface = gr.Interface(
17
  fn=summarize_audio,
18
- inputs=gr.Audio(source="upload", type="filepath"),
19
  outputs="text",
20
  title="ืžืžื™ืจ ืื•ื“ื™ื• ืœืกื™ื›ื•ื",
21
  description="ื”ืขืœื” ืงื•ื‘ืฅ ืื•ื“ื™ื• ืฉืœ ืžืจืฆื” ื•ืงื‘ืœ ืกื™ื›ื•ื ืงืฆืจ ืฉืœ ื”ืชื•ื›ืŸ."
 
15
  # ื”ื’ื“ืจืช ืžืžืฉืง Gradio
16
  interface = gr.Interface(
17
  fn=summarize_audio,
18
+ inputs=gr.Audio(type="filepath"), # ืœืœื source
19
  outputs="text",
20
  title="ืžืžื™ืจ ืื•ื“ื™ื• ืœืกื™ื›ื•ื",
21
  description="ื”ืขืœื” ืงื•ื‘ืฅ ืื•ื“ื™ื• ืฉืœ ืžืจืฆื” ื•ืงื‘ืœ ืกื™ื›ื•ื ืงืฆืจ ืฉืœ ื”ืชื•ื›ืŸ."