radames commited on
Commit
bd56722
1 Parent(s): 73e407b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def predict(text, request: gr.Request):
6
  local_ip = socket.gethostbyname(socket.gethostname())
7
  return text, {"client_ip": client_ip, "local_ip": local_ip}
8
 
9
- with gr.Blocks() as demo:
10
  gr.Markdown("## Test request")
11
  text = gr.Textbox(label="dummy input")
12
  output = gr.JSON({})
 
6
  local_ip = socket.gethostbyname(socket.gethostname())
7
  return text, {"client_ip": client_ip, "local_ip": local_ip}
8
 
9
+ with gr.Blocks() as block:
10
  gr.Markdown("## Test request")
11
  text = gr.Textbox(label="dummy input")
12
  output = gr.JSON({})