Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
# The app is built using Gradio and Hugging Face Transformers, and it runs on the CPU to avoid video memory usage.
|
5 |
|
6 |
import torch
|
7 |
-
|
8 |
-
|
9 |
|
10 |
# Set device to CPU
|
11 |
device = "cpu"
|
|
|
4 |
# The app is built using Gradio and Hugging Face Transformers, and it runs on the CPU to avoid video memory usage.
|
5 |
|
6 |
import torch
|
7 |
+
from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
|
8 |
+
import gradio as gr
|
9 |
|
10 |
# Set device to CPU
|
11 |
device = "cpu"
|