Saachi-S123 commited on
Commit
6a26618
·
verified ·
1 Parent(s): 01531c8

added label

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
- print("Hey fam, my name is Sage and I'm your personal chatbot and overall person to talk to when life gets to be a little to much! What's your name, and how have you been feeling lately?")
5
 
6
  #STEP 1 FROM SEMANTIC SEARCH
7
  from sentence_transformers import SentenceTransformer
@@ -136,7 +135,7 @@ def respond(message, history):
136
 
137
  return response['choices'][0]['message']['content'].strip()
138
 
139
- chatbot = gr.ChatInterface(respond, type="messages")
140
  chatbot.launch()
141
 
142
 
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
 
4
 
5
  #STEP 1 FROM SEMANTIC SEARCH
6
  from sentence_transformers import SentenceTransformer
 
135
 
136
  return response['choices'][0]['message']['content'].strip()
137
 
138
+ chatbot = gr.ChatInterface(respond, type="messages", label = "Hey fam, my name is Sage and I'm your personal chatbot and overall person to talk to when life gets to be a little to much! What's your name, and how have you been feeling lately?")
139
  chatbot.launch()
140
 
141