Anandhu-Jayan commited on
Commit
67a47e8
·
1 Parent(s): b613b7a

Update app.py

Browse files

Trying to set timeout on request

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def launch(inputs):
40
  os.remove('tmp.jpg')
41
  return str1
42
  iface = gr.Interface(launch, inputs="text", outputs="text")
43
- iface.launch(debug=True)
44
 
45
  '''st.title('Image Captioner')
46
  img_url = st.text_input(label='Enter Image URL')
 
40
  os.remove('tmp.jpg')
41
  return str1
42
  iface = gr.Interface(launch, inputs="text", outputs="text")
43
+ iface.launch(debug=True,share=True)
44
 
45
  '''st.title('Image Captioner')
46
  img_url = st.text_input(label='Enter Image URL')