Paolo-Fraccaro commited on
Commit
c88df31
1 Parent(s): 9a7fa4f
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
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
@@ -226,7 +226,7 @@ with gr.Blocks() as demo:
226
  inp2=gr.Image(image_mode='RGB')
227
  inp3=gr.Image(image_mode='RGB')
228
  out = gr.Image(image_mode='L')
229
- gr.Image(value='Legend.png', image_mode='RGB', scale=0.1, show_label=False, min_width=100)
230
 
231
  btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
232
 
 
226
  inp2=gr.Image(image_mode='RGB')
227
  inp3=gr.Image(image_mode='RGB')
228
  out = gr.Image(image_mode='L')
229
+ gr.Image(value='Legend.png', image_mode='RGB', scale=0.05 show_label=False, min_width=50)
230
 
231
  btn.click(fn=func, inputs=inp, outputs=[inp1, inp2, inp3, out])
232