Spaces:
Running
Running
Commit
·
2ade1bd
1
Parent(s):
b27b9cb
reset gradio version
Browse files- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
|
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
# Install pip packages
|
12 |
-
RUN pip install gradio moviepy==1.0.3
|
13 |
|
14 |
# Set environment variables for matplotlib and fontconfig
|
15 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
|
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
# Install pip packages
|
12 |
+
RUN pip install gradio==3.50.2 moviepy==1.0.3
|
13 |
|
14 |
# Set environment variables for matplotlib and fontconfig
|
15 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
app.py
CHANGED
@@ -91,7 +91,7 @@ def gradio_predict(input_obj, input_obj_type, bg_color, fg_alpha, bars_color, ba
|
|
91 |
return result
|
92 |
|
93 |
def main():
|
94 |
-
with gr.Blocks(title="audio2waveform", delete_cache=(86400, 86400)
|
95 |
with gr.Tabs(selected="video") as tabs:
|
96 |
with gr.Tab("Video", id="video"):
|
97 |
gr.Interface(
|
|
|
91 |
return result
|
92 |
|
93 |
def main():
|
94 |
+
with gr.Blocks(title="audio2waveform", delete_cache=(86400, 86400)) as demo:
|
95 |
with gr.Tabs(selected="video") as tabs:
|
96 |
with gr.Tab("Video", id="video"):
|
97 |
gr.Interface(
|