yeref 0.25.28__py3-none-any.whl → 0.25.30__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yeref/l_.py +2 -18
- yeref/yeref.py +7 -5
- {yeref-0.25.28.dist-info → yeref-0.25.30.dist-info}/METADATA +1 -1
- yeref-0.25.30.dist-info/RECORD +8 -0
- yeref-0.25.28.dist-info/RECORD +0 -8
- {yeref-0.25.28.dist-info → yeref-0.25.30.dist-info}/WHEEL +0 -0
- {yeref-0.25.28.dist-info → yeref-0.25.30.dist-info}/top_level.txt +0 -0
yeref/l_.py
CHANGED
@@ -2650,22 +2650,6 @@ l_ai_welcome = {
|
|
2650
2650
|
'zh': "🌱 <b>{0}</b>,欢迎使用<i>登陆机器人</i>来神经生成内容:\n\n▪️<b>文本/图像</b>\n▪️<b>神经分析</b> @tg-tech频道\n▪️<b>语音识别</b>\n▪️<b>清理⁰历史记录</b> /start\n\n❗️<b>定期</b >-可更新/内容",
|
2651
2651
|
'ar': "🌱 <b>{0}</b>، مرحبًا بك في <i>الروبوت المقصود</i> لإنشاء المحتوى العصبي:\n\n▪️<b>نص/صورة</b>\n▪️<b>تحليل الأعصاب</b> قنوات @tg-tech\n▪️<b>التعرف على الكلام</b>\n▪️<b>تنظيف ⁰التاريخ</b> /بدء\n\n❗️<b>بانتظام</ b >-قابل للتحديث/المحتوى",
|
2652
2652
|
}
|
2653
|
-
l_ai_welcome_instruction = {
|
2654
|
-
'ru': 'https://telegra.ph/FereyAIBot-11-15',
|
2655
|
-
'en': 'https://telegra.ph/FereyBotBot-11-13',
|
2656
|
-
'es': 'https://telegra.ph/FereyBotBot-11-13',
|
2657
|
-
'fr': 'https://telegra.ph/FereyBotBot-11-13',
|
2658
|
-
'zh': 'https://telegra.ph/FereyBotBot-11-13',
|
2659
|
-
'ar': 'https://telegra.ph/FereyBotBot-11-13',
|
2660
|
-
}
|
2661
|
-
l_subscribe_ai = {
|
2662
|
-
'ru': "👩🏽💻 <b>Оформи</b> ежемесячную подписку:\n\n¹ [<b>Все боты</b> и проекты (-<u>22</u>%)]\n² [@{0}-бот]:\n<blockquote>▪️отсутствие <b>режима ожидания</b>\n▪️аналитика постов канала\n(<i>+финансовый потенциал</i>)</blockquote>",
|
2663
|
-
'en': "👩🏽💻 <b>Subscribe</b> to a monthly subscription:\n\n¹ [<b>All bots</b> and projects (-<u>22</u>%)]\n² [@{0 }-bot]:\n▪️lack of <b>standby mode</b>\n▪️channel post analytics\n(<i>+financial potential</i>)",
|
2664
|
-
'es': "👩🏽💻 <b>Suscríbete</b> a una suscripción mensual:\n\n¹ [<b>Todos los bots</b> y proyectos (-<u>22</u>%)]\n² [@ {0 }-bot]:\n▪️falta de <b>modo de espera</b>\n▪️análisis de publicaciones del canal\n(<i>+potencial financiero</i>)\n\n👩🏽💻 / balance",
|
2665
|
-
'fr': "👩🏽💻 <b>S'abonner</b> à un abonnement mensuel :\n\n¹ [<b>Tous les robots</b> et projets (-<u>22</u>%)]\n² [@ {0 }-bot] :\n▪️manque de <b>mode veille</b>\n▪️analyse des publications de chaîne\n(<i>+potentiel financier</i>)\n\n👩🏽💻 / équilibre",
|
2666
|
-
'zh': "👩🏽💻<b>订阅</b>按月订阅:\n\n1 [<b>所有机器人</b>和项目 (-<u>22</u>%)]\n² [@ {0 }-bot]:\n▪️缺乏<b>待机模式</b>\n▪️频道后期分析\n(<i>+财务潜力</i>)\n\n👩🏽💻 /平衡",
|
2667
|
-
'ar': "👩🏽💻 <b>اشترك</b> في اشتراك شهري:\n\n¹ [<b>جميع الروبوتات</b> والمشاريع (-<u>22</u>%)]\n² [@ {0 }-bot]:\n▪️عدم وجود <b>وضع الاستعداد</b>\n▪️تحليلات منشورات القناة\n(<i>+الإمكانات المالية</i>)\n\n👩🏽💻 / توازن",
|
2668
|
-
}
|
2669
2653
|
|
2670
2654
|
l_gen_txt = {
|
2671
2655
|
'ru': "📘 Текст{0}",
|
@@ -2733,7 +2717,7 @@ l_generate_wait = {
|
|
2733
2717
|
'ar': "👩🏽💻 <b>اختر الوضع</b> أو <b>انتظر</b> حتى نهاية الجيل..",
|
2734
2718
|
}
|
2735
2719
|
l_generate_subcribe = {
|
2736
|
-
'ru': "👩🏽💻 Подожди {0}сек или оформи 💨Подписку",
|
2720
|
+
'ru': "👩🏽💻 Подожди {0} сек или оформи 💨Подписку",
|
2737
2721
|
'en': "👩🏽💻 Wait {0}sec or subscribe 💨",
|
2738
2722
|
'es': "👩🏽💻 Espere {0}seg o suscríbase 💨",
|
2739
2723
|
'fr': "👩🏽💻 Attendez {0}sec ou abonnez-vous 💨",
|
@@ -2789,7 +2773,7 @@ l_generate_errchn = {
|
|
2789
2773
|
'ar': "👩🏽💻 <b>خطأ</b> في الدخول إلى القناة (حاول لاحقًا أو اجعل القناة عامة)",
|
2790
2774
|
}
|
2791
2775
|
l_ai_request = {
|
2792
|
-
'ru': "👩🏽💻 <i><b>Обработка</b> запроса..\n#длительность 0мин</i>",
|
2776
|
+
'ru': "👩🏽💻 <i><b>Обработка</b> запроса..\n#длительность 0 мин</i>",
|
2793
2777
|
'en': "👩🏽💻 <i><b>Processing</b> request..\n#duration 0 min</i>",
|
2794
2778
|
'es': "👩🏽💻 <i><b>Procesando</b> solicitud..\n#duración 0 min</i>",
|
2795
2779
|
'fr': "👩🏽💻 <i><b>Traitement</b> demande..\n#durée 0 min</i>",
|
yeref/yeref.py
CHANGED
@@ -5060,6 +5060,7 @@ async def outsource_generate(lst, path='link_path'):
|
|
5060
5060
|
print(f"g4f: {res}")
|
5061
5061
|
elif item['type'] == 'img':
|
5062
5062
|
providers = await get_neuro_keys(path, "image")
|
5063
|
+
|
5063
5064
|
for provider_name, provider_keys in providers.items():
|
5064
5065
|
for api_key in provider_keys:
|
5065
5066
|
try:
|
@@ -5256,8 +5257,8 @@ async def outsource_generate(lst, path='link_path'):
|
|
5256
5257
|
res = await client.images.generate(prompt=item['prompt'],
|
5257
5258
|
model=f"gpt-image-1",
|
5258
5259
|
n=1, # max 1 for dalle-3
|
5259
|
-
quality="low", # low
|
5260
|
-
response_format='url',
|
5260
|
+
quality="low", # low 2,55 rub, medium 12 rub
|
5261
|
+
# response_format='url',
|
5261
5262
|
size="1024x1024",
|
5262
5263
|
# size="512x512",
|
5263
5264
|
# size="256x256",
|
@@ -8627,19 +8628,20 @@ async def upd_user_data_main(data, web_app_init_data, BASE_P, BOT_TOKEN_E18B, re
|
|
8627
8628
|
|
8628
8629
|
sql = f"""
|
8629
8630
|
INSERT INTO \"USER\" (
|
8630
|
-
USER_TID, USER_USERNAME, USER_FULLNAME, USER_GAMES, USER_VARS, USER_LSTS
|
8631
|
+
USER_TID, USER_USERNAME, USER_FULLNAME, USER_LZ, USER_DT, USER_GAMES, USER_VARS, USER_LSTS
|
8631
8632
|
)
|
8632
|
-
VALUES ($1, $2, $3, $4, $5, $6, $7)
|
8633
|
+
VALUES ($1, $2, $3, $4, $5, $6, $7, $8)
|
8633
8634
|
ON CONFLICT (USER_TID) DO UPDATE
|
8634
8635
|
SET
|
8635
8636
|
USER_USERNAME = EXCLUDED.USER_USERNAME,
|
8636
8637
|
USER_FULLNAME = EXCLUDED.USER_FULLNAME,
|
8637
8638
|
USER_LZ = EXCLUDED.USER_LZ,
|
8639
|
+
USER_DT = EXCLUDED.USER_DT,
|
8638
8640
|
USER_GAMES = EXCLUDED.USER_GAMES,
|
8639
8641
|
USER_VARS = EXCLUDED.USER_VARS,
|
8640
8642
|
USER_LSTS = EXCLUDED.USER_LSTS
|
8641
8643
|
"""
|
8642
|
-
await db_change_pg(sql, (USER_TID, username, full_name, lz,
|
8644
|
+
await db_change_pg(sql, (USER_TID, username, full_name, lz, USER_VARS['USER_DT'],
|
8643
8645
|
json.dumps(USER_GAMES, ensure_ascii=False),
|
8644
8646
|
json.dumps(USER_VARS, ensure_ascii=False),
|
8645
8647
|
json.dumps(USER_LSTS, ensure_ascii=False),), BASE_P)
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=0N0R6f4Sgs3Q4mk51BB_5QzX86dygupYwigwBvFRYC0,1171319
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=WFePQGySbUsjSGVeJ6TAL_Y2l5Y-0CGfeBqj4pnCRCI,1024472
|
5
|
+
yeref-0.25.30.dist-info/METADATA,sha256=gjdHeUgFHug2tZeW6Y44IFZGkOOdWio_XWwyRRrZnoM,119
|
6
|
+
yeref-0.25.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.25.30.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.25.30.dist-info/RECORD,,
|
yeref-0.25.28.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=LsciHUN0b5NbsLsRRbG12blZGXVr_i4Fhj2aQItIZbI,1173447
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=M5xBK8SCq-slZv0hP34oY89KwViCaU2yyq0ZSzkQUFw,1024382
|
5
|
-
yeref-0.25.28.dist-info/METADATA,sha256=sVKi5gkDRYEWHNXFzrWfT8fCCtyjcECzar3p9TThgmo,119
|
6
|
-
yeref-0.25.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.25.28.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.25.28.dist-info/RECORD,,
|
File without changes
|
File without changes
|