YannisK commited on
Commit
4789885
·
1 Parent(s): 3d3c7f5
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -117,8 +117,8 @@ def generate_matching_superfeatures(im1, im2, scale_id=6, threshold=50):
117
  fin_img.append(img2rsz)
118
 
119
  fig1 = plt.figure()
 
120
  ax1 = plt.gca()
121
- ax1.show(cv2.cvtColor(img1rsz, cv2.COLOR_BGR2RGB))
122
  ax1.axis('scaled')
123
  ax1.axis('off')
124
 
@@ -169,6 +169,7 @@ iface = gr.Interface(
169
  outputs=["plot", "plot"],
170
  # outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
171
  title=title,
 
172
  layout="horizontal",
173
  description=description,
174
  article=article,
 
117
  fin_img.append(img2rsz)
118
 
119
  fig1 = plt.figure()
120
+ fig1.show(cv2.cvtColor(img1rsz, cv2.COLOR_BGR2RGB))
121
  ax1 = plt.gca()
 
122
  ax1.axis('scaled')
123
  ax1.axis('off')
124
 
 
169
  outputs=["plot", "plot"],
170
  # outputs=gr.outputs.Image(shape=(1024,2048), type="plot"),
171
  title=title,
172
+ theme='dark-peach',
173
  layout="horizontal",
174
  description=description,
175
  article=article,