Spaces:
Runtime error
Runtime error
Lagar
commited on
Commit
•
640e95a
1
Parent(s):
7c9267d
additional files
Browse files
HongKong_00041_504492617_7af38e0004_208_7224156@N03.jpg
ADDED
app.py
CHANGED
@@ -43,9 +43,9 @@ article ='''PlaNet -Photo Geolocation with Convolutional Neural Networks. A grad
|
|
43 |
ex1 = 'UnitedKingdom_00019_964966881_426cf82f57_1071_98545448@N00.jpg'
|
44 |
ex2 = 'Tanzania_00019_1292210091_693ea74b7a_1088_15274769@N00.jpg'
|
45 |
ex3 = 'Sydney_00073_1226915900_eea86783cd_1128_65768710@N00.jpg'
|
46 |
-
|
47 |
iface = gr.Interface(classify_image, inputs=gr.inputs.Image(shape=(299, 299), image_mode="RGB", type="numpy"),
|
48 |
-
outputs=[gr.outputs.Textbox(label='Latitude,Longitude'),gr.outputs.Textbox(label='Address')],examples=[ex1,ex2],
|
49 |
live=False,layout="horizontal", interpretation=None,title=title,
|
50 |
description=description, article=article)
|
51 |
|
|
|
43 |
ex1 = 'UnitedKingdom_00019_964966881_426cf82f57_1071_98545448@N00.jpg'
|
44 |
ex2 = 'Tanzania_00019_1292210091_693ea74b7a_1088_15274769@N00.jpg'
|
45 |
ex3 = 'Sydney_00073_1226915900_eea86783cd_1128_65768710@N00.jpg'
|
46 |
+
ex4 = 'HongKong_00041_504492617_7af38e0004_208_7224156@N03.jpg'
|
47 |
iface = gr.Interface(classify_image, inputs=gr.inputs.Image(shape=(299, 299), image_mode="RGB", type="numpy"),
|
48 |
+
outputs=[gr.outputs.Textbox(label='Latitude,Longitude'),gr.outputs.Textbox(label='Address')],examples=[ex1,ex2,ex3,ex4],
|
49 |
live=False,layout="horizontal", interpretation=None,title=title,
|
50 |
description=description, article=article)
|
51 |
|