Spaces:
Runtime error
Runtime error
dbouget
commited on
Commit
·
7d0ab8e
1
Parent(s):
c126ca1
Ran code formatting, using Python 3.7 for the Docker image
Browse files- Dockerfile +1 -1
- src/gui.py +1 -1
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
-
FROM python:3.
|
4 |
|
5 |
# set language, format and stuff
|
6 |
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
|
|
|
1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
+
FROM python:3.7-slim
|
4 |
|
5 |
# set language, format and stuff
|
6 |
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
|
src/gui.py
CHANGED
@@ -3,8 +3,8 @@ import os
|
|
3 |
import gradio as gr
|
4 |
|
5 |
from .inference import run_model
|
6 |
-
from .utils import load_to_numpy
|
7 |
from .utils import load_pred_volume_to_numpy
|
|
|
8 |
from .utils import nifti_to_glb
|
9 |
|
10 |
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
from .inference import run_model
|
|
|
6 |
from .utils import load_pred_volume_to_numpy
|
7 |
+
from .utils import load_to_numpy
|
8 |
from .utils import nifti_to_glb
|
9 |
|
10 |
|