dnth commited on
Commit
b5eea57
1 Parent(s): 6e1fefe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ Blog post: https://dicksonneoh.com/portfolio/deploy_gpt_hf_models_on_telegram/
27
 
28
 
29
  def respond_to_user(update: Update, context: CallbackContext):
30
- update.message.chat.send_action(action="Querying GPT-J")
31
  response_text = get_gpt_response(update.message.text)
32
  update.message.reply_text(response_text)
33
 
 
27
 
28
 
29
  def respond_to_user(update: Update, context: CallbackContext):
30
+ update.message.chat.send_action(action=ChatAction.TYPING)
31
  response_text = get_gpt_response(update.message.text)
32
  update.message.reply_text(response_text)
33