Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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 |
|