Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
import torch
|
2 |
from transformers import pipeline
|
3 |
import gradio as gr
|
4 |
-
# Import the necessary libraries
|
5 |
-
import torch
|
6 |
-
from transformers import pipeline
|
7 |
-
import gradio as gr
|
8 |
import whisper
|
9 |
|
10 |
# Load the Whisper model for transcription
|
@@ -50,4 +46,3 @@ iface = gr.Interface(
|
|
50 |
|
51 |
# Deploy the interface
|
52 |
iface.launch(debug=True)
|
53 |
-
|
|
|
1 |
import torch
|
2 |
from transformers import pipeline
|
3 |
import gradio as gr
|
|
|
|
|
|
|
|
|
4 |
import whisper
|
5 |
|
6 |
# Load the Whisper model for transcription
|
|
|
46 |
|
47 |
# Deploy the interface
|
48 |
iface.launch(debug=True)
|
|