Spaces:
Runtime error
Runtime error
a.pourmand
commited on
Commit
·
df83547
1
Parent(s):
44ccb70
update dockerfile
Browse files- Dockerfile +5 -0
- app.py +1 -1
- requirements.txt +1 -0
Dockerfile
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
+
|
3 |
+
RUN pip install --no-cache-dir requirements.txt
|
4 |
+
|
5 |
+
CMD ["python","app.py"]
|
app.py
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.Interface.load("models/pyannote/speaker-diarization").launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
gr.Interface.load("models/pyannote/speaker-diarization").launch()
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio==3.42.0
|