codemogul commited on
Commit
2dadf56
·
1 Parent(s): 6a174eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -123,16 +123,16 @@ height: 70vh !important;
123
 
124
  """
125
 
126
- # cr_api = create_api(model,run=False,api_type="text-classification")
127
- # cr_api.run()
128
 
129
  demo = gr.Interface(
130
  chat,
131
  [gr.Textbox(lines=1, label="Message"), "state"],
132
  [chatbot, "state"],
133
  allow_flagging="never",
134
- title="Mental Health Bot | Data Science Dojo",
135
  css=css
136
  )
137
  if __name__ == "__main__":
138
- demo.launch(share=True)
 
123
 
124
  """
125
 
126
+ cr_api = create_api(model,run=False,api_type="text-classification")
127
+ cr_api.run()
128
 
129
  demo = gr.Interface(
130
  chat,
131
  [gr.Textbox(lines=1, label="Message"), "state"],
132
  [chatbot, "state"],
133
  allow_flagging="never",
134
+ title="Mental Health Bot",
135
  css=css
136
  )
137
  if __name__ == "__main__":
138
+ demo.launch()