Update main.py
Browse files
main.py
CHANGED
@@ -246,8 +246,6 @@ async def cb_run_cohere(client, query):
|
|
246 |
@client.on_callback_query(filters.regex("example_cohere"))
|
247 |
async def cb_new_cohere(client, query):
|
248 |
user_id = query.from_user.id
|
249 |
-
if not await db_client.get_privacy_policy(user_id):
|
250 |
-
return await query.answer("You must agree to the privacy policy first.", True)
|
251 |
url = "https://randydev-ryu-js.hf.space/api/v2/key/generate-key"
|
252 |
response = requests.post(
|
253 |
url,
|
|
|
246 |
@client.on_callback_query(filters.regex("example_cohere"))
|
247 |
async def cb_new_cohere(client, query):
|
248 |
user_id = query.from_user.id
|
|
|
|
|
249 |
url = "https://randydev-ryu-js.hf.space/api/v2/key/generate-key"
|
250 |
response = requests.post(
|
251 |
url,
|