Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -723,7 +723,7 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
|
|
723 |
@demo.load(api_name="get_client_ip")
|
724 |
def get_client_ip_handler(dummy_input="", request: gr.Request = None):
|
725 |
"""Handler for getting client IP in Gradio context"""
|
726 |
-
return get_client_ip(request)
|
727 |
|
728 |
|
729 |
#-------------------- Gradio voodoo -------------------------
|
|
|
723 |
@demo.load(api_name="get_client_ip")
|
724 |
def get_client_ip_handler(dummy_input="", request: gr.Request = None):
|
725 |
"""Handler for getting client IP in Gradio context"""
|
726 |
+
return get_client_ip(request=None)
|
727 |
|
728 |
|
729 |
#-------------------- Gradio voodoo -------------------------
|