Spaces:
Runtime error
Runtime error
fix
Browse files- Dockerfile +0 -14
- app.py +0 -1
Dockerfile
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
FROM python:3.9
|
| 2 |
-
|
| 3 |
-
RUN apt-get update && apt-get install -y libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
|
| 4 |
-
|
| 5 |
-
ARG GRADIO_SERVER_PORT=7860
|
| 6 |
-
ENV GRADIO_SERVER_PORT=${GRADIO_SERVER_PORT}
|
| 7 |
-
|
| 8 |
-
WORKDIR /workspace
|
| 9 |
-
|
| 10 |
-
COPY requirements.txt app.py demo.jpeg /workspace/
|
| 11 |
-
|
| 12 |
-
RUN pip install -r /workspace/requirements.txt
|
| 13 |
-
|
| 14 |
-
CMD ["python", "/workspace/app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
import cv2
|
| 3 |
from PIL import Image
|
| 4 |
import numpy as np
|
| 5 |
from gradio import components
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
from PIL import Image
|
| 3 |
import numpy as np
|
| 4 |
from gradio import components
|