Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,7 @@ with gr.Blocks() as block_demo:
|
|
| 90 |
image, method1, method2, image1, image2, property, image_input = refresh_comparison()
|
| 91 |
return image1, image2, f"<h2 style='font-size: 24px;'>Which one <mark class='red'>{property_dict[property]}</mark>?</h2>",\
|
| 92 |
image, method1, method2, property, image_input
|
| 93 |
-
def on_load(request: gr.Request)
|
| 94 |
|
| 95 |
headers = request.headers
|
| 96 |
host = request.client.host
|
|
|
|
| 90 |
image, method1, method2, image1, image2, property, image_input = refresh_comparison()
|
| 91 |
return image1, image2, f"<h2 style='font-size: 24px;'>Which one <mark class='red'>{property_dict[property]}</mark>?</h2>",\
|
| 92 |
image, method1, method2, property, image_input
|
| 93 |
+
def on_load(request: gr.Request):
|
| 94 |
|
| 95 |
headers = request.headers
|
| 96 |
host = request.client.host
|