Ahsen Khaliq
commited on
Commit
·
d6facd1
1
Parent(s):
666b041
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,5 +7,7 @@ def inference(image1,image2):
|
|
| 7 |
text = "same person"
|
| 8 |
else:
|
| 9 |
text = "different person"
|
| 10 |
-
return
|
| 11 |
-
|
|
|
|
|
|
|
|
|
| 7 |
text = "same person"
|
| 8 |
else:
|
| 9 |
text = "different person"
|
| 10 |
+
return text
|
| 11 |
+
|
| 12 |
+
examples=['mona.jpeg','mona.jpeg']
|
| 13 |
+
gr.Interface(inference,["image","image"],"text",enable_queue=True,examples=examples).launch(debug=True)
|