Seicas commited on
Commit
933c075
·
verified ·
1 Parent(s): eae3904

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -128,9 +128,11 @@ with gr.Blocks(title="Tıbbi Konuşma Transkripsiyon Servisi") as demo:
128
 
129
  with gr.Row():
130
  with gr.Column():
131
- # Eski gr.Audio yerine gr.inputs.Audio kullan
132
- from gradio.inputs import Audio as AudioInput
133
- audio_input = AudioInput(type="filepath")
 
 
134
 
135
  with gr.Row():
136
  diarize = gr.Checkbox(label="Konuşmacı Ayrımı", value=True)
 
128
 
129
  with gr.Row():
130
  with gr.Column():
131
+ # Yeni Gradio Audio bileşeni kullanımı
132
+ audio_input = gr.Audio(
133
+ label="Ses Dosyası",
134
+ type="filepath"
135
+ )
136
 
137
  with gr.Row():
138
  diarize = gr.Checkbox(label="Konuşmacı Ayrımı", value=True)