We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf6315 commit 84c1663Copy full SHA for 84c1663
app.py
@@ -1,3 +1,4 @@
1
+import imageio
2
import gradio as gr
3
import random
4
import torch
@@ -18,6 +19,9 @@
18
19
from transformers import WhisperProcessor, WhisperForConditionalGeneration
20
import librosa
21
22
+os.environ['DISPLAY'] = ':0.0'
23
+os.environ['PYOPENGL_PLATFORM'] = 'egl'
24
+
25
# Load model
26
cfg = parse_args(phase="webui") # parse config file
27
cfg.FOLDER = 'cache'
requirements.txt
@@ -24,3 +24,4 @@ natsort
pyrender
moviepy
librosa
+triangle==20220202
0 commit comments