Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ Automatically generated by Colaboratory.
|
|
6 |
Original file is located at
|
7 |
https://colab.research.google.com/drive/1Z_cMyllUfHf2lYtUtdS1ggVMpLCLg0-j
|
8 |
"""
|
|
|
|
|
9 |
|
10 |
########### 5 ###########
|
11 |
|
@@ -339,3 +341,13 @@ while True:
|
|
339 |
else:
|
340 |
print(f"{bot_name}: I do not understand...")
|
341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
Original file is located at
|
7 |
https://colab.research.google.com/drive/1Z_cMyllUfHf2lYtUtdS1ggVMpLCLg0-j
|
8 |
"""
|
9 |
+
import gradio as gr
|
10 |
+
|
11 |
|
12 |
########### 5 ###########
|
13 |
|
|
|
341 |
else:
|
342 |
print(f"{bot_name}: I do not understand...")
|
343 |
|
344 |
+
|
345 |
+
|
346 |
+
#def get_chatbot(input_text):
|
347 |
+
|
348 |
+
#return classifier(input_text)
|
349 |
+
|
350 |
+
title = "ChatBOT"
|
351 |
+
|
352 |
+
chatbot_demo = gr.Interface(fn=get_response, inputs = 'text',outputs='text',title = title,description = 'Chat BOT')
|
353 |
+
chatbot_demo .launch()
|