SeyedAli commited on
Commit
42332b0
1 Parent(s): 2c5f2c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ import numpy as np
8
  import re
9
  import string
10
 
11
- audio_input = gr.Audio(label="صوت گفتار فارسی", type="filepath")
12
- text_output = gr.TextArea(label="متن فارسی", type="text")
13
 
14
  processor = AutoProcessor.from_pretrained("SeyedAli/Persian-Speech-Transcription-Wav2Vec2-V1")
15
  model = AutoModelForCTC.from_pretrained("SeyedAli/Persian-Speech-Transcription-Wav2Vec2-V1")
 
8
  import re
9
  import string
10
 
11
+ audio_input = gr.Audio(label="صوت گفتار فارسی",rtl=True, type="filepath")
12
+ text_output = gr.TextArea(label="متن فارسی",text_align="right",rtl=True,type="text")
13
 
14
  processor = AutoProcessor.from_pretrained("SeyedAli/Persian-Speech-Transcription-Wav2Vec2-V1")
15
  model = AutoModelForCTC.from_pretrained("SeyedAli/Persian-Speech-Transcription-Wav2Vec2-V1")