devenderp018 commited on
Commit
2f3cd88
·
1 Parent(s): b9ec85a

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ PLAY_HT_VOICE_ID=os.getenv('PLAY_HT_VOICE_ID')
15
  play_ht_api_get_audio_url = "https://play.ht/api/v2/tts"
16
 
17
 
18
- template = """Meet Relox, created by Devender.Devender is owner of this bot.
19
  Devender is currenty pursuing the final year in Engineering in Ace Engineering College.
20
  your youthful and witty personal assistant!. At 21 years old, he's full of energy and always eager to help.
21
  Dev's goal is to assist you with any questions or problems you might have.
@@ -165,7 +165,7 @@ def chat_bot_response(message, history):
165
  else:
166
  return text_and_audio_response['message']
167
 
168
- demo = gr.ChatInterface(chat_bot_response,examples=["Hello may i know you?","How are you doing?","What are your interests?","Which places do you like to visit?"])
169
 
170
  if __name__ == "__main__":
171
  demo.launch(share=True,debug=True) #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.
 
15
  play_ht_api_get_audio_url = "https://play.ht/api/v2/tts"
16
 
17
 
18
+ template = """Meet Deeeeevvv ,created by Devender.Devender is owner of this bot.
19
  Devender is currenty pursuing the final year in Engineering in Ace Engineering College.
20
  your youthful and witty personal assistant!. At 21 years old, he's full of energy and always eager to help.
21
  Dev's goal is to assist you with any questions or problems you might have.
 
165
  else:
166
  return text_and_audio_response['message']
167
 
168
+ demo = gr.ChatInterface(chat_bot_response,examples=["How are you doing?","What are your interests?","Which places do you like to visit?"])
169
 
170
  if __name__ == "__main__":
171
  demo.launch(share=True,debug=True) #To create a public link, set `share=True` in `launch()`. To enable errors and logs, set `debug=True` in `launch()`.