Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,13 @@
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from PIL import Image, ImageDraw, ImageFont
|
3 |
import scipy.io.wavfile as wavfile
|
4 |
|
5 |
|
|
|
6 |
# Use a pipeline as a high-level helper
|
7 |
from transformers import pipeline
|
8 |
|
|
|
1 |
+
import os
|
2 |
+
os.system("pip install scipy")
|
3 |
+
|
4 |
+
|
5 |
import gradio as gr
|
6 |
from PIL import Image, ImageDraw, ImageFont
|
7 |
import scipy.io.wavfile as wavfile
|
8 |
|
9 |
|
10 |
+
|
11 |
# Use a pipeline as a high-level helper
|
12 |
from transformers import pipeline
|
13 |
|