KevanSoon
commited on
Commit
·
802e32d
1
Parent(s):
f46541e
adjusted dockerfile
Browse files- Dockerfile +1 -1
- app.py +0 -2
Dockerfile
CHANGED
|
@@ -20,7 +20,7 @@ COPY requirements.txt .
|
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# Copy app source code
|
| 23 |
-
COPY
|
| 24 |
|
| 25 |
# Expose port (choose 8000 or 7860 as you prefer)
|
| 26 |
EXPOSE 7860
|
|
|
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# Copy app source code
|
| 23 |
+
COPY . .
|
| 24 |
|
| 25 |
# Expose port (choose 8000 or 7860 as you prefer)
|
| 26 |
EXPOSE 7860
|
app.py
CHANGED
|
@@ -32,8 +32,6 @@ from gradio_client import Client, handle_file
|
|
| 32 |
from PIL import Image
|
| 33 |
#pytesseract
|
| 34 |
import pytesseract
|
| 35 |
-
|
| 36 |
-
|
| 37 |
from auth.clerk import verify_clerk_jwt
|
| 38 |
from tools.tools import (
|
| 39 |
extract_text_from_html,
|
|
|
|
| 32 |
from PIL import Image
|
| 33 |
#pytesseract
|
| 34 |
import pytesseract
|
|
|
|
|
|
|
| 35 |
from auth.clerk import verify_clerk_jwt
|
| 36 |
from tools.tools import (
|
| 37 |
extract_text_from_html,
|