amitkayal commited on
Commit
c7ed14c
·
1 Parent(s): 22c88f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,8 +6,8 @@ from transformers import pipeline
6
  from huggingface_hub import model_info
7
 
8
  # MODEL_NAME = "openai/whisper-small" #this always needs to stay in line 8 :D sorry for the hackiness
9
- MODEL_NAME = "amitkayal/whisper-small-hi"
10
- lang = "hi"
11
 
12
  device = 0 if torch.cuda.is_available() else "cpu"
13
  pipe = pipeline(
@@ -68,7 +68,7 @@ mf_transcribe = gr.Interface(
68
  outputs="text",
69
  layout="horizontal",
70
  theme="huggingface",
71
- title="Whisper-small Hindi Demo: Transcribe Audio",
72
  description=(
73
  "Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the the fine-tuned"
74
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"
 
6
  from huggingface_hub import model_info
7
 
8
  # MODEL_NAME = "openai/whisper-small" #this always needs to stay in line 8 :D sorry for the hackiness
9
+ MODEL_NAME = "amitkayal/whisper-small-or"
10
+ lang = "or"
11
 
12
  device = 0 if torch.cuda.is_available() else "cpu"
13
  pipe = pipeline(
 
68
  outputs="text",
69
  layout="horizontal",
70
  theme="huggingface",
71
+ title="Whisper-small Oria Demo: Transcribe Audio",
72
  description=(
73
  "Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the the fine-tuned"
74
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and 🤗 Transformers to transcribe audio files"