rr19tech commited on
Commit
1d3affb
·
verified ·
1 Parent(s): a2261a1
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,4 +39,5 @@ def call_private_api(user_input):
39
  return {"error": f"Connection failed: {str(e)}"}
40
 
41
  # Simple UI to test it
42
- gr.Interface(fn=call_private_api, inputs="text", outputs="json").launch()
 
 
39
  return {"error": f"Connection failed: {str(e)}"}
40
 
41
  # Simple UI to test it
42
+ demo = gr.Interface(fn=call_private_api, inputs="text", outputs="json")
43
+ demo.queue().launch()