Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinsenal0x64 committed Jun 28, 2023
1 parent 71e3c5e commit 5302f39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,13 +486,16 @@ def cha_gpt(message):

response = requests.post(url, headers=headers, json=data)

rich.print(json.dumps(response.json(), indent=4, sort_keys=False))



info = "🟡 Processing..."

bot.edit_message_text(chat_id=message.chat.id,
message_id=msg.message_id,
text=info)

rich.print(json.dumps(response.json(), indent=4, sort_keys=False))

ob = response.json()

Expand Down

0 comments on commit 5302f39

Please sign in to comment.