navidved commited on
Commit
ee7da9b
1 Parent(s): 39a9210

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -28,11 +28,19 @@ def transcribe_audio(file_path):
28
  else:
29
  return f"Error: {response.status_code}, {response.text}"
30
 
 
 
 
 
 
 
 
 
31
  # Set up the Gradio interface
32
  gr.Interface(
33
  fn=transcribe_audio,
34
  inputs=gr.Audio(type="filepath"), # Updated here
35
  outputs="text",
36
- title="Persian ASR Transcription",
37
- description="Upload an audio file in Persian, and this app will transcribe it."
38
  ).launch()
 
28
  else:
29
  return f"Error: {response.status_code}, {response.text}"
30
 
31
+
32
+ description_text = """
33
+ The Gooya model is one of the most [powerful](https://huggingface.co/spaces/navidved/open_persian_asr_leaderboard) and fastest Persian ASR models.
34
+
35
+ Upload an audio file in Persian, and this Model will transcribe it.
36
+ """
37
+
38
+
39
  # Set up the Gradio interface
40
  gr.Interface(
41
  fn=transcribe_audio,
42
  inputs=gr.Audio(type="filepath"), # Updated here
43
  outputs="text",
44
+ title="Gooya v1 Persian ASR",
45
+ description="The Gooya model is one of the most powerful and fastest Persian ASR models. Upload an audio file in Persian, and this Model will transcribe it."
46
  ).launch()