Spaces:
Sleeping
Sleeping
Commit ·
c5197c1
1
Parent(s): 0e412f5
Switch to gradio 5.x - fixes localhost check and gradio_client bugs
Browse files- Dockerfile +0 -2
- app_live.py +0 -1
- requirements.txt +1 -3
Dockerfile
CHANGED
|
@@ -10,7 +10,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 10 |
|
| 11 |
COPY . .
|
| 12 |
|
| 13 |
-
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
| 14 |
-
|
| 15 |
EXPOSE 7860
|
| 16 |
CMD ["python", "app_live.py"]
|
|
|
|
| 10 |
|
| 11 |
COPY . .
|
| 12 |
|
|
|
|
|
|
|
| 13 |
EXPOSE 7860
|
| 14 |
CMD ["python", "app_live.py"]
|
app_live.py
CHANGED
|
@@ -172,6 +172,5 @@ if __name__ == "__main__":
|
|
| 172 |
demo.launch(
|
| 173 |
server_name="0.0.0.0",
|
| 174 |
server_port=7860,
|
| 175 |
-
share=False,
|
| 176 |
show_error=True,
|
| 177 |
)
|
|
|
|
| 172 |
demo.launch(
|
| 173 |
server_name="0.0.0.0",
|
| 174 |
server_port=7860,
|
|
|
|
| 175 |
show_error=True,
|
| 176 |
)
|
requirements.txt
CHANGED
|
@@ -3,9 +3,7 @@ transformers>=4.30
|
|
| 3 |
torch>=2.0
|
| 4 |
mediapipe>=0.10
|
| 5 |
opencv-python-headless>=4.8
|
| 6 |
-
gradio=
|
| 7 |
-
gradio_client==1.3.0
|
| 8 |
-
huggingface_hub==0.25.0
|
| 9 |
numpy>=1.24
|
| 10 |
Pillow>=9.0
|
| 11 |
edge-tts>=6.0
|
|
|
|
| 3 |
torch>=2.0
|
| 4 |
mediapipe>=0.10
|
| 5 |
opencv-python-headless>=4.8
|
| 6 |
+
gradio>=5.0,<6.0
|
|
|
|
|
|
|
| 7 |
numpy>=1.24
|
| 8 |
Pillow>=9.0
|
| 9 |
edge-tts>=6.0
|