proyecto-meis commited on
Commit
7d6cf6f
verified
1 Parent(s): 06bc661

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -131,7 +131,7 @@ def predict_fn(texto):
131
  })
132
  return details
133
 
134
- iface = gr.Interface(fn=predict_fn, inputs="text", outputs="json", api_name="predict")
135
 
136
  if __name__ == "__main__":
137
- iface.launch()
 
131
  })
132
  return details
133
 
134
+ iface = gr.Interface(fn=predict_fn, inputs="text", outputs="json")
135
 
136
  if __name__ == "__main__":
137
+ iface.launch(share=True, api_name="predict")