Srinivasulu kethanaboina commited on
Commit
716d1a2
·
verified ·
1 Parent(s): ea7d224

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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")