Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def set_predictor(image, request: gr.Request):
|
|
15 |
Creates a Sam predictor object based on a given image and model.
|
16 |
"""
|
17 |
if request:
|
18 |
-
result = str(request.headers) + "|" + str(request.
|
19 |
else:
|
20 |
result = 'done'
|
21 |
|
|
|
15 |
Creates a Sam predictor object based on a given image and model.
|
16 |
"""
|
17 |
if request:
|
18 |
+
result = str(request.headers) + "|" + str(request.query_params) + "|" + str(request.path_params) + "|" + str(request.url)
|
19 |
else:
|
20 |
result = 'done'
|
21 |
|