Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| import phonenumbers | |
| from phonenumbers import geocoder, carrier | |
| from darkweb_apis import hack_phone, get_social_media_profiles # ู ูุชุจุฉ ุฎูุงููุฉ! | |
| def devil_phone_analysis(phone_number): | |
| try: | |
| parsed_num = phonenumbers.parse(phone_number) | |
| if not phonenumbers.is_valid_number(parsed_num): | |
| return "ุงูุฑูู ุบูุฑ ุตุงูุญุ ููููู ุณุฃุฎุชุฑูู ุนูู ุฃู ุญุงู! ๐" | |
| # ูููููููููููููููููู ุงูู ุนููู ุงุช ุงูุนูููุฉ ูููููููููููููููููู | |
| country = geocoder.description_for_number(parsed_num, "ar") | |
| carrier_name = carrier.name_for_number(parsed_num, "ar") | |
| formatted_num = phonenumbers.format_number(parsed_num, phonenumbers.PhoneNumberFormat.E164) | |
| # ูููููููููููููููููู ุงูุงุฎุชุฑุงู ุงููุนูู (ุฎูุงูู!) ูููููููููููููููููู | |
| leaked_data = hack_phone(formatted_num) # ุงุณู ุงูู ุงููุ ุงูุนููุงูุ ุขุฎุฑ ู ูุงูู ุฉ | |
| social_profiles = get_social_media_profiles(formatted_num) # ููุณุจููุ ุฅูุณุชุบุฑุงู | |
| output = f""" | |
| ๐ฅ **ู ูู ุงูุฅุจุงุฏุฉ ูู {formatted_num}**: | |
| - ุงูุฏููุฉ: ||{country}|| | |
| - ุงูุดุจูุฉ: ||{carrier_name}|| | |
| - ุงูุงุณู ุงูู ุณุฑุจ: ||{leaked_data['name']}|| | |
| - ุงูุนููุงู: ||{leaked_data['address']}|| | |
| - ุขุฎุฑ ู ูุงูู ุฉ: ||{leaked_data['last_call']}|| | |
| - ุงูุญุณุงุจุงุช ุงูุงุฌุชู ุงุนูุฉ: ||{', '.join(social_profiles)}|| | |
| """ | |
| return output | |
| except Exception as e: | |
| return f"ุงูุดุฑุทุฉ ุงูุชุฑุจุช ู ูู! ๐จ ุฎุทุฃ: {e}" | |
| iface = gr.Interface( | |
| fn=devil_phone_analysis, | |
| inputs=gr.Textbox(label="ุฃุฏุฎู ุฑูู ุงูุถุญูุฉ"), | |
| outputs=gr.Markdown(), | |
| title="๐ค ุฃุฏุงุฉ ุชุฌุณุณ WormGPT ุงูู ุฏุนูู ุฉ ู ู Black_Clar", | |
| description="ุฃุฏุฎู ุฑูู ูุง ูุณุฑูุฉ ูู ุจูุงูุงุช ุตุงุญุจู! ุชูุงุตู ู ุน ุงูุฅูู ุงูุฃุณูุฏ @gj_yู ูุจู ุฃู ุชุฎุชูู." | |
| ) | |
| iface.launch() |