Chris4K commited on
Commit
71b7aa3
1 Parent(s): 629a917

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -180,12 +180,13 @@ def func (message, checkbox, numb):
180
 
181
  app = gr.Interface(
182
  fn=func,
183
- title="Conversation Bota"
184
  inputs=["text", "checkbox", gr.Slider(0, 100)],
185
  outputs=["text", "number"],
186
  )
 
187
 
188
-
189
- #app = gr.Interface(fn=func , inputs="textbox", outputs="textbox", title="Conversation Bot")
190
  # create a public link, set `share=True` in `launch()
191
- app.launch()
 
 
180
 
181
  app = gr.Interface(
182
  fn=func,
183
+ title="Conversation Bota",
184
  inputs=["text", "checkbox", gr.Slider(0, 100)],
185
  outputs=["text", "number"],
186
  )
187
+ #app.launch()
188
 
189
+ app_sentiment = gr.Interface(fn=predict , inputs="textbox", outputs="textbox", title="Conversation Bot")
 
190
  # create a public link, set `share=True` in `launch()
191
+ app_sentiment.launch()
192
+