Commit
·
928f230
1
Parent(s):
a45e5cd
clean up
Browse files- Dockerfile +1 -1
- app.py +1 -8
Dockerfile
CHANGED
|
@@ -75,4 +75,4 @@ ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/code/miniconda/lib"
|
|
| 75 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 76 |
COPY --chown=user . $HOME/app
|
| 77 |
|
| 78 |
-
CMD ["python3", "app.py"]
|
|
|
|
| 75 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 76 |
COPY --chown=user . $HOME/app
|
| 77 |
|
| 78 |
+
CMD ["python3", "app.py"]
|
app.py
CHANGED
|
@@ -213,14 +213,7 @@ with gr.Blocks() as demo:
|
|
| 213 |
with gr.Column():
|
| 214 |
inp = gr.File()
|
| 215 |
btn = gr.Button("Submit")
|
| 216 |
-
|
| 217 |
-
# with gr.Row():
|
| 218 |
-
# gr.Markdown(value='### T1', scale=)
|
| 219 |
-
# gr.Markdown(value='### T2')
|
| 220 |
-
# gr.Markdown(value='### T3')
|
| 221 |
-
# gr.Markdown(value='### Model prediction')
|
| 222 |
-
# gr.Markdown(value='### Legend')
|
| 223 |
-
|
| 224 |
with gr.Row():
|
| 225 |
inp1=gr.Image(image_mode='RGB', scale=10, label='T1')
|
| 226 |
inp2=gr.Image(image_mode='RGB', scale=10, label='T2')
|
|
|
|
| 213 |
with gr.Column():
|
| 214 |
inp = gr.File()
|
| 215 |
btn = gr.Button("Submit")
|
| 216 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
with gr.Row():
|
| 218 |
inp1=gr.Image(image_mode='RGB', scale=10, label='T1')
|
| 219 |
inp2=gr.Image(image_mode='RGB', scale=10, label='T2')
|