Spaces:
Sleeping
Sleeping
diffusionai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ if __name__ == "__main__":
|
|
81 |
info="More Guessr types will be added soon!"
|
82 |
)
|
83 |
image = gr.Image() # Removed shape argument
|
84 |
-
button = gr.Button(
|
85 |
interactive_map = gr.Plot()
|
86 |
demo.load(create_map, [guessr_dropdown], interactive_map)
|
87 |
button.click(guess, [guessr_dropdown, image], interactive_map)
|
|
|
81 |
info="More Guessr types will be added soon!"
|
82 |
)
|
83 |
image = gr.Image() # Removed shape argument
|
84 |
+
button = gr.Button("Guess") # Changed 'text' to 'label'
|
85 |
interactive_map = gr.Plot()
|
86 |
demo.load(create_map, [guessr_dropdown], interactive_map)
|
87 |
button.click(guess, [guessr_dropdown, image], interactive_map)
|