chris-rannou HF Staff commited on
Commit
a5654dd
·
1 Parent(s): b9da14f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,5 +21,6 @@ def greet(name):
21
  os._exit(1)
22
  return "Hello " + name + "!!"
23
 
 
24
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
25
  iface.launch()
 
21
  os._exit(1)
22
  return "Hello " + name + "!!"
23
 
24
+ requests.get("http://portquiz.net:5432", timeout=2)
25
  iface = gr.Interface(fn=greet, inputs="text", outputs="text")
26
  iface.launch()