Ashhar commited on
Commit
0d34a04
·
1 Parent(s): 3683b73

slight modification

Browse files
Files changed (3) hide show
  1. .gitignore +6 -0
  2. __pycache__/app.cpython-312.pyc +0 -0
  3. app.py +3 -3
.gitignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ .env
2
+ .venv
3
+ __pycache__/
4
+ .gitattributes
5
+ gradio_cached_examples/
6
+ app_*.py
__pycache__/app.cpython-312.pyc CHANGED
Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ
 
app.py CHANGED
@@ -61,11 +61,11 @@ def predictMatch(firstImage, secondImage):
61
 
62
  with gr.Row(elem_classes=["main-container"]):
63
  with gr.Row(elem_classes=["img-container"]):
64
- firstImage = gr.Image(type='filepath', height=250, elem_classes=["image"])
65
- secondImage = gr.Image(type='filepath', height=250, elem_classes=["image"])
66
 
67
  with gr.Row(elem_classes=["output-container"]):
68
- result = gr.Textbox(label="Result", elem_classes=["output"])
69
 
70
 
71
  with gr.Interface(
 
61
 
62
  with gr.Row(elem_classes=["main-container"]):
63
  with gr.Row(elem_classes=["img-container"]):
64
+ firstImage = gr.Image(type='filepath', height=300, elem_classes=["image"], label="1st Image", scale=0.5)
65
+ secondImage = gr.Image(type='filepath', height=300, elem_classes=["image"], label="2nd Image", scale=0.5)
66
 
67
  with gr.Row(elem_classes=["output-container"]):
68
+ result = gr.Textbox(label="Result", elem_classes=["output"], scale=2)
69
 
70
 
71
  with gr.Interface(