Paolo-Fraccaro
commited on
Commit
·
0136681
1
Parent(s):
928f230
fix docker
Browse files- Dockerfile +1 -1
- app.py +7 -7
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
@@ -225,13 +225,13 @@ with gr.Blocks() as demo:
|
|
225 |
|
226 |
with gr.Row():
|
227 |
gr.Examples(examples=["chip_102_345_merged.tif",
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
)
|
236 |
|
237 |
demo.launch()
|
|
|
225 |
|
226 |
with gr.Row():
|
227 |
gr.Examples(examples=["chip_102_345_merged.tif",
|
228 |
+
"chip_104_104_merged.tif",
|
229 |
+
"chip_109_421_merged.tif"],
|
230 |
+
inputs=inp,
|
231 |
+
outputs=[inp1, inp2, inp3, out],
|
232 |
+
preprocess=preprocess_example,
|
233 |
+
fn=func,
|
234 |
+
cache_examples=True,
|
235 |
)
|
236 |
|
237 |
demo.launch()
|