Update app.py
Browse files
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 |
-
|
|
|
|
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 |
+
|