Spaces:
Sleeping
Sleeping
Srinivasulu kethanaboina
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,8 @@ async def read_root(request: Request):
|
|
21 |
|
22 |
def gradio_interface():
|
23 |
def greet(name):
|
|
|
|
|
24 |
return f"Hello {name}! Last client IP: {shared_state.client_ip}"
|
25 |
|
26 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
21 |
|
22 |
def gradio_interface():
|
23 |
def greet(name):
|
24 |
+
# Debug print
|
25 |
+
print(f"Shared state IP: {shared_state.client_ip}")
|
26 |
return f"Hello {name}! Last client IP: {shared_state.client_ip}"
|
27 |
|
28 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|