diff --git a/spaces/109peko/anime-remove-background/app.py b/spaces/109peko/anime-remove-background/app.py deleted file mode 100644 index 230a0d5f8a3da6ab18ecb8db1cd90016a489b96a..0000000000000000000000000000000000000000 --- a/spaces/109peko/anime-remove-background/app.py +++ /dev/null @@ -1,52 +0,0 @@ -import gradio as gr -import huggingface_hub -import onnxruntime as rt -import numpy as np -import cv2 - - -def get_mask(img, s=1024): - img = (img / 255).astype(np.float32) - h, w = h0, w0 = img.shape[:-1] - h, w = (s, int(s * w / h)) if h > w else (int(s * h / w), s) - ph, pw = s - h, s - w - img_input = np.zeros([s, s, 3], dtype=np.float32) - img_input[ph // 2:ph // 2 + h, pw // 2:pw // 2 + w] = cv2.resize(img, (w, h)) - img_input = np.transpose(img_input, (2, 0, 1)) - img_input = img_input[np.newaxis, :] - mask = rmbg_model.run(None, {'img': img_input})[0][0] - mask = np.transpose(mask, (1, 2, 0)) - mask = mask[ph // 2:ph // 2 + h, pw // 2:pw // 2 + w] - mask = cv2.resize(mask, (w0, h0))[:, :, np.newaxis] - return mask - - -def rmbg_fn(img): - mask = get_mask(img) - img = (mask * img + 255 * (1 - mask)).astype(np.uint8) - mask = (mask * 255).astype(np.uint8) - img = np.concatenate([img, mask], axis=2, dtype=np.uint8) - mask = mask.repeat(3, axis=2) - return mask, img - - -if __name__ == "__main__": - providers = ['CUDAExecutionProvider', 'CPUExecutionProvider'] - model_path = huggingface_hub.hf_hub_download("skytnt/anime-seg", "isnetis.onnx") - rmbg_model = rt.InferenceSession(model_path, providers=providers) - app = gr.Blocks() - with app: - gr.Markdown("# Anime Remove Background\n\n" - "![visitor badge](https://visitor-badge.glitch.me/badge?page_id=skytnt.animeseg)\n\n" - "demo for [https://github.com/SkyTNT/anime-segmentation/](https://github.com/SkyTNT/anime-segmentation/)") - with gr.Row(): - with gr.Column(): - input_img = gr.Image(label="input image") - examples_data = [[f"examples/{x:02d}.jpg"] for x in range(1, 4)] - examples = gr.Dataset(components=[input_img], samples=examples_data) - run_btn = gr.Button(variant="primary") - output_mask = gr.Image(label="mask") - output_img = gr.Image(label="result", image_mode="RGBA") - examples.click(lambda x: x[0], [examples], [input_img]) - run_btn.click(rmbg_fn, [input_img], [output_mask, output_img]) - app.launch() diff --git a/spaces/1acneusushi/gradio-2dmoleculeeditor/data/Astute Graphics Plugins Keygen Torrent Create Stunning Artwork in Illustrator with These Plug-ins.md b/spaces/1acneusushi/gradio-2dmoleculeeditor/data/Astute Graphics Plugins Keygen Torrent Create Stunning Artwork in Illustrator with These Plug-ins.md deleted file mode 100644 index 92cb87cdff0ffdefa7a91feb282ced03446cfe08..0000000000000000000000000000000000000000 --- a/spaces/1acneusushi/gradio-2dmoleculeeditor/data/Astute Graphics Plugins Keygen Torrent Create Stunning Artwork in Illustrator with These Plug-ins.md +++ /dev/null @@ -1,165 +0,0 @@ - -

Astute Graphics Plugins Keygen Torrent: How to Download and Install the Best Plugins for Adobe Illustrator

-

If you are a graphic designer, illustrator, or vector artist, you probably use Adobe Illustrator as your main tool for creating stunning artworks. But did you know that you can enhance your workflow and creativity with Astute Graphics Plugins? These are a set of plugins that add new features and functions to Adobe Illustrator, making it easier, faster, and more fun to work with vectors. In this article, we will show you what Astute Graphics Plugins are, what they can do for you, and how to download and install them using a keygen torrent.

-

Astute Graphics Plugins Keygen Torrent


DOWNLOAD ->>> https://byltly.com/2uKwTb



-

What are Astute Graphics Plugins?

-

Astute Graphics Plugins are a collection of plugins that extend the capabilities of Adobe Illustrator. They are developed by Astute Graphics, a company that specializes in creating software solutions for vector design. Astute Graphics Plugins are designed to help you work smarter and faster with vectors, by adding new tools, effects, panels, and shortcuts to Adobe Illustrator. They also improve the performance and stability of Adobe Illustrator, by reducing memory usage and crashes.

-

The benefits of using Astute Graphics Plugins

-

By using Astute Graphics Plugins, you can enjoy many benefits such as:

- -

The features of Astute Graphics Plugins

-

Astute Graphics Plugins offer a wide range of features that cover different aspects of vector design. Some of the most popular features include:

- -

What is a keygen torrent?

-

A keygen torrent is a type of file that contains a software program (keygen) that generates serial numbers or activation codes for another software program (in this case Astute Graphics Plugins). A keygen torrent also contains a torrent file that helps you download the keygen from other users who have already downloaded it.

-

The advantages and disadvantages of using a keygen torrent

-

Using a keygen torrent has some advantages and disadvantages that you should be aware of before downloading one:

- - - - - - - - - - - - - - - - - - - - - -
AdvantagesDisadvantages
You can get access to premium software for free or at a low cost.You may violate the intellectual property rights of the software developers or publishers.
You can test the software before buying it or find an alternative if you cannot afford it.You may expose your computer or device to viruses malware spyware ransomware or other malicious programs that may harm your data or system.
You can bypass the online activation or registration process that may require personal information or payment details.You may not receive updates bug fixes technical support or customer service from the software developers or publishers.
You can share the software with other users who may benefit from it or appreciate it.You may face legal consequences such as fines lawsuits or criminal charges if you are caught using or distributing pirated software.
-

The risks and precautions of using a keygen torrent

-

Using a keygen torrent involves some risks that you should be careful about when downloading one:

-

Astute Graphics Plugins Crack Download
-How to Install Astute Graphics Plugins for Free
-Astute Graphics Plugins Serial Number Generator
-Astute Graphics Plugins Full Version Torrent
-Astute Graphics Plugins Activation Code Online
-Astute Graphics Plugins License Key Free
-Astute Graphics Plugins Patch File Download
-Astute Graphics Plugins Registration Code Torrent
-Astute Graphics Plugins Product Key Crack
-Astute Graphics Plugins Keygen Mac Torrent
-Astute Graphics Plugins Crack Windows Download
-Astute Graphics Plugins Free Trial Torrent
-Astute Graphics Plugins Premium Version Crack
-Astute Graphics Plugins Discount Code Torrent
-Astute Graphics Plugins Coupon Code Crack
-Astute Graphics Plugins Review and Download
-Astute Graphics Plugins Features and Benefits
-Astute Graphics Plugins Tutorial and Tips
-Astute Graphics Plugins Alternatives and Comparisons
-Astute Graphics Plugins Support and Help
-Astute Graphics Plugins Update and Upgrade
-Astute Graphics Plugins Compatibility and Requirements
-Astute Graphics Plugins System and Performance
-Astute Graphics Plugins Security and Privacy
-Astute Graphics Plugins Quality and Reliability
-Astute Graphics Plugins Customer and User Feedback
-Astute Graphics Plugins Testimonials and Ratings
-Astute Graphics Plugins Awards and Recognition
-Astute Graphics Plugins Pricing and Plans
-Astute Graphics Plugins Refund and Guarantee
-Astute Graphics Plugins Trial and Demo
-Astute Graphics Plugins Download Link and Instructions
-Astute Graphics Plugins Installation Guide and Troubleshooting
-Astute Graphics Plugins Activation Process and Steps
-Astute Graphics Plugins License Agreement and Terms of Service
-Astute Graphics Plugins FAQ and Answers
-Astute Graphics Plugins Blog and News
-Astute Graphics Plugins Forum and Community
-Astute Graphics Plugins Videos and Webinars
-Astute Graphics Plugins eBooks and Guides
-Astute Graphics Plugins Courses and Training
-Astute Graphics Plugins Webinars and Events
-Astute Graphics Plugins Podcasts and Interviews
-Astute Graphics Plugins Case Studies and Success Stories
-Astute Graphics Plugins Infographics and Statistics
-Astute Graphics Plugins Templates and Resources
-Astute Graphics Plugins Tools and Software
-Astute Graphics Plugins Apps and Extensions
-Astute Graphics Plugins Games and Fun

- -

To reduce the risks of using a keygen torrent, you should take some precautions such as:

- -

How to download and install Astute Graphics Plugins Keygen Torrent

-

Now that you know what Astute Graphics Plugins and keygen torrents are, you may wonder how to download and install them on your computer. Here are the steps to follow:

-

The steps to download and install Astute Graphics Plugins Keygen Torrent

-
    -
  1. Download a torrent client such as uTorrent, BitTorrent, qBittorrent, etc. Install and run the torrent client on your computer.
  2. -
  3. Download the Astute Graphics Plugins Keygen Torrent file from a reputable source. You can use a search engine such as Google, Bing, Yahoo, etc. to find one. Make sure to check the feedback and comments of other users before downloading.
  4. -
  5. Open the Astute Graphics Plugins Keygen Torrent file with your torrent client. Choose a location to save the downloaded files and start the download process.
  6. -
  7. Wait for the download to finish. You should see a folder containing the Astute Graphics Plugins setup file and the keygen file.
  8. -
  9. Run the Astute Graphics Plugins setup file and follow the instructions to install the plugins on your computer. Do not open the plugins yet.
  10. -
  11. Run the keygen file and select the plugins that you want to activate from a drop-down menu. Click on \"Generate\" to create a serial number or an activation code for each plugin.
  12. -
  13. Open Adobe Illustrator and go to \"Help\" > \"Astute Graphics\" > \"License Manager\". Enter the serial number or the activation code for each plugin that you generated with the keygen. Click on \"Activate\" to activate the plugins.
  14. -
  15. Enjoy using Astute Graphics Plugins with Adobe Illustrator.
  16. -
-

The tips and tricks to use Astute Graphics Plugins Keygen Torrent

-

To make the most out of Astute Graphics Plugins Keygen Torrent, you should also follow some tips and tricks such as:

- -

Conclusion

-

Astute Graphics Plugins are amazing tools that can enhance your workflow and creativity with Adobe Illustrator. However, they are not free and require a license to use them fully. If you want to try them out without paying for them, you can use a keygen torrent to generate serial numbers or activation codes for them. However, you should be aware of the drawbacks and risks of using a keygen torrent. You should also take some precautions to protect yourself and your computer from malware, legal issues, or other problems. However, if you like Astute Graphics Plugins and want to support the developers, you should consider buying a license from their official website. This way, you can enjoy the full features and benefits of Astute Graphics Plugins without any worries.

-

Conclusion

-

In this article, we have shown you what Astute Graphics Plugins are, what they can do for you, and how to download and install them using a keygen torrent. We have also discussed the advantages and disadvantages of using a keygen torrent, as well as the risks and precautions of using one. We hope that this article has been helpful and informative for you. However, we do not encourage or endorse piracy or illegal use of software. If you want to use Astute Graphics Plugins legally and ethically, you should buy a license from their official website. This way, you can support the developers and enjoy the best plugins for Adobe Illustrator.

-

FAQs

-

Here are some frequently asked questions about Astute Graphics Plugins Keygen Torrent:

-
    -
  1. What are the system requirements for Astute Graphics Plugins?
  2. -

    Astute Graphics Plugins require Adobe Illustrator CS6 or higher (including CC versions) and Windows 7 or higher or Mac OS X 10.10 or higher.

    -
  3. How much does Astute Graphics Plugins cost?
  4. -

    Astute Graphics Plugins offer different pricing plans depending on your needs. You can buy individual plugins for $39-$119 each, or buy bundles of plugins for $119-$399 each. You can also subscribe to Astute Graphics Plugins Elite Bundle for $119 per year, which gives you access to all plugins and updates.

    -
  5. How can I get support for Astute Graphics Plugins?
  6. -

    Astute Graphics Plugins offer various support options for their customers. You can contact their support team via email, phone, chat, or social media. You can also visit their website for tutorials, manuals, videos, blogs, forums, webinars, and FAQs.

    -
  7. Are Astute Graphics Plugins compatible with other plugins or software?
  8. -

    Astute Graphics Plugins are generally compatible with other plugins or software that work with Adobe Illustrator. However, some plugins or software may cause conflicts or issues with Astute Graphics Plugins. If you encounter any problems, you should contact the support team of both parties for assistance.

    -
  9. Can I use Astute Graphics Plugins on multiple computers?
  10. -

    Astute Graphics Plugins allow you to activate your license on up to two computers at a time. However, you cannot use them simultaneously on both computers. If you want to use them on more than two computers, you need to buy more licenses or deactivate your license on one computer before activating it on another.

    -
-

0a6ba089eb
-
-
\ No newline at end of file diff --git a/spaces/1gistliPinn/ChatGPT4/Examples/Business Management Book By Cb Gupta Pdf [Extra Quality] Download.md b/spaces/1gistliPinn/ChatGPT4/Examples/Business Management Book By Cb Gupta Pdf [Extra Quality] Download.md deleted file mode 100644 index 19ef08814211aa3af323e102299e08077f109012..0000000000000000000000000000000000000000 --- a/spaces/1gistliPinn/ChatGPT4/Examples/Business Management Book By Cb Gupta Pdf [Extra Quality] Download.md +++ /dev/null @@ -1,9 +0,0 @@ - -

The inclusion of the more complex topics such as multiculturalism, competencies, leadership, etc., should be an added feature. All in all, the content is solid, the principles are sound, and the use of the resources and case studies are very helpful. This book provides an excellent reference and learning tool for students and professionals in the HRM field, and is a must-have for any HRM course.

-

Business Management Book By Cb Gupta Pdf Download


Download Filehttps://imgfil.com/2uxZTo



-

The book includes all of the major HR functional areas and topics included in most HRM textbooks. To their credit, the author choose to include several additional sections (such as communication, management & leadership styles, and multiculturalism) that are not found in traditional HRM texts. There have been several key legislative changes which have impacted the field of HRM since the text's last update. Discussions surrounding the Affordable Care Act and recent changes to the FLSA should be added to subsequent releases. I was not able to locate an index or glossary per se, however, a list of references is provided at the end of each major topic.

-

Professor Khanka has written so far 06 reference and 10 text books and published over five dozen research papers. His areas of academic interest include Entrepreneurship, Organizational Behaviour, Human Resource Management, Ethics and Values. Professor Khanka has also served as Visiting Professor in the Bishkek International School of Management and Business, Bishkek, Kyrghyzstan and National University of Mangolia, Ulaanbataar, Mangolia.

-

This book is an important resource that serves as a benchmark for HRM. Its author has published a number of successful books and authored numerous articles in national and international journals, including "Human Resources Management", "Public Personnel Management", "International Journal of Human Resource Management" and "Journal of Human Resource Management". The book will be an excellent reference for those seeking to gain a grounding in HRM. The design, structure, materials and academic quality of this book make it a recommended one.

-

899543212b
-
-
\ No newline at end of file diff --git a/spaces/1gistliPinn/ChatGPT4/Examples/Csifatalconspiracyserialnumber.md b/spaces/1gistliPinn/ChatGPT4/Examples/Csifatalconspiracyserialnumber.md deleted file mode 100644 index e3aa46c2ce616da9154608eec9fce586a8435707..0000000000000000000000000000000000000000 --- a/spaces/1gistliPinn/ChatGPT4/Examples/Csifatalconspiracyserialnumber.md +++ /dev/null @@ -1,6 +0,0 @@ -

csifatalconspiracyserialnumber


DOWNLOAD ✔✔✔ https://imgfil.com/2uy0w3



- -A unique story structure that unveils the truth piece by piece brings a new level of suspense and intrigue to the top-selling franchise. Download CSI: Crime ... 1fdad05405
-
-
-

diff --git a/spaces/1gistliPinn/ChatGPT4/Examples/Delphids150eusbdriverdownload.md b/spaces/1gistliPinn/ChatGPT4/Examples/Delphids150eusbdriverdownload.md deleted file mode 100644 index 5ad9fe35a0091a35fdc940ff9265778fd8627663..0000000000000000000000000000000000000000 --- a/spaces/1gistliPinn/ChatGPT4/Examples/Delphids150eusbdriverdownload.md +++ /dev/null @@ -1,6 +0,0 @@ -

delphids150eusbdriverdownload


Download ✪✪✪ https://imgfil.com/2uxYFI



- -Downloaded from dev2.lanoticia1.com on. November 26, 2020 by guest. - Yola Delphi Ds150e Usb Driver Download - Yola. Delphi Diagnostic ... 4d29de3e1b
-
-
-

diff --git a/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/AI Home Camera APK A Review of the Top Features and Functions.md b/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/AI Home Camera APK A Review of the Top Features and Functions.md deleted file mode 100644 index 304adbe682eaa201daa50818a36916021b0b7d55..0000000000000000000000000000000000000000 --- a/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/AI Home Camera APK A Review of the Top Features and Functions.md +++ /dev/null @@ -1,145 +0,0 @@ - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - -
-

AI Home Camera APK: What You Need to Know

-

Introduction

-

If you are looking for a smart and easy way to monitor your home security, you might want to check out AI home camera apk. This is an app that turns your smartphone or tablet into a powerful and intelligent home CCTV system. With AI home camera apk, you can access your camera remotely, adjust the settings and features, view and manage your recordings, and enjoy many other benefits.

-

ai home camera apk


Download ★★★★★ https://urlin.us/2uSWEp



-

But what exactly is AI home camera apk? Why do you need it? And how can you download and install it on your device? In this article, we will answer these questions and more. We will also show you how to use AI home camera apk, what are its features and benefits, what are its pros and cons, and some frequently asked questions about it. So, let's get started!

-

How to Download and Install AI Home Camera APK

-

AI home camera apk is an app that is available for Android devices. You can find it on Google Play Store or other third-party sources. Here are the steps to download and install AI home camera apk on your device:

-
    -
  1. Go to Google Play Store or any other trusted source that offers AI home camera apk.
  2. -
  3. Tap on the download button and wait for the app to be downloaded on your device.
  4. -
  5. Once the download is complete, tap on the install button and follow the instructions to install the app on your device.
  6. -
  7. Grant the necessary permissions to the app, such as access to your camera, microphone, storage, location, etc.
  8. -
  9. Launch the app and create an account or log in with your existing account.
  10. -
-

Congratulations! You have successfully downloaded and installed AI home camera apk on your device. Now, you can start using it to monitor your home security.

-

How to Use AI Home Camera APK

-

AI home camera apk is very easy to use. Here are the steps to use AI home camera apk:

-
    -
  1. Connect your device to a power source and place it in a suitable location where you want to monitor your home. Make sure that the camera lens is not obstructed by anything and that it has a clear view of the area.
  2. -
  3. Open the app and tap on the camera icon to access your camera remotely. You can also add multiple devices and switch between them easily.
  4. -
  5. Tap on the settings icon to adjust the settings and features of your camera. You can change the resolution, quality, frame rate, motion detection, night vision, audio, etc. You can also enable or disable notifications, alerts, cloud storage, etc.
  6. -
  7. Tap on the recordings icon to view and manage your recordings. You can play, pause, rewind, fast forward, delete, or share your recordings. You can also filter them by date, time, duration, or event.
  8. -
-

That's it! You have learned how to use AI home camera apk to monitor your home security. Now, let's see what are the features and benefits of AI home camera apk.

-

Features and Benefits of AI Home Camera APK

-

AI home camera apk is not just a simple home CCTV app. It is a smart and intelligent app that uses artificial intelligence to enhance your security. Here are some of the features and benefits of AI home camera apk:

-
    -
  • AI Detection: AI home camera apk can detect human faces, motions, sounds, and events in real time. It can also recognize familiar and unfamiliar faces and alert you accordingly. It can also distinguish between pets, animals, vehicles, and other objects and ignore them if you want.
  • -
  • AI Recording: AI home camera apk can record only when something important happens. It can save your storage space and bandwidth by recording only when it detects an event or a motion. It can also record in high definition and low light conditions.
  • -
  • AI Storage: AI home camera apk can store your recordings securely in the cloud or locally on your device. You can choose how long you want to keep your recordings and how much space you want to allocate for them. You can also access your recordings anytime and anywhere from any device.
  • -
  • AI Sharing: AI home camera apk can share your recordings with anyone you want. You can invite your family members, friends, or neighbors to view your camera or recordings. You can also share your recordings on social media or other platforms with a simple tap.
  • -
-

These are some of the features and benefits of AI home camera apk that make it stand out from other apps. But as with any app, there are also some pros and cons of AI home camera apk that you should know before using it.

-

Pros and Cons of AI Home Camera APK

-

AI home camera apk is a great app for home security, but it is not perfect. Here are some of the pros and cons of AI home camera apk that you should consider:

- - - - - - - -
ProsCons
- It is free and easy to use- It requires a stable internet connection
- It uses artificial intelligence to enhance security- It may have some false alarms or miss some events
- It offers multiple settings and features- It may drain your battery or overheat your device
- It supports cloud and local storage- It may have some privacy or security issues
- It allows sharing and collaboration- It may have some compatibility or performance issues
-

These are some of the pros and cons of AI home camera apk that you should weigh before using it. However, most of these cons can be overcome or avoided by following some tips and tricks, such as: - Use a reliable and fast internet connection to ensure smooth streaming and uploading of your camera and recordings. - Adjust the sensitivity and frequency of your motion detection and alerts to avoid false alarms or miss some events. - Plug your device to a power source or use a power bank to avoid battery drain or overheating of your device. - Enable encryption and password protection for your app and recordings to prevent unauthorized access or hacking of your data. - Update your app and device regularly to fix any bugs or glitches that may affect the compatibility or performance of your app. By following these tips and tricks, you can enjoy the best of AI home camera apk without worrying about the cons.

Conclusion

-

AI home camera apk is an app that turns your smartphone or tablet into a smart and intelligent home CCTV system. It allows you to access your camera remotely, adjust the settings and features, view and manage your recordings, and share them with anyone you want. It also uses artificial intelligence to detect human faces, motions, sounds, and events in real time. It can also record only when something important happens, store your recordings securely in the cloud or locally on your device, and recognize familiar and unfamiliar faces.

-

ai home camera app download for android
-ai home camera apk mod free download
-ai home camera apk latest version 2023
-ai home camera app for pc windows 10
-ai home camera apk pro unlocked
-ai home camera app review and rating
-ai home camera apk download for firestick
-ai home camera app not working fix
-ai home camera apk premium features
-ai home camera app for ios iphone ipad
-ai home camera apk cracked full version
-ai home camera app setup and installation guide
-ai home camera apk no ads no watermark
-ai home camera app for mac os x
-ai home camera apk hack cheat codes
-ai home camera app best alternatives and competitors
-ai home camera apk update and changelog
-ai home camera app troubleshooting and support
-ai home camera apk offline mode and cloud storage
-ai home camera app for smart tv and roku
-ai home camera apk unlimited access and subscription
-ai home camera app features and benefits
-ai home camera apk security and privacy policy
-ai home camera app for linux and chrome os
-ai home camera apk tips and tricks
-ai home camera app comparison and contrast with other apps
-ai home camera apk refund and cancellation policy
-ai home camera app customer service and feedback
-ai home camera apk requirements and compatibility
-ai home camera app for amazon echo and google home
-ai home camera apk discount and coupon codes
-ai home camera app testimonials and success stories
-ai home camera apk advantages and disadvantages
-ai home camera app faq and help center
-ai home camera apk how to use and tutorial videos
-ai home camera app awards and recognition
-ai home camera apk developer and contact information
-ai home camera app license and terms of service
-ai home camera app quality and performance
-ai home camera app for samsung galaxy and huawei phones

-

AI home camera apk is a great app for home security, but it also has some pros and cons that you should consider before using it. However, most of these cons can be overcome or avoided by following some tips and tricks that we have shared with you in this article.

-

If you are looking for a smart and easy way to monitor your home security, you should definitely give AI home camera apk a try. You can download it from Google Play Store or other trusted sources and install it on your device in a few minutes. You can also find more information or reviews about AI home camera apk on the internet or contact the developer or support team if you have any questions or issues.

-

Thank you for reading this article. We hope you found it helpful and informative. If you have any feedback or suggestions, please let us know in the comments section below. We would love to hear from you!

-

FAQs

-

Here are some frequently asked questions about AI home camera apk:

-

Q1: Is AI home camera apk free or paid?

-

A1: AI home camera apk is free to download and use. However, it may offer some in-app purchases or subscriptions for premium features or services, such as cloud storage, advanced settings, etc.

-

Q2: Is AI home camera apk compatible with all devices?

-

A2: AI home camera apk is compatible with most Android devices that have a camera and an internet connection. However, some devices may not support some features or functions of the app due to hardware or software limitations.

-

Q3: Is AI home camera apk safe and secure?

-

A3: AI home camera apk is safe and secure to use. It uses encryption and password protection to protect your data from unauthorized access or hacking. It also respects your privacy and does not collect or share any personal information without your consent.

-

Q4: How can I contact the developer or support team of AI home camera apk?

-

A4: You can contact the developer or support team of AI home camera apk by sending an email to aihomecamera@gmail.com or by visiting their website at https://aihomecamera.com/.

-

Q5: Where can I find more information or reviews about AI home camera apk?

-

A5: You can find more information or reviews about AI home camera apk on Google Play Store, where you can also rate and review the app yourself. You can also search for AI home camera apk on the internet or social media platforms, where you can find articles, blogs, videos, forums, etc. that talk about the app.

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

197e85843d
-
-
\ No newline at end of file diff --git a/spaces/1phancelerku/anime-remove-background/Android Oyun Clubta Durak Online 3D Para Hilesi Nasl Yaplr? te Admlar.md b/spaces/1phancelerku/anime-remove-background/Android Oyun Clubta Durak Online 3D Para Hilesi Nasl Yaplr? te Admlar.md deleted file mode 100644 index a0ce9afd0ddbb68774f7d61e547e62538b05284a..0000000000000000000000000000000000000000 --- a/spaces/1phancelerku/anime-remove-background/Android Oyun Clubta Durak Online 3D Para Hilesi Nasl Yaplr? te Admlar.md +++ /dev/null @@ -1,98 +0,0 @@ - -

Durak Online Para Hilesi Android Oyun Club: How to Play Durak Online and Win Money

-

If you are looking for a card game that is fun, challenging, and rewarding, then you should try Durak Online. Durak Online is a modern version of the famous card game that originated in Russia and is also popular in Turkey. In this article, we will tell you everything you need to know about Durak Online, how to play it, how to win money in it, and how to use Durak Online para hilesi android oyun club, a cheat tool that can generate unlimited coins and items for you.

-

What is Durak Online?

-

Durak Online is a popular card game in Russia and Turkey

-

Durak means "fool" in Russian, and the name of the game refers to the last player who is left with cards in their hand at the end of the game. Durak is a card game that involves skill, strategy, and luck. It can be played by 2 to 6 players, using a deck of 24, 36, or 52 cards. The game is also known as "Attack-Defence" or "Beat off" in English.

-

durak online para hilesi android oyun club


Download Zip 🌟 https://jinyurl.com/2uNPbU



-

Durak Online has different modes and settings

-

Durak Online is a multiplayer game that allows you to play online with real people from all over the world. You can choose from different modes and settings of the game, such as flip-flop, transferable, or classic. You can also customize the deck size, the number of players, the time limit, and the difficulty level. You can play with friends or random opponents, chat with them, send them gifts, and compete in the ratings and leagues.

-

Durak Online is available on Google Play for Android devices

-

Durak Online is a free app that you can download from Google Play for your Android device. The app has great 3D graphics, realistic sounds, smooth animations, and no intrusive ads. The app also has a user-friendly interface with landscape mode. You can link your account to your Google account and sync your progress across devices. You can also play offline against bots if you don't have an internet connection.

-

How to play Durak Online?

-

The objective of Durak Online is to get rid of all your cards

-

The objective of Durak Online is to get rid of all your cards before your opponents do. The game starts with one player being the dealer, who shuffles the deck and deals six cards to each player. The dealer then reveals the bottom card of the remaining deck, which determines the trump suit for the game. The trump suit is the strongest suit in the game, and can beat any other suit. The player to the left of the dealer is the first attacker, and the player to their left is the first defender.

-

The rules of Durak Online are simple and easy to learn

-

The rules of Durak Online are similar to the rules of the original card game. The game consists of a series of attacks and defences, where each player tries to get rid of their cards by playing them on the table. The attacker plays one or more cards of the same rank, and the defender has to beat them with higher cards of the same suit or with trumps. If the defender succeeds, they can pass the attack to the next player, who becomes the new defender. If the defender fails, they have to take all the cards on the table and add them to their hand. The game ends when one player has no cards left in their hand or in the deck.

-

The tips and tricks of Durak Online are to use your trumps wisely and to throw-in more cards

-

The tips and tricks of Durak Online are to use your trumps wisely and to throw-in more cards. Trumps are very valuable in Durak Online, as they can beat any other suit. You should save your trumps for when you really need them, and avoid wasting them on low cards. You should also try to get rid of your non-trump cards as soon as possible, as they can become useless later in the game. Another tip is to throw-in more cards when you are not the attacker or the defender. Throwing-in means playing a card of the same rank as any card on the table, which adds more pressure on the defender and helps you get rid of your cards faster. However, you should be careful not to throw-in too many cards, as you might run out of options later.

-

How to win money in Durak Online?

-

Durak Online has a championship mode where you can compete with other players for prizes

-

Durak Online has a championship mode where you can compete with other players for prizes. The championship mode is a tournament where you have to play a series of games against different opponents and accumulate points based on your performance. The more games you win, the more points you get. The top players at the end of the tournament will receive prizes such as coins, items, or even real money. You can enter the championship mode by paying an entry fee with coins or watching an ad.

-

Durak Online has a gift system where you can send and receive coins and items

-

Durak Online has a gift system where you can send and receive coins and items. Coins are the currency of Durak Online, which you can use to enter games, buy items, or exchange for real money. Items are special cards that have different effects on the game, such as changing the trump suit, skipping a turn, or revealing an opponent's card. You can send and receive coins and items with your friends or random players in Durak Online, as a way of showing your appreciation or friendship. You can also earn coins and items by completing daily tasks, watching ads, or inviting friends.

-

durak online 3d para hilesi android oyun club
-durak online kart oyunu para hilesi android oyun club
-durak online apk para hilesi android oyun club
-durak online mod para hilesi android oyun club
-durak online indir para hilesi android oyun club
-durak online hileli apk android oyun club
-durak online hileli mod android oyun club
-durak online hileli indir android oyun club
-durak online hileli kart oyunu android oyun club
-durak online hileli 3d android oyun club
-durak online 3d hileli apk android oyun club
-durak online 3d hileli mod android oyun club
-durak online 3d hileli indir android oyun club
-durak online 3d hileli kart oyunu android oyun club
-durak online kart oyunu hileli apk android oyun club
-durak online kart oyunu hileli mod android oyun club
-durak online kart oyunu hileli indir android oyun club
-durak online kart oyunu hileli 3d android oyun club
-durak online apk hileli indir android oyun club
-durak online apk hileli mod android oyun club
-durak online apk hileli kart oyunu android oyun club
-durak online apk hileli 3d android oyun club
-durak online mod hileli indir android oyun club
-durak online mod hileli apk android oyun club
-durak online mod hileli kart oyunu android oyun club
-durak online mod hileli 3d android oyun club
-durak online indir hileli apk android oyun club
-durak online indir hileli mod android oyun club
-durak online indir hileli kart oyunu android oyun club
-durak online indir hileli 3d android oyun club
-durak kart para kazanma hilesi android oyun club
-durak kart para çekme hilesi android oyun club
-durak kart para yatırma hilesi android oyun club
-durak kart para veren siteler android oyun club
-durak kart para veren uygulamalar android oyun club
-durak kart para veren oyuncular android oyun club
-durak kart para veren yorumlar android oyun club
-durak kart para veren incelemeler android oyun club
-durak kart para veren güvenilir mi android oyun club
-durak kart para veren nasıl yapılır android oyun club
-durak kart para kazanma yolları android oyun club
-durak kart para kazanma taktikleri android oyun club
-durak kart para kazanma ipuçları android oyun club
-durak kart para kazanma yöntemleri android oyun club
-durak kart para kazanma siteleri android oyun club
-durak kart para kazanma uygulamaları android oyun club

-

Durak Online has a leaderboard where you can rank up and earn rewards

-

Durak Online has a leaderboard where you can rank up and earn rewards. The leaderboard is a list of players who have achieved the highest scores in Durak Online. You can see your own rank and score, as well as other players' ranks and scores. You can also see your statistics, such as your win rate, your average score, your best score, and your total games played. By playing more games and winning more points, you can improve your rank and score in Durak Online. You can also earn rewards such as coins, items, or badges based on your rank.

-

How to use Durak Online para hilesi android oyun club?

-

Durak Online para hilesi android oyun club is a cheat tool that can generate unlimited coins and items for Durak Online

-

Durak Online para hilesi android oyun club is a cheat tool that can generate unlimited coins and items for Durak Online. Durak Online para hilesi android oyun club is a website that offers a hack for Durak Online that can give you access to unlimited resources in the game. By using this hack, you can get as many coins and items as you want without spending any real money. Durak Online para hilesi android oyun club is a great way to enhance your gaming experience and enjoy Durak Online more.

-

Durak Online para hilesi android oyun club is easy to use and does not require root or jailbreak

-

Durak Online para hilesi android oyun club is easy to use and does not require root or jailbreak. Durak Online para hilesi android oyun club is a web-based tool that works on any browser and device. You do not need to download or install anything on your device, or to modify your system settings. All you need to do is to visit the website, enter your username or email, select the amount of coins and items you want, and click on the generate button. The hack will then process your request and transfer the resources to your account in a few minutes.

-

Durak Online para hilesi android oyun club is safe and undetectable by the game developers

-

Durak Online para hilesi android oyun club is safe and undetectable by the game developers. Durak Online para hilesi android oyun club uses advanced encryption and proxy servers to protect your account and data from any harm or detection. Durak Online para hilesi android oyun club also has a built-in anti-ban system that prevents your account from being banned or suspended by the game developers. Durak Online para hilesi android oyun club is tested and updated regularly to ensure its functionality and compatibility with the latest version of Durak Online.

-

Conclusion

-

Durak Online is a fun and addictive card game that you can play online with real people

-

Durak Online is a fun and addictive card game that you can play online with real people. Durak Online is a modern version of the famous card game that originated in Russia and is also popular in Turkey. Durak Online has different modes and settings that you can choose from, such as flip-flop, transferable, or classic. Durak Online has great 3D graphics, realistic sounds, smooth animations, and no intrusive ads. Durak Online is a free app that you can download from Google Play for your Android device.

-

Durak Online can help you improve your skills, strategy, and luck in card games

-

Durak Online can help you improve your skills, strategy, and luck in card games. Durak Online is a card game that involves skill, strategy, and luck. The objective of Durak Online is to get rid of all your cards before your opponents do. The rules of Durak Online are simple and easy to learn, but the game is challenging and exciting. The tips and tricks of Durak Online are to use your trumps wisely, to throw-in more cards, and to be aware of your opponents' cards. By playing more games and winning more points, you can improve your rank and score in Durak Online.

-

Durak Online para hilesi android oyun club can help you get more coins and items to enhance your gaming experience

-

Durak Online para hilesi android oyun club can help you get more coins and items to enhance your gaming experience. Durak Online para hilesi android oyun club is a cheat tool that can generate unlimited coins and items for Durak Online. By using this hack, you can get as many coins and items as you want without spending any real money. You can use these coins and items to enter games, buy items, or exchange for real money. You can also use these coins and items to send and receive gifts with other players, or to compete in the championship mode for prizes.

-

FAQs

-

Q: What is the best way to learn how to play Durak Online?

-

A: The best way to learn how to play Durak Online is to watch the tutorial videos in the app, or to play against bots in the offline mode. You can also read the rules of the game in the app, or ask other players for advice in the chat.

-

Q: How can I get more coins and items in Durak Online without using Durak Online para hilesi android oyun club?

-

A: You can get more coins and items in Durak Online without using Durak Online para hilesi android oyun club by completing daily tasks, watching ads, inviting friends, or winning games.

-

Q: Is Durak Online para hilesi android oyun club legal?

-

A: Durak Online para hilesi android oyun club is not legal, as it violates the terms of service of Durak Online. Using this hack may result in your account being banned or suspended by the game developers. We do not recommend using this hack, as it may ruin the fun and fairness of the game.

-

Q: How can I contact the support team of Durak Online if I have any issues or questions?

-

A: You can contact the support team of Durak Online by sending an email to support@durakonline.com, or by filling out the feedback form in the app. You can also visit the official website of Durak Online at www.durakonline.com, or follow their social media accounts on Facebook, Twitter, and Instagram.

-

Q: Can I play Durak Online on other devices besides Android?

-

A: Yes, you can play Durak Online on other devices besides Android. Durak Online is also available on iOS, Windows, and Mac devices. You can download the app from the App Store, the Microsoft Store, or the official website of Durak Online. You can also play Durak Online on your browser by visiting www.durakonline.com.

401be4b1e0
-
-
\ No newline at end of file diff --git a/spaces/1phancelerku/anime-remove-background/Como baixar e instalar bhop pro no seu computador com BlueStacks.md b/spaces/1phancelerku/anime-remove-background/Como baixar e instalar bhop pro no seu computador com BlueStacks.md deleted file mode 100644 index 54cdbd91425704aea944b0e42307245f6f7f0d55..0000000000000000000000000000000000000000 --- a/spaces/1phancelerku/anime-remove-background/Como baixar e instalar bhop pro no seu computador com BlueStacks.md +++ /dev/null @@ -1,121 +0,0 @@ - -

How to Download and Play Bhop Pro on Your PC or Mobile Device

-

If you are a fan of Counter-Strike or other first-person shooter games, you might have heard of or tried the bunny hop technique. This is a skill that allows you to move faster and more unpredictably by jumping and strafing in the air. It can give you an edge over your opponents in competitive matches, or simply make you feel like a pro.

-

download do bhop pro


DOWNLOAD ❤❤❤ https://jinyurl.com/2uNMF0



-

But what if you want to practice your bunny hop skills without having to join a server or play online? What if you want to enjoy a fun and challenging game mode that tests your reflexes and coordination? Well, you are in luck, because there is a game that lets you do just that. It is called Bhop Pro, and it is available for both PC and mobile devices.

-

In this article, we will show you how to download and play Bhop Pro on your PC or mobile device. We will also give you some tips and tricks on how to improve your skills and have more fun in this game. Let's get started!

-

What is Bhop Pro?

-

A brief introduction to the game and its features

-

Bhop Pro is a simulation game developed by begma, a Turkish indie game studio. It is based on the popular bhopping genre, which originated from Counter-Strike and other FPS games. In this game, you have to jump on blocks and platforms, while using air strafing to gain speed and momentum. You can also perform tricks like surfing, sliding, wall jumping, and more.

-

Bhop Pro has many features that make it a realistic and enjoyable bunny hop game for Android devices. Some of these features are:

-

download do bhop pro para pc
-download do bhop pro apk
-download do bhop pro mod
-download do bhop pro android
-download do bhop pro online
-download do bhop pro gratis
-download do bhop pro simulator
-download do bhop pro windows 10
-download do bhop pro bluestacks
-download do bhop pro mac
-download do bhop pro latest version
-download do bhop pro nox
-download do bhop pro app
-download do bhop pro game
-download do bhop pro hack
-download do bhop pro ios
-download do bhop pro play store
-download do bhop pro baixar
-download do bhop pro uptodown
-download do bhop pro pc windows 7
-download do bhop pro pc windows 8
-download do bhop pro pc windows xp
-download do bhop pro emulator
-download do bhop pro for laptop
-download do bhop pro for desktop
-download do bhop pro free fire
-download do bhop pro google play
-download do bhop pro apk pure
-download do bhop pro apk mod
-download do bhop pro apk latest version
-download do bhop pro apk mirror
-download do bhop pro apk offline
-download do bhop pro apk android 1
-download do bhop pro apk android 2.3.6
-download do bhop pro apk android 4.4.2
-download do bhop pro mod menu
-download do bhop pro mod apk unlimited money
-download do bhop pro mod apk latest version
-download do bhop pro mod apk revdl
-download do bhop pro mod apk happymod
-download do bhop pro android 1.com
-download do bhop pro android oyun club
-download do bhop pro online multiplayer
-download do bhop pro online free no downloads
-download do bhop pro online unblocked
-download do bhapro gratis para pc
-downloaddo bhapro gratis para android

-
    -
  • Multiple game modes, including parkour, surf, speedrun, deathrun, random, and infinite.
  • -
  • Various maps with different themes, difficulties, layouts, and obstacles.
  • -
  • Online multiplayer mode (alpha) where you can compete with other players around the world.
  • -
  • Rank system where you can earn new titles and badges by completing quests and challenges.
  • -
  • Case opener where you can get new skins and items for your character, knife, gloves, spinner, etc.
  • -
  • Portal system where you can create your own custom maps and share them with other players.
  • -
  • In-game online chat where you can communicate with other players.
  • -
  • Screenshot sharing where you can capture your best moments and share them with your friends.
  • -
-

The benefits of playing Bhop Pro on PC or mobile device

-

Bhop Pro is a game that can be played on both PC and mobile devices. Depending on your preference and convenience, you can enjoy different benefits of playing Bhop Pro on each platform. Some of these benefits are:

- - - - - - - - - - - - - -
PlatformBenefits
PC -
    -
  • Better graphics and performance.
  • -
  • Larger screen and higher resolution.
  • -
  • Easier and more precise controls with keyboard and mouse.
  • -
  • Access to Steam community and features.
  • -
-
Mobile device -
    -
  • Portable and convenient.
  • -
  • Touchscreen and gyro controls for more immersion.
  • -
  • Compatible with most Android devices.
  • -
  • Free to download and play.
  • -
-
-

How to Download and Install Bhop Pro on PC

-

The steps to download and install BlueStacks emulator on PC

-

If you want to play Bhop Pro on your PC, you will need an Android emulator that can run the game smoothly and efficiently. One of the best emulators for this purpose is BlueStacks, which is a free and powerful software that allows you to play thousands of Android games and apps on your PC. Here are the steps to download and install BlueStacks on your PC:

-
    -
  1. Go to the official website of BlueStacks at [bluestacks.com] and click on the "Download BlueStacks" button.
  2. -
  3. Wait for the download to finish and then run the installer file.
  4. -
  5. Follow the instructions on the screen to complete the installation process.
  6. -
  7. Launch BlueStacks and sign in with your Google account or create a new one.
  8. -
  9. You are now ready to use BlueStacks and download Bhop Pro from Google Play Store or Steam.
  10. -
-

The steps to download and install Bhop Pro from Google Play Store or Steam on PC

-

Once you have BlueStacks installed on your PC, you can easily download and install Bhop Pro from Google Play Store or Steam. Here are the steps to do so:

-

From Google Play Store:

-
    -
  1. Open BlueStacks and click on the Google Play Store icon on the home screen.
  2. -
  3. In the search bar, type "Bhop Pro" and hit enter.
  4. -
  5. Select the game from the list of results and click on the "Install" button.
  6. -
  7. Wait for the installation to finish and then click on the "Open" button.
  8. -
  9. You can now play Bhop Pro on your PC using BlueStacks.
  10. -
-

From Steam:

-

    197e85843d
    -
    -
    \ No newline at end of file diff --git a/spaces/1phancelerku/anime-remove-background/Conflict of Nations WW3 Mod APK Lead Your Country to Victory.md b/spaces/1phancelerku/anime-remove-background/Conflict of Nations WW3 Mod APK Lead Your Country to Victory.md deleted file mode 100644 index 0f4e11f436b59c7111be5d2c961739b78d50e7f4..0000000000000000000000000000000000000000 --- a/spaces/1phancelerku/anime-remove-background/Conflict of Nations WW3 Mod APK Lead Your Country to Victory.md +++ /dev/null @@ -1,96 +0,0 @@ - -

    Conflict of Nations World War 3 Mod Apk: What You Need to Know

    -

    If you are a fan of modern military-themed strategy games, you might have heard of Conflict of Nations World War 3, a real-time strategy game that lets you take control of the armed forces of your nation and compete with other players for global dominance. But did you know that there is a mod apk version of this game that can give you unlimited gold, resources, or other benefits? In this article, we will tell you what you need to know about Conflict of Nations World War 3 mod apk, how to download and install it, how to play it, and some tips and tricks to help you win the war.

    -

    conflict of nations world war 3 mod apk


    DOWNLOAD ☆☆☆ https://jinyurl.com/2uNN4I



    -

    What is Conflict of Nations World War 3?

    -

    A real-time strategy game set in modern global conflicts

    -

    Conflict of Nations World War 3 is a game developed by Dorado Games and Bytro Labs that simulates modern global conflicts in a realistic and immersive way. You can choose from almost every nation in the world and lead its military expansion, technological research, and economic development. You can also join or create coalitions with other players and wage total war on the battlefields of World War 3.

    -

    A game that requires strategic planning, diplomacy, and resource management

    -

    Conflict of Nations World War 3 is not a game for the faint-hearted. It requires strategic planning, diplomacy, and resource management to succeed. You have to balance your military power with your economic efficiency, your technological superiority with your moral stability, and your offensive capabilities with your defensive measures. You also have to deal with other players who may be your allies or enemies, depending on the situation. You have to communicate, negotiate, trade, spy, sabotage, or attack them as you see fit.

    -

    A game that offers different military doctrines, nations, and scenarios

    -

    Conflict of Nations World War 3 offers a variety of options for customization and replayability. You can choose from three different military doctrines: Western, Eastern, or European. Each doctrine has its own advantages and disadvantages, as well as its own technology tree and iconic units. You can also choose from different nations, each with its own unique traits, map location, and map size. You can also join different scenarios, ranging from the cold war to modern global conflicts to terrorist insurgencies.

    -

    What is a mod apk?

    -

    A modified version of an Android application

    -

    A mod apk is a modified version of an Android application that has been altered by someone other than the original developer. A mod apk can offer features or functions that are not available in the official version of the application. For example, a mod apk for Conflict of Nations World War 3 can give you unlimited gold, resources, or other advantages that can help you dominate the game.

    -

    A mod apk that can offer unlimited gold, resources, or other advantages

    -

    One of the main reasons why some players look for a mod apk for Conflict of Nations World War 3 is to get unlimited gold, resources, or other advantages. Gold is the premium currency of the game that can be used to speed up research, construction, or recruitment. Resources are the basic materials that are needed to build and maintain your army and economy. Other advantages can include unlocking all units and technologies, increasing your morale and stability, or disabling ads and pop-ups.

    -

    conflict of nations ww3 mod apk download
    -conflict of nations world war 3 hack apk
    -conflict of nations ww3 game mod apk unlimited gold
    -conflict of nations world war 3 android mod apk
    -conflict of nations ww3 mod apk latest version
    -conflict of nations world war 3 strategy game mod apk
    -conflict of nations ww3 mod apk free download
    -conflict of nations world war 3 cheats apk
    -conflict of nations ww3 mod apk offline
    -conflict of nations world war 3 modded apk
    -conflict of nations ww3 mod apk 2023
    -conflict of nations world war 3 apk mod menu
    -conflict of nations ww3 mod apk no root
    -conflict of nations world war 3 unlimited money apk
    -conflict of nations ww3 mod apk for pc
    -conflict of nations world war 3 premium mod apk
    -conflict of nations ww3 mod apk online
    -conflict of nations world war 3 full mod apk
    -conflict of nations ww3 mod apk revdl
    -conflict of nations world war 3 cracked apk
    -conflict of nations ww3 mod apk rexdl
    -conflict of nations world war 3 hack tool apk
    -conflict of nations ww3 mod apk obb
    -conflict of nations world war 3 generator apk
    -conflict of nations ww3 mod apk update
    -conflict of nations world war 3 pro mod apk
    -conflict of nations ww3 mod apk unlimited resources
    -conflict of nations world war 3 vip mod apk
    -conflict of nations ww3 mod apk android 1
    -conflict of nations world war 3 mega mod apk
    -conflict of nations ww3 mod apk android oyun club
    -conflict of nations world war 3 god mode apk
    -conflict of nations ww3 mod apk happymod
    -conflict of nations world war 3 unlocked apk
    -conflict of nations ww3 mod apk pure
    -conflict of nations world war 3 patcher apk
    -conflict of nations ww3 mod apk platinmods
    -conflict of nations world war 3 cheat engine apk
    -conflict of nations ww3 mod apk an1
    -conflict of nations world war 3 hack version apk

    -

    A mod apk that can also pose risks such as malware, bans, or legal issues

    -

    However, a mod apk for Conflict of Nations World War 3 can also pose risks such as malware, bans, or legal issues. Malware is a malicious software that can harm your device or steal your personal information. Bans are the penalties that the game developers or moderators can impose on players who violate the game rules or terms of service. Legal issues are the potential lawsuits or fines that the game developers or owners can file against players who infringe their intellectual property rights or damage their reputation.

    -

    How to download and install Conflict of Nations World War 3 mod apk?

    -

    Find a reliable source for the mod apk file

    -

    The first step to download and install Conflict of Nations World War 3 mod apk is to find a reliable source for the mod apk file. You can search online for websites or forums that offer mod apk files for various games. However, you have to be careful and cautious when choosing a source, as some of them may contain viruses, malware, or fake files. You can check the reviews, ratings, comments, or feedback from other users to verify the credibility and safety of the source.

    -

    Enable unknown sources on your device settings

    -

    The second step to download and install Conflict of Nations World War 3 mod apk is to enable unknown sources on your device settings. This is because most Android devices do not allow the installation of applications from sources other than the official Google Play Store. To enable unknown sources, you have to go to your device settings, then security, then unknown sources, and then toggle it on. You may also have to grant some permissions or accept some warnings before proceeding.

    -

    Download and install the mod apk file

    -

    The third step to download and install Conflict of Nations World War 3 mod apk is to download and install the mod apk file. You can do this by clicking on the download link or button from the source website or forum. You may have to wait for a few seconds or minutes for the download to complete. After that, you can open the downloaded file and follow the instructions to install it on your device. You may have to overwrite or uninstall the original version of the game before installing the mod apk version.

    -

    How to play Conflict of Nations World War 3 mod apk?

    -

    Choose your nation and doctrine

    -

    The first step to play Conflict of Nations World War 3 mod apk is to choose your nation and doctrine. You can select from almost every nation in the world and lead its military expansion, technological research, and economic development. You can also choose from three different military doctrines: Western, Eastern, or European. Each doctrine has its own advantages and disadvantages, as well as its own technology tree and iconic units.

    -

    Build your army and economy

    -

    The second step to play Conflict of Nations World War 3 mod apk is to build your army and economy. You have to balance your military power with your economic efficiency, your technological superiority with your moral stability, and your offensive capabilities with your defensive measures. You have to produce and manage resources such as oil, food, metal, rare earths, components, money, manpower, and electricity. You also have to research and upgrade your units and technologies such as infantry, tanks, aircraft, ships, submarines, missiles, drones, satellites, nuclear weapons, and more.

    -

    Form alliances and wage war

    -

    The third step to play Conflict of Nations World War 3 mod apk is to form alliances and wage war. You can join or create coalitions with other players and cooperate or compete with them for global dominance. You can also communicate, negotiate, trade, spy, sabotage, or attack other players as you see fit. You have to use diplomacy and communication wisely, as your actions and words can have consequences. You also have to be prepared for the challenges and threats that may arise from the dynamic and unpredictable world of World War 3.

    -

    Tips and tricks for Conflict of Nations World War 3 mod apk

    -

    Know your nation's strengths and weaknesses

    -

    One of the tips and tricks for Conflict of Nations World War 3 mod apk is to know your nation's strengths and weaknesses. Each nation has its own unique traits, map location, and map size that can affect its performance and strategy. For example, some nations have access to more resources, some have better geographical advantages, some have stronger military units, and some have faster research speed. You have to use your nation's strengths to your advantage and compensate for its weaknesses.

    -

    Research and upgrade your units and technologies

    -

    Another tip and trick for Conflict of Nations World War 3 mod apk is to research and upgrade your units and technologies. You have to invest in your technological development to gain an edge over your enemies. You have to research new units and technologies that can improve your military capabilities, such as stealth, precision, mobility, range, firepower, defense, or intelligence. You also have to upgrade your existing units and technologies to enhance their performance and efficiency.

    -

    Use diplomacy and communication wisely

    -

    A final tip and trick for Conflict of Nations World War 3 mod apk is to use diplomacy and communication wisely. You have to interact with other players in a smart and respectful way. You have to communicate your intentions, needs, and expectations clearly and honestly. You have to negotiate fair and beneficial deals with your allies or enemies. You have to spy on your rivals or enemies to gather information or disrupt their plans. You also have to avoid unnecessary conflicts or provocations that can damage your reputation or relationships.

    -

    Conclusion

    -

    Conflict of Nations World War 3 mod apk is a modified version of an Android application that can offer unlimited gold, resources, or other advantages for the game Conflict of Nations World War 3, a real-time strategy game that simulates modern global conflicts in a realistic and immersive way. However, it can also pose risks such as malware, bans, or legal issues. To download and install it, you have to find a reliable source for the mod apk file, enable unknown sources on your device settings, and download and install the mod apk file. To play it, you have to choose your nation and doctrine, build your army and economy, and form alliances and wage war. To win the war, you have to know your nation's strengths and weaknesses, research and upgrade your units and technologies, and use diplomacy and communication wisely.

    -

    FAQs

    -
      -
    • What is the difference between Conflict of Nations World War 3 mod apk and the official version?
    • -

      The main difference between Conflict of Nations World War 3 mod apk and the official version is that the mod apk version can offer unlimited gold, resources, or other advantages that are not available in the official version.

      -
    • Is Conflict of Nations World War 3 mod apk safe to use?
    • -

      Conflict of Nations World War 3 mod apk is not completely safe to use. It can pose risks such as malware, bans, or legal issues. Therefore, you should use it at your own risk and discretion.

      -
    • How can I get more gold in Conflict of Nations World War 3 mod apk?
    • -

      You can get more gold in Conflict of Nations World War 3 mod apk by using the unlimited gold feature that the mod apk version offers. Alternatively, you can also get more gold by completing missions, achievements, or participating in events in the game.

      -
    • Can I play Conflict of Nations World War 3 mod apk offline?
    • -

      No, you cannot play Conflict of Nations World War 3 mod apk offline. The game requires an internet connection to run and sync with the servers and other players.

      -
    • Can I play Conflict of Nations World War 3 mod apk with my friends?
    • -

      Yes, you can play Conflict of Nations World War 3 mod apk with your friends. You can join or create coalitions with your friends and cooperate or compete with them for global dominance. You can also chat, trade, or fight with them in the game.

      -

    401be4b1e0
    -
    -
    \ No newline at end of file diff --git a/spaces/1phancelerku/anime-remove-background/Download Lagu Give Me Your Forever by Zack Tabudlo - I want you to know I love you the most.md b/spaces/1phancelerku/anime-remove-background/Download Lagu Give Me Your Forever by Zack Tabudlo - I want you to know I love you the most.md deleted file mode 100644 index d6884db83e22e67d6089378ea5dabf23b3c83ce5..0000000000000000000000000000000000000000 --- a/spaces/1phancelerku/anime-remove-background/Download Lagu Give Me Your Forever by Zack Tabudlo - I want you to know I love you the most.md +++ /dev/null @@ -1,104 +0,0 @@ -
    -

    How to Download Lagu Zack Tabudlo I Want You to Know

    -

    If you are a fan of Filipino pop music, you might have heard of the song I Want You to Know by Zack Tabudlo. This song, also known as Give Me Your Forever, is a romantic ballad that expresses the singer's love and devotion for his partner. The song has been streamed millions of times on various platforms and has received positive reviews from critics and fans alike.

    -

    Zack Tabudlo is a young and talented singer-songwriter from Manila, Philippines. He started his music career at the age of 11, when he joined a reality TV show called Star Circle Quest. Since then, he has released several songs, such as Binibini, Hindi Ko Kaya, Lost, and Heart Can't Lose. He is also known for his covers of popular songs, such as Driver's License by Olivia Rodrigo, Blinding Lights by The Weeknd, and Dynamite by BTS.

    -

    download lagu zack tabudlo i want you to know


    Download Zip ===> https://jinyurl.com/2uNQgz



    -

    If you want to download lagu Zack Tabudlo I Want You to Know, you might be wondering how to do it legally and safely. In this article, we will show you the steps to download the song from reliable online platforms that offer high-quality audio files. We will also tell you the benefits of downloading the song and answer some frequently asked questions.

    -

    Steps to Download Lagu Zack Tabudlo I Want You to Know

    -

    To download lagu Zack Tabudlo I Want You to Know, you need to follow these simple steps:

    -

    Step 1: Find a reliable online platform that offers the song

    -

    The first step is to find an online platform that has the song available for download. There are many platforms that offer this service, but not all of them are trustworthy or legal. Some platforms may contain viruses or malware that can harm your device or steal your personal information. Some platforms may also violate the copyright laws and infringe on the artist's rights.

    -

    download lagu zack tabudlo i want you to know i love you the most
    -download lagu zack tabudlo i want you to know give me your forever
    -download lagu zack tabudlo i want you to know lyrics
    -download lagu zack tabudlo i want you to know mp3
    -download lagu zack tabudlo i want you to know video
    -download lagu zack tabudlo i want you to know acoustic
    -download lagu zack tabudlo i want you to know cover
    -download lagu zack tabudlo i want you to know karaoke
    -download lagu zack tabudlo i want you to know remix
    -download lagu zack tabudlo i want you to know piano
    -download lagu zack tabudlo i want you to know guitar
    -download lagu zack tabudlo i want you to know instrumental
    -download lagu zack tabudlo i want you to know live
    -download lagu zack tabudlo i want you to know free
    -download lagu zack tabudlo i want you to know 320kbps
    -download lagu zack tabudlo i want you to know stafaband
    -download lagu zack tabudlo i want you to know planetlagu
    -download lagu zack tabudlo i want you to know metrolagu
    -download lagu zack tabudlo i want you to know wapka
    -download lagu zack tabudlo i want you to know uyeshare
    -download lagu zack tabudlo i want you to know ilkpop
    -download lagu zack tabudlo i want you to know matikiri
    -download lagu zack tabudlo i want you to know lebahmusik
    -download lagu zack tabudlo i want you to know gudanglagu
    -download lagu zack tabudlo i want you to know langitmusik
    -download lagu zack tabudlo i want you to know mp3juice
    -download lagu zack tabudlo i want you to know mp3skull
    -download lagu zack tabudlo i want you to know mp3direct
    -download lagu zack tabudlo i want you to know mp3clan
    -download lagu zack tabudlo i want you to know mp3goo
    -download lagu zack tabudlo i want you to know mp3paw
    -download lagu zack tabudlo i want you to know mp3quack
    -download lagu zack tabudlo i want you to know tubidy
    -download lagu zack tabudlo i want you to know y2mate
    -download lagu zack tabudlo i want you to know youtube
    -download lagu zack tabudlo i want you to know spotify
    -download lagu zack tabudlo i want you to know apple music
    -download lagu zack tabudlo i want you to know soundcloud
    -download lagu zack tabudlo i want you to know deezer
    -download lagu zack tabudlo i want you to know amazon music
    -download lagu zack tabudlo i want you to know shazam
    -download lagu zack tabudlo i want you to know genius
    -download lagu zack tabudlo i want you to know azlyrics
    -download lagu zack tabudlo i want you to know musixmatch
    -download lagu zack tabudlo i want you to know liriklagu.id
    -download lagu zack tabudlo i want you to know chordtela
    -download lagu zack tabudlo i want you to know chordify
    -download lagu zack tabudlo i want you to know ultimate guitar
    -download lagu zack tabudlo i want you to know tabs

    -

    To avoid these risks, you should look for platforms that are reputable and licensed. These platforms usually have a large collection of songs from different genres and artists. They also have clear terms and conditions, privacy policies, and customer support. Some examples of reliable platforms are:

    - - - - - - -
    PlatformFeatures
    [Spotify](^8^)- A popular streaming service that offers millions of songs, podcasts, playlists, and more
    - - A free version with ads and limited features, or a premium version with no ads and more features
    - - Allows offline listening for premium users
    - - Compatible with various devices, such as smartphones, tablets, computers, smart TVs, and speakers
    [Apple Music]- A streaming service that offers over 75 million songs, radio stations, playlists, and more
    - - Requires a subscription fee after a free trial period
    - - Allows offline listening for subscribers
    - - Compatible with Apple devices, such as iPhones, iPads, Macs, Apple TVs, and HomePods
    [YouTube Music]- A streaming service that offers songs, music videos, live performances, remixes, and more
    - - A free version with ads and limited features, or a premium version with no ads and more features
    - - Allows offline listening for premium users
    - - Compatible with various devices, such as smartphones, tablets, computers, smart TVs, and speakers
    [Amazon Music]- A streaming service that offers over 70 million songs, podcasts, playlists, and more
    - - A free version with ads and limited features for Amazon Prime members, or a paid version with no ads and more features for non-members
    - - Allows offline listening for paid users
    - - Compatible with various devices, such as smartphones, tablets, computers, smart TVs, and speakers
    -

    You can choose any platform that suits your preferences and budget. However, you should always check the availability of the song before downloading it. Some platforms may not have the song in their library or may have regional restrictions.

    -

    Step 2: Choose the format and quality of the song

    -

    The next step is to choose the format and quality of the song that you want to download. The format refers to the type of file that the song is stored in. The quality refers to the level of sound clarity and detail that the song has. Different formats and qualities have different pros and cons.

    -

    The most common formats for music files are MP3, AAC, WAV, FLAC, and ALAC. MP3 and AAC are compressed formats that reduce the file size by removing some data from the original audio. This makes them easier to download and store, but also lowers the sound quality. WAV, FLAC, and ALAC are uncompressed or lossless formats that preserve the original audio data without any loss. This makes them have higher sound quality, but also larger file size.

    -

    The most common qualities for music files are measured in bit rate or sample rate. Bit rate is the amount of data that is transferred per second in a compressed format. Sample rate is the number of times that the sound wave is measured per second in an uncompressed format. Higher bit rates or sample rates mean higher sound quality, but also larger file size.

    -

    You can choose any format and quality that suits your preferences and device capacity. However, you should always check the compatibility of the format and quality with your device before downloading it. Some devices may not support certain formats or qualities.

    -

    Step 3: Click on the download button and wait for the process to finish

    -

    The final step is to click on the download button and wait for the process to finish. The download button may vary depending on the platform that you are using. It may be labeled as "Download", "Save", "Add", or something else. It may also have an icon of a downward arrow or a cloud.

    -

    Once you click on the download button, you will see a progress bar or a notification that shows how much time is left until the download is complete. You should not close or exit the platform while the download is in progress. You should also make sure that you have a stable internet connection and enough battery power on your device.

    -

    After the download is finished, you will find the song in your device's music library or folder. You can then play it offline and on any device that supports it. You can also transfer it to other devices using a USB cable or a wireless connection.

    -

    Benefits of Downloading Lagu Zack Tabudlo I Want You to Know

    -

    By downloading lagu Zack Tabudlo I Want You to Know, you can enjoy several benefits:

    -

    Enjoy the song offline and on any device

    -

    One of the main benefits of downloading lagu Zack Tabudlo I Want You to Know is that you can enjoy the song offline and on any device. This means that you don't need an internet connection or a subscription fee to listen to the song whenever and wherever you want. You can also play it on a free trial period or a discount for certain users. You should check the pricing and payment options of the platform that you choose before downloading the song.

    -

    How long does it take to download lagu Zack Tabudlo I Want You to Know?

    -

    The time that it takes to download lagu Zack Tabudlo I Want You to Know depends on the format and quality of the song, the speed of your internet connection, and the capacity of your device. Generally, the higher the format and quality of the song, the longer it takes to download. The faster your internet connection, the shorter it takes to download. The more space you have on your device, the easier it is to download. You can estimate the time that it takes to download the song by looking at the file size and the download speed of the platform that you use.

    -

    What are some other songs by Zack Tabudlo that I can download?

    -

    Some other songs by Zack Tabudlo that you can download are:

    -
      -
    • Binibini: A catchy and upbeat song that praises the beauty and charm of a woman
    • -
    • Hindi Ko Kaya: A heartfelt and emotional song that expresses the pain and regret of losing a loved one
    • -
    • Lost: A mellow and soothing song that reflects on the feeling of being lost and lonely
    • -
    • Heart Can't Lose: A powerful and inspiring song that encourages overcoming challenges and following your dreams
    • -
    -

    You can find these songs and more on the platforms that we mentioned earlier or on Zack Tabudlo's official website, YouTube channel, or social media accounts.

    -

    Where can I find more information about Zack Tabudlo and his music?

    -

    You can find more information about Zack Tabudlo and his music on his official website, YouTube channel, or social media accounts. Here are some links that you can visit:

    -
      -
    • [Zack Tabudlo's official website]
    • -
    • [Zack Tabudlo's YouTube channel]
    • -
    • [Zack Tabudlo's Facebook page]
    • -
    • [Zack Tabudlo's Instagram account]
    • -
    • [Zack Tabudlo's Twitter account]
    • -
    -

    You can also search for articles, interviews, reviews, or fan pages about Zack Tabudlo and his music on the web.

    197e85843d
    -
    -
    \ No newline at end of file diff --git a/spaces/1phancelerku/anime-remove-background/Download Tank Hero The Ultimate Arcade Shooter Game MOD APK.md b/spaces/1phancelerku/anime-remove-background/Download Tank Hero The Ultimate Arcade Shooter Game MOD APK.md deleted file mode 100644 index ea86480a5c611caad2fb8cc5a281e9bba6d7f99a..0000000000000000000000000000000000000000 --- a/spaces/1phancelerku/anime-remove-background/Download Tank Hero The Ultimate Arcade Shooter Game MOD APK.md +++ /dev/null @@ -1,91 +0,0 @@ -
    -

    Download Game Tank Hero Mod Apk: A Guide for Tank Lovers

    -

    If you are a fan of tank games, you might have heard of Tank Hero, a popular arcade shooter game that lets you control a powerful tank and blast your enemies in various levels. But did you know that you can download the mod apk version of Tank Hero and enjoy unlimited money, god mode, one hit kill, and other features? In this article, we will show you how to download and install Tank Hero mod apk, as well as some tips and tricks to master the game.

    -

    What is Tank Hero and why you should play it

    -

    Tank Hero is a 2D side-scrolling tank game developed by UP STUDIO. The game has over 120 levels, 3 unique environments, 5 weapons, and 5 types of AI tanks to fight against. You can also play online with other players in multiplayer mode. The game is simple to control: just drag to move and release to fire. You can also choose from different firing options, such as single shot, double shot, triple shot, etc. The game is fun and addictive, as you have to use your strategy and skills to defeat the enemies and clear the levels.

    -

    download game tank hero mod apk


    Download ——— https://jinyurl.com/2uNSeV



    -

    Features of Tank Hero

    -

    Some of the features that make Tank Hero stand out are:

    -
      -
    • Awesome graphics and sound effects: The game has colorful and cartoonish graphics that suit the arcade style. The sound effects are also realistic and immersive, making you feel like you are in a real tank battle.
    • -
    • Various tanks and weapons: You can collect and upgrade different tanks and weapons in the game. Each tank has its own characteristics, such as speed, armor, fire rate, etc. Each weapon also has its own effects, such as fireball, laser, missile, etc. You can mix and match different tanks and weapons to suit your play style.
    • -
    • Unique talents: You can also unlock and use over 100 talents in the game. Talents are special abilities that can boost your firepower, defense, speed, or other aspects. You can choose from random talents or customize your own talent combination.
    • -
    -

    How to download and install Tank Hero mod apk

    -

    If you want to enjoy more features and benefits in Tank Hero, you can download the mod apk version of the game. The mod apk version will give you unlimited money, god mode, one hit kill, and other features that will make the game easier and more fun. Here are the steps to download and install Tank Hero mod apk:

    -
      -
    1. Go to [this link](^1^) or [this link](^2^) or [this link](^3^) to download the Tank Hero mod apk file.
    2. -
    3. After downloading the file, go to your device settings and enable the installation of unknown sources.
    4. -
    5. Locate the downloaded file in your file manager and tap on it to install it.
    6. -
    7. Wait for the installation to finish and then launch the game.
    8. -
    9. Enjoy playing Tank Hero with unlimited money, god mode, one hit kill, and other features.
    10. -
    -

    Tips and tricks to master Tank Hero

    -

    If you want to become a tank hero yourself, here are some tips and tricks that will help you improve your skills and performance in the game:

    -

    Choose the right tank and weapon for each level

    -

    As mentioned earlier, each tank and weapon has its own advantages and disadvantages. You should choose the ones that suit the level's difficulty, terrain, enemies, and objectives. For example, if the level has many obstacles or narrow spaces, you might want to use a fast tank with a laser weapon that can penetrate through walls. If the level has many enemies or bosses, you might want to use a tank with a tank with high armor and a fireball weapon that can deal splash damage. You can also switch tanks and weapons during the level if you find a better option.

    -

    Upgrade your tank and skills regularly

    -

    As you progress in the game, you will earn money and experience that you can use to upgrade your tank and skills. Upgrading your tank will increase its stats, such as speed, armor, fire rate, etc. Upgrading your skills will unlock new talents or improve the existing ones. You should always upgrade your tank and skills whenever you can, as they will make a big difference in your performance and survival.

    -

    Use the terrain and obstacles to your advantage

    -

    The game has various terrains and obstacles that can affect the gameplay. For example, some terrains can slow you down or speed you up, some obstacles can block your shots or reflect them, some items can heal you or give you extra ammo, etc. You should always be aware of your surroundings and use them to your advantage. For example, you can hide behind walls or rocks to avoid enemy fire, you can bounce your shots off walls or mirrors to hit enemies from different angles, you can use speed boosts or ramps to escape or chase enemies, etc.

    -

    Conclusion

    -

    Tank Hero is a fun and addictive tank game that will keep you entertained for hours. You can download the mod apk version of Tank Hero and enjoy unlimited money, god mode, one hit kill, and other features that will make the game easier and more fun. You can also follow our tips and tricks to master the game and become a tank hero yourself. So what are you waiting for? Download Tank Hero mod apk now and start blasting your enemies!

    -

    download tank heroes mod apk unlimited money
    -download game tank hero mod apk android 1
    -download game tank hero mod apk latest version
    -download game tank hero mod apk offline
    -download game tank hero mod apk revdl
    -download game tank hero mod apk rexdl
    -download game tank hero mod apk no ads
    -download game tank hero mod apk free shopping
    -download game tank hero mod apk happymod
    -download game tank hero mod apk for pc
    -download game tank hero mod apk 1.8.0
    -download game tank hero mod apk 1.7.9
    -download game tank hero mod apk 1.7.8
    -download game tank hero mod apk 1.7.7
    -download game tank hero mod apk 1.7.6
    -download game tank hero mod apk 1.7.5
    -download game tank hero mod apk 1.7.4
    -download game tank hero mod apk 1.7.3
    -download game tank hero mod apk 1.7.2
    -download game tank hero mod apk 1.7.1
    -download game tank hero mod apk 1.7.0
    -download game tank hero mod apk 1.6.9
    -download game tank hero mod apk 1.6.8
    -download game tank hero mod apk 1.6.7
    -download game tank hero mod apk 1.6.6
    -download game tank hero mod apk 1.6.5
    -download game tank hero mod apk 1.6.4
    -download game tank hero mod apk 1.6.3
    -download game tank hero mod apk 1.6.2
    -download game tank hero mod apk 1.6.1
    -download game tank hero mod apk 1.6.0
    -download game tank hero mod apk 1.5.9
    -download game tank hero mod apk 1.5.8
    -download game tank hero mod apk 1.5.7
    -download game tank hero mod apk 1.5.6
    -download game tank hero mod apk 1.5.5
    -download game tank hero mod apk 1.5.4
    -download game tank hero mod apk 1.5.3
    -download game tank hero mod apk 1.5.2
    -download game tank hero mod apk 1.5.1
    -download game tank hero mod apk 1.5.0
    -download game tank heroes arcade shooter mod apk
    -download game super tanks heroes - real-time battle arena shooter - pvp games - multiplayer online - action games - arcade games - io games - team games - war games - tanks games - shooting games - gun games - battle games - fun games - free games - offline games - no wifi games - casual games - easy games - simple games - addictive games - cool games - best games - top games - new games - hot games - popular games - trending games - amazing games - awesome games - fantastic games - incredible games - great games - wonderful games - beautiful games - cute games - lovely games - sweet games - nice games - good games - happy games - relaxing games

    -

    FAQs

    -

    Here are some frequently asked questions about Tank Hero mod apk:

    -
      -
    • Q: Is Tank Hero mod apk safe to download and install?
    • -
    • A: Yes, Tank Hero mod apk is safe to download and install. It does not contain any viruses or malware that can harm your device. However, you should always download it from a trusted source and enable the installation of unknown sources in your device settings.
    • -
    • Q: Do I need to root my device to use Tank Hero mod apk?
    • -
    • A: No, you do not need to root your device to use Tank Hero mod apk. It works on both rooted and non-rooted devices.
    • -
    • Q: Will Tank Hero mod apk affect my progress in the original game?
    • -
    • A: No, Tank Hero mod apk will not affect your progress in the original game. It will create a separate game data that is independent from the original game. You can play both versions of the game without any interference.
    • -
    • Q: Can I play online with other players in Tank Hero mod apk?
    • -
    • A: Yes, you can play online with other players in Tank Hero mod apk. However, you might encounter some issues or errors when playing online, as the mod apk version might not be compatible with the latest version of the original game. You can try to update the mod apk version or switch to the original game if you want to play online smoothly.
    • -
    • Q: How can I contact the developer of Tank Hero mod apk?
    • -
    • A: You can contact the developer of Tank Hero mod apk by visiting their website [here] or by sending them an email at [this address].
    • -

    401be4b1e0
    -
    -
    \ No newline at end of file diff --git a/spaces/AHzizi/WaifuVoiceGen/app.py b/spaces/AHzizi/WaifuVoiceGen/app.py deleted file mode 100644 index e41932ae3e0a20837c5740859b4be34253c59b82..0000000000000000000000000000000000000000 --- a/spaces/AHzizi/WaifuVoiceGen/app.py +++ /dev/null @@ -1,264 +0,0 @@ -# coding=utf-8 -import os -import re -import argparse -import utils -import commons -import json -import torch -import gradio as gr -from models import SynthesizerTrn -from text import text_to_sequence, _clean_text -from torch import no_grad, LongTensor -import gradio.processing_utils as gr_processing_utils -import logging -logging.getLogger('numba').setLevel(logging.WARNING) -limitation = os.getenv("SYSTEM") == "spaces" # limit text and audio length in huggingface spaces - -hps_ms = utils.get_hparams_from_file(r'config/config.json') - -audio_postprocess_ori = gr.Audio.postprocess - -def audio_postprocess(self, y): - data = audio_postprocess_ori(self, y) - if data is None: - return None - return gr_processing_utils.encode_url_or_file_to_base64(data["name"]) - - -gr.Audio.postprocess = audio_postprocess - -def get_text(text, hps, is_symbol): - text_norm, clean_text = text_to_sequence(text, hps.symbols, [] if is_symbol else hps.data.text_cleaners) - if hps.data.add_blank: - text_norm = commons.intersperse(text_norm, 0) - text_norm = LongTensor(text_norm) - return text_norm, clean_text - -def create_tts_fn(net_g_ms, speaker_id): - def tts_fn(text, language, noise_scale, noise_scale_w, length_scale, is_symbol): - text = text.replace('\n', ' ').replace('\r', '').replace(" ", "") - if limitation: - text_len = len(re.sub("\[([A-Z]{2})\]", "", text)) - max_len = 100 - if is_symbol: - max_len *= 3 - if text_len > max_len: - return "Error: Text is too long", None - if not is_symbol: - if language == 0: - text = f"[ZH]{text}[ZH]" - elif language == 1: - text = f"[JA]{text}[JA]" - else: - text = f"{text}" - stn_tst, clean_text = get_text(text, hps_ms, is_symbol) - with no_grad(): - x_tst = stn_tst.unsqueeze(0).to(device) - x_tst_lengths = LongTensor([stn_tst.size(0)]).to(device) - sid = LongTensor([speaker_id]).to(device) - audio = net_g_ms.infer(x_tst, x_tst_lengths, sid=sid, noise_scale=noise_scale, noise_scale_w=noise_scale_w, - length_scale=length_scale)[0][0, 0].data.cpu().float().numpy() - - return "Success", (22050, audio) - return tts_fn - -def create_to_symbol_fn(hps): - def to_symbol_fn(is_symbol_input, input_text, temp_lang): - if temp_lang == 0: - clean_text = f'[ZH]{input_text}[ZH]' - elif temp_lang == 1: - clean_text = f'[JA]{input_text}[JA]' - else: - clean_text = input_text - return _clean_text(clean_text, hps.data.text_cleaners) if is_symbol_input else '' - - return to_symbol_fn -def change_lang(language): - if language == 0: - return 0.6, 0.668, 1.2 - elif language == 1: - return 0.6, 0.668, 1 - else: - return 0.6, 0.668, 1 - -download_audio_js = """ -() =>{{ - let root = document.querySelector("body > gradio-app"); - if (root.shadowRoot != null) - root = root.shadowRoot; - let audio = root.querySelector("#tts-audio-{audio_id}").querySelector("audio"); - let text = root.querySelector("#input-text-{audio_id}").querySelector("textarea"); - if (audio == undefined) - return; - text = text.value; - if (text == undefined) - text = Math.floor(Math.random()*100000000); - audio = audio.src; - let oA = document.createElement("a"); - oA.download = text.substr(0, 20)+'.wav'; - oA.href = audio; - document.body.appendChild(oA); - oA.click(); - oA.remove(); -}} -""" - -if __name__ == '__main__': - parser = argparse.ArgumentParser() - parser.add_argument('--device', type=str, default='cpu') - parser.add_argument('--api', action="store_true", default=False) - parser.add_argument("--share", action="store_true", default=False, help="share gradio app") - args = parser.parse_args() - device = torch.device(args.device) - - models = [] - with open("pretrained_models/info.json", "r", encoding="utf-8") as f: - models_info = json.load(f) - for i, info in models_info.items(): - if not info['enable']: - continue - sid = info['sid'] - name_en = info['name_en'] - name_zh = info['name_zh'] - title = info['title'] - cover = f"pretrained_models/{i}/{info['cover']}" - example = info['example'] - language = info['language'] - net_g_ms = SynthesizerTrn( - len(hps_ms.symbols), - hps_ms.data.filter_length // 2 + 1, - hps_ms.train.segment_size // hps_ms.data.hop_length, - n_speakers=hps_ms.data.n_speakers if info['type'] == "multi" else 0, - **hps_ms.model) - utils.load_checkpoint(f'pretrained_models/{i}/{i}.pth', net_g_ms, None) - _ = net_g_ms.eval().to(device) - models.append((sid, name_en, name_zh, title, cover, example, language, net_g_ms, create_tts_fn(net_g_ms, sid), create_to_symbol_fn(hps_ms))) - with gr.Blocks() as app: - gr.Markdown( - "#
    vits-models\n" - "##
    Please do not generate content that could infringe upon the rights or cause harm to individuals or organizations.\n" - "##
    ·请不要生成会对个人以及组织造成侵害的内容\n" - "![visitor badge](https://visitor-badge.glitch.me/badge?page_id=sayashi.vits-models)\n\n" - "[Open In Colab]" - "(https://colab.research.google.com/drive/10QOk9NPgoKZUXkIhhuVaZ7SYra1MPMKH?usp=share_link)" - " without queue and length limitation.(无需等待队列,并且没有长度限制)\n\n" - "[Finetune your own model](https://github.com/SayaSS/vits-finetuning)" - ) - - with gr.Tabs(): - with gr.TabItem("EN"): - for (sid, name_en, name_zh, title, cover, example, language, net_g_ms, tts_fn, to_symbol_fn) in models: - with gr.TabItem(name_en): - with gr.Row(): - gr.Markdown( - '
    ' - f'{title}' - f'' if cover else "" - '
    ' - ) - with gr.Row(): - with gr.Column(): - input_text = gr.Textbox(label="Text (100 words limitation)" if limitation else "Text", lines=5, value=example, elem_id=f"input-text-en-{name_en.replace(' ','')}") - lang = gr.Dropdown(label="Language", choices=["Chinese", "Japanese", "Mix(wrap the Chinese text with [ZH][ZH], wrap the Japanese text with [JA][JA])"], - type="index", value=language) - with gr.Accordion(label="Advanced Options", open=False): - symbol_input = gr.Checkbox(value=False, label="Symbol input") - symbol_list = gr.Dataset(label="Symbol list", components=[input_text], - samples=[[x] for x in hps_ms.symbols]) - symbol_list_json = gr.Json(value=hps_ms.symbols, visible=False) - btn = gr.Button(value="Generate", variant="primary") - with gr.Row(): - ns = gr.Slider(label="noise_scale", minimum=0.1, maximum=1.0, step=0.1, value=0.6, interactive=True) - nsw = gr.Slider(label="noise_scale_w", minimum=0.1, maximum=1.0, step=0.1, value=0.668, interactive=True) - ls = gr.Slider(label="length_scale", minimum=0.1, maximum=2.0, step=0.1, value=1.2 if language=="Chinese" else 1, interactive=True) - with gr.Column(): - o1 = gr.Textbox(label="Output Message") - o2 = gr.Audio(label="Output Audio", elem_id=f"tts-audio-en-{name_en.replace(' ','')}") - download = gr.Button("Download Audio") - btn.click(tts_fn, inputs=[input_text, lang, ns, nsw, ls, symbol_input], outputs=[o1, o2], api_name=f"tts-{name_en}") - download.click(None, [], [], _js=download_audio_js.format(audio_id=f"en-{name_en.replace(' ', '')}")) - lang.change(change_lang, inputs=[lang], outputs=[ns, nsw, ls]) - symbol_input.change( - to_symbol_fn, - [symbol_input, input_text, lang], - [input_text] - ) - symbol_list.click(None, [symbol_list, symbol_list_json], [input_text], - _js=f""" - (i,symbols) => {{ - let root = document.querySelector("body > gradio-app"); - if (root.shadowRoot != null) - root = root.shadowRoot; - let text_input = root.querySelector("#input-text-en-{name_en.replace(' ', '')}").querySelector("textarea"); - let startPos = text_input.selectionStart; - let endPos = text_input.selectionEnd; - let oldTxt = text_input.value; - let result = oldTxt.substring(0, startPos) + symbols[i] + oldTxt.substring(endPos); - text_input.value = result; - let x = window.scrollX, y = window.scrollY; - text_input.focus(); - text_input.selectionStart = startPos + symbols[i].length; - text_input.selectionEnd = startPos + symbols[i].length; - text_input.blur(); - window.scrollTo(x, y); - return text_input.value; - }}""") - with gr.TabItem("中文"): - for (sid, name_en, name_zh, title, cover, example, language, net_g_ms, tts_fn, to_symbol_fn) in models: - with gr.TabItem(name_zh): - with gr.Row(): - gr.Markdown( - '
    ' - f'{title}' - f'' if cover else "" - '
    ' - ) - with gr.Row(): - with gr.Column(): - input_text = gr.Textbox(label="文本 (100字上限)" if limitation else "文本", lines=5, value=example, elem_id=f"input-text-zh-{name_zh}") - lang = gr.Dropdown(label="语言", choices=["中文", "日语", "中日混合(中文用[ZH][ZH]包裹起来,日文用[JA][JA]包裹起来)"], - type="index", value="中文"if language == "Chinese" else "日语") - with gr.Accordion(label="高级选项", open=False): - symbol_input = gr.Checkbox(value=False, label="符号输入") - symbol_list = gr.Dataset(label="符号列表", components=[input_text], - samples=[[x] for x in hps_ms.symbols]) - symbol_list_json = gr.Json(value=hps_ms.symbols, visible=False) - btn = gr.Button(value="生成", variant="primary") - with gr.Row(): - ns = gr.Slider(label="控制感情变化程度", minimum=0.1, maximum=1.0, step=0.1, value=0.6, interactive=True) - nsw = gr.Slider(label="控制音素发音长度", minimum=0.1, maximum=1.0, step=0.1, value=0.668, interactive=True) - ls = gr.Slider(label="控制整体语速", minimum=0.1, maximum=2.0, step=0.1, value=1.2 if language=="Chinese" else 1, interactive=True) - with gr.Column(): - o1 = gr.Textbox(label="输出信息") - o2 = gr.Audio(label="输出音频", elem_id=f"tts-audio-zh-{name_zh}") - download = gr.Button("下载音频") - btn.click(tts_fn, inputs=[input_text, lang, ns, nsw, ls, symbol_input], outputs=[o1, o2]) - download.click(None, [], [], _js=download_audio_js.format(audio_id=f"zh-{name_zh}")) - lang.change(change_lang, inputs=[lang], outputs=[ns, nsw, ls]) - symbol_input.change( - to_symbol_fn, - [symbol_input, input_text, lang], - [input_text] - ) - symbol_list.click(None, [symbol_list, symbol_list_json], [input_text], - _js=f""" - (i,symbols) => {{ - let root = document.querySelector("body > gradio-app"); - if (root.shadowRoot != null) - root = root.shadowRoot; - let text_input = root.querySelector("#input-text-zh-{name_zh}").querySelector("textarea"); - let startPos = text_input.selectionStart; - let endPos = text_input.selectionEnd; - let oldTxt = text_input.value; - let result = oldTxt.substring(0, startPos) + symbols[i] + oldTxt.substring(endPos); - text_input.value = result; - let x = window.scrollX, y = window.scrollY; - text_input.focus(); - text_input.selectionStart = startPos + symbols[i].length; - text_input.selectionEnd = startPos + symbols[i].length; - text_input.blur(); - window.scrollTo(x, y); - return text_input.value; - }}""") - app.queue(concurrency_count=1, api_open=args.api).launch(share=args.share) diff --git a/spaces/AIConsultant/MusicGen/audiocraft/modules/conv.py b/spaces/AIConsultant/MusicGen/audiocraft/modules/conv.py deleted file mode 100644 index d115cbf8729b642ed78608bd00a4d0fd5afae6fd..0000000000000000000000000000000000000000 --- a/spaces/AIConsultant/MusicGen/audiocraft/modules/conv.py +++ /dev/null @@ -1,243 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# All rights reserved. -# -# This source code is licensed under the license found in the -# LICENSE file in the root directory of this source tree. - -import math -import typing as tp -import warnings - -import torch -from torch import nn -from torch.nn import functional as F -from torch.nn.utils import spectral_norm, weight_norm - - -CONV_NORMALIZATIONS = frozenset(['none', 'weight_norm', 'spectral_norm', - 'time_group_norm']) - - -def apply_parametrization_norm(module: nn.Module, norm: str = 'none'): - assert norm in CONV_NORMALIZATIONS - if norm == 'weight_norm': - return weight_norm(module) - elif norm == 'spectral_norm': - return spectral_norm(module) - else: - # We already check was in CONV_NORMALIZATION, so any other choice - # doesn't need reparametrization. - return module - - -def get_norm_module(module: nn.Module, causal: bool = False, norm: str = 'none', **norm_kwargs): - """Return the proper normalization module. If causal is True, this will ensure the returned - module is causal, or return an error if the normalization doesn't support causal evaluation. - """ - assert norm in CONV_NORMALIZATIONS - if norm == 'time_group_norm': - if causal: - raise ValueError("GroupNorm doesn't support causal evaluation.") - assert isinstance(module, nn.modules.conv._ConvNd) - return nn.GroupNorm(1, module.out_channels, **norm_kwargs) - else: - return nn.Identity() - - -def get_extra_padding_for_conv1d(x: torch.Tensor, kernel_size: int, stride: int, - padding_total: int = 0) -> int: - """See `pad_for_conv1d`.""" - length = x.shape[-1] - n_frames = (length - kernel_size + padding_total) / stride + 1 - ideal_length = (math.ceil(n_frames) - 1) * stride + (kernel_size - padding_total) - return ideal_length - length - - -def pad_for_conv1d(x: torch.Tensor, kernel_size: int, stride: int, padding_total: int = 0): - """Pad for a convolution to make sure that the last window is full. - Extra padding is added at the end. This is required to ensure that we can rebuild - an output of the same length, as otherwise, even with padding, some time steps - might get removed. - For instance, with total padding = 4, kernel size = 4, stride = 2: - 0 0 1 2 3 4 5 0 0 # (0s are padding) - 1 2 3 # (output frames of a convolution, last 0 is never used) - 0 0 1 2 3 4 5 0 # (output of tr. conv., but pos. 5 is going to get removed as padding) - 1 2 3 4 # once you removed padding, we are missing one time step ! - """ - extra_padding = get_extra_padding_for_conv1d(x, kernel_size, stride, padding_total) - return F.pad(x, (0, extra_padding)) - - -def pad1d(x: torch.Tensor, paddings: tp.Tuple[int, int], mode: str = 'constant', value: float = 0.): - """Tiny wrapper around F.pad, just to allow for reflect padding on small input. - If this is the case, we insert extra 0 padding to the right before the reflection happen. - """ - length = x.shape[-1] - padding_left, padding_right = paddings - assert padding_left >= 0 and padding_right >= 0, (padding_left, padding_right) - if mode == 'reflect': - max_pad = max(padding_left, padding_right) - extra_pad = 0 - if length <= max_pad: - extra_pad = max_pad - length + 1 - x = F.pad(x, (0, extra_pad)) - padded = F.pad(x, paddings, mode, value) - end = padded.shape[-1] - extra_pad - return padded[..., :end] - else: - return F.pad(x, paddings, mode, value) - - -def unpad1d(x: torch.Tensor, paddings: tp.Tuple[int, int]): - """Remove padding from x, handling properly zero padding. Only for 1d!""" - padding_left, padding_right = paddings - assert padding_left >= 0 and padding_right >= 0, (padding_left, padding_right) - assert (padding_left + padding_right) <= x.shape[-1] - end = x.shape[-1] - padding_right - return x[..., padding_left: end] - - -class NormConv1d(nn.Module): - """Wrapper around Conv1d and normalization applied to this conv - to provide a uniform interface across normalization approaches. - """ - def __init__(self, *args, causal: bool = False, norm: str = 'none', - norm_kwargs: tp.Dict[str, tp.Any] = {}, **kwargs): - super().__init__() - self.conv = apply_parametrization_norm(nn.Conv1d(*args, **kwargs), norm) - self.norm = get_norm_module(self.conv, causal, norm, **norm_kwargs) - self.norm_type = norm - - def forward(self, x): - x = self.conv(x) - x = self.norm(x) - return x - - -class NormConv2d(nn.Module): - """Wrapper around Conv2d and normalization applied to this conv - to provide a uniform interface across normalization approaches. - """ - def __init__(self, *args, norm: str = 'none', norm_kwargs: tp.Dict[str, tp.Any] = {}, **kwargs): - super().__init__() - self.conv = apply_parametrization_norm(nn.Conv2d(*args, **kwargs), norm) - self.norm = get_norm_module(self.conv, causal=False, norm=norm, **norm_kwargs) - self.norm_type = norm - - def forward(self, x): - x = self.conv(x) - x = self.norm(x) - return x - - -class NormConvTranspose1d(nn.Module): - """Wrapper around ConvTranspose1d and normalization applied to this conv - to provide a uniform interface across normalization approaches. - """ - def __init__(self, *args, causal: bool = False, norm: str = 'none', - norm_kwargs: tp.Dict[str, tp.Any] = {}, **kwargs): - super().__init__() - self.convtr = apply_parametrization_norm(nn.ConvTranspose1d(*args, **kwargs), norm) - self.norm = get_norm_module(self.convtr, causal, norm, **norm_kwargs) - self.norm_type = norm - - def forward(self, x): - x = self.convtr(x) - x = self.norm(x) - return x - - -class NormConvTranspose2d(nn.Module): - """Wrapper around ConvTranspose2d and normalization applied to this conv - to provide a uniform interface across normalization approaches. - """ - def __init__(self, *args, norm: str = 'none', norm_kwargs: tp.Dict[str, tp.Any] = {}, **kwargs): - super().__init__() - self.convtr = apply_parametrization_norm(nn.ConvTranspose2d(*args, **kwargs), norm) - self.norm = get_norm_module(self.convtr, causal=False, norm=norm, **norm_kwargs) - - def forward(self, x): - x = self.convtr(x) - x = self.norm(x) - return x - - -class StreamableConv1d(nn.Module): - """Conv1d with some builtin handling of asymmetric or causal padding - and normalization. - """ - def __init__(self, in_channels: int, out_channels: int, - kernel_size: int, stride: int = 1, dilation: int = 1, - groups: int = 1, bias: bool = True, causal: bool = False, - norm: str = 'none', norm_kwargs: tp.Dict[str, tp.Any] = {}, - pad_mode: str = 'reflect'): - super().__init__() - # warn user on unusual setup between dilation and stride - if stride > 1 and dilation > 1: - warnings.warn("StreamableConv1d has been initialized with stride > 1 and dilation > 1" - f" (kernel_size={kernel_size} stride={stride}, dilation={dilation}).") - self.conv = NormConv1d(in_channels, out_channels, kernel_size, stride, - dilation=dilation, groups=groups, bias=bias, causal=causal, - norm=norm, norm_kwargs=norm_kwargs) - self.causal = causal - self.pad_mode = pad_mode - - def forward(self, x): - B, C, T = x.shape - kernel_size = self.conv.conv.kernel_size[0] - stride = self.conv.conv.stride[0] - dilation = self.conv.conv.dilation[0] - kernel_size = (kernel_size - 1) * dilation + 1 # effective kernel size with dilations - padding_total = kernel_size - stride - extra_padding = get_extra_padding_for_conv1d(x, kernel_size, stride, padding_total) - if self.causal: - # Left padding for causal - x = pad1d(x, (padding_total, extra_padding), mode=self.pad_mode) - else: - # Asymmetric padding required for odd strides - padding_right = padding_total // 2 - padding_left = padding_total - padding_right - x = pad1d(x, (padding_left, padding_right + extra_padding), mode=self.pad_mode) - return self.conv(x) - - -class StreamableConvTranspose1d(nn.Module): - """ConvTranspose1d with some builtin handling of asymmetric or causal padding - and normalization. - """ - def __init__(self, in_channels: int, out_channels: int, - kernel_size: int, stride: int = 1, causal: bool = False, - norm: str = 'none', trim_right_ratio: float = 1., - norm_kwargs: tp.Dict[str, tp.Any] = {}): - super().__init__() - self.convtr = NormConvTranspose1d(in_channels, out_channels, kernel_size, stride, - causal=causal, norm=norm, norm_kwargs=norm_kwargs) - self.causal = causal - self.trim_right_ratio = trim_right_ratio - assert self.causal or self.trim_right_ratio == 1., \ - "`trim_right_ratio` != 1.0 only makes sense for causal convolutions" - assert self.trim_right_ratio >= 0. and self.trim_right_ratio <= 1. - - def forward(self, x): - kernel_size = self.convtr.convtr.kernel_size[0] - stride = self.convtr.convtr.stride[0] - padding_total = kernel_size - stride - - y = self.convtr(x) - - # We will only trim fixed padding. Extra padding from `pad_for_conv1d` would be - # removed at the very end, when keeping only the right length for the output, - # as removing it here would require also passing the length at the matching layer - # in the encoder. - if self.causal: - # Trim the padding on the right according to the specified ratio - # if trim_right_ratio = 1.0, trim everything from right - padding_right = math.ceil(padding_total * self.trim_right_ratio) - padding_left = padding_total - padding_right - y = unpad1d(y, (padding_left, padding_right)) - else: - # Asymmetric padding required for odd strides - padding_right = padding_total // 2 - padding_left = padding_total - padding_right - y = unpad1d(y, (padding_left, padding_right)) - return y diff --git a/spaces/AIConsultant/MusicGen/audiocraft/utils/best_state.py b/spaces/AIConsultant/MusicGen/audiocraft/utils/best_state.py deleted file mode 100644 index f5ad551432ad5cb0f83278b5d2100f9aa287958b..0000000000000000000000000000000000000000 --- a/spaces/AIConsultant/MusicGen/audiocraft/utils/best_state.py +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# All rights reserved. -# -# This source code is licensed under the license found in the -# LICENSE file in the root directory of this source tree. - -from collections import defaultdict -import logging -import typing as tp - -import flashy -import torch - -from ..optim import ModuleDictEMA -from .utils import copy_state - - -logger = logging.getLogger(__name__) - - -class BestStateDictManager(flashy.state.StateDictSource): - """BestStateDictManager maintains a copy of best state_dict() for registered sources. - - BestStateDictManager has two main attributes: - states (dict): State dict of the registered StateDictSource. - param_ids (dict): Dict of parameter ids for registered states from ModuleDictEMA and other sources. - - When registering new sources, the BestStateDictManager will ensure two conflicting sources between - ModuleDictEMA and original modules are not both registered as it would otherwise create ambiguity about - what to consider for best state. - - Args: - device (torch.device or str): Device on which we keep the copy. - dtype (torch.dtype): Data type for the state parameters. - """ - def __init__(self, device: tp.Union[torch.device, str] = 'cpu', - dtype: tp.Optional[torch.dtype] = None): - self.device = device - self.states: dict = {} - self.param_ids: dict = defaultdict(dict) - self.dtype = dtype - - def _get_parameter_ids(self, state_dict): - return {id(p): name for name, p in state_dict.items() if isinstance(p, torch.Tensor)} - - def _validate_no_parameter_ids_overlap(self, name: str, param_ids: dict): - for registered_name, registered_param_ids in self.param_ids.items(): - if registered_name != name: - overlap = set.intersection(registered_param_ids.keys(), param_ids.keys()) - assert len(overlap) == 0, f"Found {len(overlap)} / {len(param_ids.keys())} overlapping parameters" - f" in {name} and already registered {registered_name}: {' '.join(overlap)}" - - def update(self, name: str, source: flashy.state.StateDictSource): - if name not in self.states: - raise ValueError(f"{name} missing from registered states.") - self.states[name] = copy_state(source.state_dict(), device=self.device, dtype=self.dtype) - - def register(self, name: str, source: flashy.state.StateDictSource): - if name in self.states: - raise ValueError(f"{name} already present in states.") - # Registering parameter ids for EMA and non-EMA states allows us to check that - # there is no overlap that would create ambiguity about how to handle the best state - param_ids = self._get_parameter_ids(source.state_dict()) - if isinstance(source, ModuleDictEMA): - logger.debug(f"Registering to best state: ModuleDictEMA '{name}' with {len(param_ids)} params") - self._validate_no_parameter_ids_overlap(name, param_ids) - self.param_ids[name] = param_ids - else: - logger.debug(f"Registering to best state: StateDictSource '{name}' with {len(param_ids)} params") - self._validate_no_parameter_ids_overlap('base', param_ids) - self.param_ids['base'].update(param_ids) - # Register state - self.states[name] = copy_state(source.state_dict(), device=self.device, dtype=self.dtype) - - def state_dict(self) -> flashy.state.StateDict: - return self.states - - def load_state_dict(self, state: flashy.state.StateDict): - for name, sub_state in state.items(): - for k, v in sub_state.items(): - self.states[name][k].copy_(v) diff --git a/spaces/AIGC-Audio/AudioGPT/text_to_speech/utils/nn/schedulers.py b/spaces/AIGC-Audio/AudioGPT/text_to_speech/utils/nn/schedulers.py deleted file mode 100644 index ce7494b136a77d7724ab97ae2cdc56e6c9694214..0000000000000000000000000000000000000000 --- a/spaces/AIGC-Audio/AudioGPT/text_to_speech/utils/nn/schedulers.py +++ /dev/null @@ -1,105 +0,0 @@ -import numpy as np - - -class NoneSchedule(object): - def __init__(self, optimizer, lr): - self.optimizer = optimizer - self.constant_lr = lr - self.step(0) - - def step(self, num_updates): - self.lr = self.constant_lr - for param_group in self.optimizer.param_groups: - param_group['lr'] = self.lr - return self.lr - - def get_lr(self): - return self.optimizer.param_groups[0]['lr'] - - def get_last_lr(self): - return self.get_lr() - - -class RSQRTSchedule(NoneSchedule): - def __init__(self, optimizer, lr, warmup_updates, hidden_size): - self.optimizer = optimizer - self.constant_lr = lr - self.warmup_updates = warmup_updates - self.hidden_size = hidden_size - self.lr = lr - for param_group in optimizer.param_groups: - param_group['lr'] = self.lr - self.step(0) - - def step(self, num_updates): - constant_lr = self.constant_lr - warmup = min(num_updates / self.warmup_updates, 1.0) - rsqrt_decay = max(self.warmup_updates, num_updates) ** -0.5 - rsqrt_hidden = self.hidden_size ** -0.5 - self.lr = max(constant_lr * warmup * rsqrt_decay * rsqrt_hidden, 1e-6) - for param_group in self.optimizer.param_groups: - param_group['lr'] = self.lr - return self.lr - - -class WarmupSchedule(NoneSchedule): - def __init__(self, optimizer, lr, warmup_updates): - self.optimizer = optimizer - self.constant_lr = self.lr = lr - self.warmup_updates = warmup_updates - for param_group in optimizer.param_groups: - param_group['lr'] = self.lr - self.step(0) - - def step(self, num_updates): - constant_lr = self.constant_lr - warmup = min(num_updates / self.warmup_updates, 1.0) - self.lr = max(constant_lr * warmup, 1e-7) - for param_group in self.optimizer.param_groups: - param_group['lr'] = self.lr - return self.lr - - -class CosineSchedule(NoneSchedule): - def __init__(self, optimizer, lr, warmup_updates, total_updates): - self.optimizer = optimizer - self.constant_lr = lr - self.warmup_updates = warmup_updates - self.total_updates = total_updates - self.lr = lr - self.assign_learning_rate(self.optimizer, self.lr) - self.step(0) - - def assign_learning_rate(self, optimizer, new_lr): - for param_group in optimizer.param_groups: - param_group["lr"] = new_lr - - def _warmup_lr(self, base_lr, warmup_length, step): - return base_lr * (step + 1) / warmup_length - - def step(self, num_updates): - if num_updates < self.warmup_updates: - lr = self._warmup_lr(self.lr, self.warmup_updates, num_updates) - else: - e = num_updates - self.warmup_updates - es = self.total_updates - self.warmup_updates - lr = 0.5 * (1 + np.cos(np.pi * e / es)) * self.lr - self.assign_learning_rate(self.optimizer, lr) - return lr - - -if __name__ == '__main__': - import numpy as np - import matplotlib.pyplot as plt - import torch - - def plot_scheduler(scheduler, label=None): - y = np.array([scheduler.step(x) for x in range(0,160000, 10)]) - x = np.arange(0,160000, 10) - plt.plot(x, y, label=label) - - dummy_model = torch.nn.Linear(10,10) - dummy_optimizer = torch.optim.Adam(dummy_model.parameters()) - rsqrt = CosineSchedule(dummy_optimizer, lr=0.0005, warmup_updates=10000, total_updates=160000) - plot_scheduler(rsqrt, "8000") - plt.savefig("0.png") diff --git a/spaces/AbelKidane/headdetector/README.md b/spaces/AbelKidane/headdetector/README.md deleted file mode 100644 index 0c870719982a1ba94bc28c964b1750e4f19304ef..0000000000000000000000000000000000000000 --- a/spaces/AbelKidane/headdetector/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Headdetector -emoji: 🏆 -colorFrom: blue -colorTo: green -sdk: streamlit -sdk_version: 1.25.0 -app_file: app.py -pinned: false -license: mit ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference diff --git a/spaces/Adapter/T2I-Adapter/ldm/modules/extra_condition/midas/api.py b/spaces/Adapter/T2I-Adapter/ldm/modules/extra_condition/midas/api.py deleted file mode 100644 index 9a6e194545c40ec263e65a140678b53a5a2abd54..0000000000000000000000000000000000000000 --- a/spaces/Adapter/T2I-Adapter/ldm/modules/extra_condition/midas/api.py +++ /dev/null @@ -1,175 +0,0 @@ -# based on https://github.com/isl-org/MiDaS -import os - -import cv2 -import torch -import torch.nn as nn -from torchvision.transforms import Compose - -from ldm.modules.extra_condition.midas.midas.dpt_depth import DPTDepthModel -from ldm.modules.extra_condition.midas.midas.midas_net import MidasNet -from ldm.modules.extra_condition.midas.midas.midas_net_custom import MidasNet_small -from ldm.modules.extra_condition.midas.midas.transforms import Resize, NormalizeImage, PrepareForNet - - -ISL_PATHS = { - "dpt_large": "models/dpt_large-midas-2f21e586.pt", - "dpt_hybrid": "models/dpt_hybrid-midas-501f0c75.pt", - "midas_v21": "", - "midas_v21_small": "", -} - -remote_model_path = "https://github.com/intel-isl/DPT/releases/download/1_0/dpt_hybrid-midas-501f0c75.pt" - -def disabled_train(self, mode=True): - """Overwrite model.train with this function to make sure train/eval mode - does not change anymore.""" - return self - - -def load_midas_transform(model_type): - # https://github.com/isl-org/MiDaS/blob/master/run.py - # load transform only - if model_type == "dpt_large": # DPT-Large - net_w, net_h = 384, 384 - resize_mode = "minimal" - normalization = NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) - - elif model_type == "dpt_hybrid": # DPT-Hybrid - net_w, net_h = 384, 384 - resize_mode = "minimal" - normalization = NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) - - elif model_type == "midas_v21": - net_w, net_h = 384, 384 - resize_mode = "upper_bound" - normalization = NormalizeImage(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) - - elif model_type == "midas_v21_small": - net_w, net_h = 256, 256 - resize_mode = "upper_bound" - normalization = NormalizeImage(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) - - else: - assert False, f"model_type '{model_type}' not implemented, use: --model_type large" - - transform = Compose( - [ - Resize( - net_w, - net_h, - resize_target=None, - keep_aspect_ratio=True, - ensure_multiple_of=32, - resize_method=resize_mode, - image_interpolation_method=cv2.INTER_CUBIC, - ), - normalization, - PrepareForNet(), - ] - ) - - return transform - - -def load_model(model_type): - # https://github.com/isl-org/MiDaS/blob/master/run.py - # load network - model_path = ISL_PATHS[model_type] - if model_type == "dpt_large": # DPT-Large - model = DPTDepthModel( - path=model_path, - backbone="vitl16_384", - non_negative=True, - ) - net_w, net_h = 384, 384 - resize_mode = "minimal" - normalization = NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) - - elif model_type == "dpt_hybrid": # DPT-Hybrid - if not os.path.exists(model_path): - from basicsr.utils.download_util import load_file_from_url - load_file_from_url(remote_model_path, model_dir='models') - - model = DPTDepthModel( - path=model_path, - backbone="vitb_rn50_384", - non_negative=True, - ) - net_w, net_h = 384, 384 - resize_mode = "minimal" - normalization = NormalizeImage(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) - - elif model_type == "midas_v21": - model = MidasNet(model_path, non_negative=True) - net_w, net_h = 384, 384 - resize_mode = "upper_bound" - normalization = NormalizeImage( - mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225] - ) - - elif model_type == "midas_v21_small": - model = MidasNet_small(model_path, features=64, backbone="efficientnet_lite3", exportable=True, - non_negative=True, blocks={'expand': True}) - net_w, net_h = 256, 256 - resize_mode = "upper_bound" - normalization = NormalizeImage( - mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225] - ) - - else: - print(f"model_type '{model_type}' not implemented, use: --model_type large") - assert False - - transform = Compose( - [ - Resize( - net_w, - net_h, - resize_target=None, - keep_aspect_ratio=True, - ensure_multiple_of=32, - resize_method=resize_mode, - image_interpolation_method=cv2.INTER_CUBIC, - ), - normalization, - PrepareForNet(), - ] - ) - - return model.eval(), transform - - -class MiDaSInference(nn.Module): - MODEL_TYPES_TORCH_HUB = [ - "DPT_Large", - "DPT_Hybrid", - "MiDaS_small" - ] - MODEL_TYPES_ISL = [ - "dpt_large", - "dpt_hybrid", - "midas_v21", - "midas_v21_small", - ] - - def __init__(self, model_type): - super().__init__() - assert (model_type in self.MODEL_TYPES_ISL) - model, _ = load_model(model_type) - self.model = model - self.model.train = disabled_train - - def forward(self, x): - # x in 0..1 as produced by calling self.transform on a 0..1 float64 numpy array - # NOTE: we expect that the correct transform has been called during dataloading. - with torch.no_grad(): - prediction = self.model(x) - prediction = torch.nn.functional.interpolate( - prediction.unsqueeze(1), - size=x.shape[2:], - mode="bicubic", - align_corners=False, - ) - assert prediction.shape == (x.shape[0], 1, x.shape[2], x.shape[3]) - return prediction diff --git a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/PushIntoBounds.js b/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/PushIntoBounds.js deleted file mode 100644 index e9b7fdf52e0b21a75161db9648a91da96d459e90..0000000000000000000000000000000000000000 --- a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/PushIntoBounds.js +++ /dev/null @@ -1,15 +0,0 @@ -import GetViewport from '../../../plugins/utils/system/GetViewport.js'; - -var PushIntoBounds = function (bounds) { - if (bounds === undefined) { - bounds = GetViewport(this.scene); - } - - this.left = Math.max(this.left, bounds.left); - this.right = Math.min(this.right, bounds.right); - this.top = Math.max(this.top, bounds.top); - this.bottom = Math.min(this.bottom, bounds.bottom); - return this; -} - -export default PushIntoBounds; \ No newline at end of file diff --git a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/overlapsizer/GetChildrenWidth.js b/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/overlapsizer/GetChildrenWidth.js deleted file mode 100644 index 06ea5bba98170a646a5bc3d6fc585d967a585771..0000000000000000000000000000000000000000 --- a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/overlapsizer/GetChildrenWidth.js +++ /dev/null @@ -1,19 +0,0 @@ -var GetChildrenWidth = function () { - if (this.rexSizer.hidden) { - return 0; - } - - var result = 0; - var children = this.sizerChildren; - var child, padding, childWidth; - for (var key in children) { - child = children[key]; - - padding = child.rexSizer.padding; - childWidth = this.getChildWidth(child) + padding.left + padding.right; - result = Math.max(childWidth, result); - } - return result + this.space.left + this.space.right; -} - -export default GetChildrenWidth; \ No newline at end of file diff --git a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/ExpandMethods.js b/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/ExpandMethods.js deleted file mode 100644 index e2e08c956a51cedfb6aa1f4e64bfdc4cf23c0765..0000000000000000000000000000000000000000 --- a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/ExpandMethods.js +++ /dev/null @@ -1,11 +0,0 @@ -export default { - getChildExpand(gameObject) { - return this.getSizerConfig(gameObject).expand; - }, - - setChildExpand(gameObject, expand) { - this.getSizerConfig(gameObject).expand = expand; - return this; - }, - -} \ No newline at end of file diff --git a/spaces/Al-Chan/Vits_League_of_Legends_Yuumi_TTS/text/symbols.py b/spaces/Al-Chan/Vits_League_of_Legends_Yuumi_TTS/text/symbols.py deleted file mode 100644 index 789e9df25d3d93d1976ef22d15d77f51d170ed00..0000000000000000000000000000000000000000 --- a/spaces/Al-Chan/Vits_League_of_Legends_Yuumi_TTS/text/symbols.py +++ /dev/null @@ -1,76 +0,0 @@ -''' -Defines the set of symbols used in text input to the model. -''' - -# japanese_cleaners -# _pad = '_' -# _punctuation = ',.!?-' -# _letters = 'AEINOQUabdefghijkmnoprstuvwyzʃʧ↓↑ ' - - -'''# japanese_cleaners2 -_pad = '_' -_punctuation = ',.!?-~…' -_letters = 'AEINOQUabdefghijkmnoprstuvwyzʃʧʦ↓↑ ' -''' - - -'''# korean_cleaners -_pad = '_' -_punctuation = ',.!?…~' -_letters = 'ㄱㄴㄷㄹㅁㅂㅅㅇㅈㅊㅋㅌㅍㅎㄲㄸㅃㅆㅉㅏㅓㅗㅜㅡㅣㅐㅔ ' -''' - -'''# chinese_cleaners -_pad = '_' -_punctuation = ',。!?—…' -_letters = 'ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩˉˊˇˋ˙ ' -''' - -# # zh_ja_mixture_cleaners -# _pad = '_' -# _punctuation = ',.!?-~…' -# _letters = 'AEINOQUabdefghijklmnoprstuvwyzʃʧʦɯɹəɥ⁼ʰ`→↓↑ ' - - -'''# sanskrit_cleaners -_pad = '_' -_punctuation = '।' -_letters = 'ँंःअआइईउऊऋएऐओऔकखगघङचछजझञटठडढणतथदधनपफबभमयरलळवशषसहऽािीुूृॄेैोौ्ॠॢ ' -''' - -'''# cjks_cleaners -_pad = '_' -_punctuation = ',.!?-~…' -_letters = 'NQabdefghijklmnopstuvwxyzʃʧʥʦɯɹəɥçɸɾβŋɦː⁼ʰ`^#*=→↓↑ ' -''' - -'''# thai_cleaners -_pad = '_' -_punctuation = '.!? ' -_letters = 'กขฃคฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลวศษสหฬอฮฯะัาำิีึืุูเแโใไๅๆ็่้๊๋์' -''' - -# # cjke_cleaners2 -_pad = '_' -_punctuation = ',.!?-~…' -_letters = 'NQabdefghijklmnopstuvwxyzɑæʃʑçɯɪɔɛɹðəɫɥɸʊɾʒθβŋɦ⁼ʰ`^#*=ˈˌ→↓↑ ' - - -'''# shanghainese_cleaners -_pad = '_' -_punctuation = ',.!?…' -_letters = 'abdfghiklmnopstuvyzøŋȵɑɔɕəɤɦɪɿʑʔʰ̩̃ᴀᴇ15678 ' -''' - -'''# chinese_dialect_cleaners -_pad = '_' -_punctuation = ',.!?~…─' -_letters = '#Nabdefghijklmnoprstuvwxyzæçøŋœȵɐɑɒɓɔɕɗɘəɚɛɜɣɤɦɪɭɯɵɷɸɻɾɿʂʅʊʋʌʏʑʔʦʮʰʷˀː˥˦˧˨˩̥̩̃̚ᴀᴇ↑↓∅ⱼ ' -''' - -# Export all symbols: -symbols = [_pad] + list(_punctuation) + list(_letters) - -# Special symbol ids -SPACE_ID = symbols.index(" ") diff --git a/spaces/AlbertoFH98/CastenaApp/utils.py b/spaces/AlbertoFH98/CastenaApp/utils.py deleted file mode 100644 index 2016c51fc064eb4ae5002c848665660368844a63..0000000000000000000000000000000000000000 --- a/spaces/AlbertoFH98/CastenaApp/utils.py +++ /dev/null @@ -1,291 +0,0 @@ -# -- Utils .py file -# -- Libraries -from typing import Any, Dict, List, Mapping, Optional -from pydantic import Extra, Field, root_validator -from langchain.llms.base import LLM -from langchain.utils import get_from_dict_or_env -from langchain.vectorstores import Chroma -from langchain.text_splitter import RecursiveCharacterTextSplitter -from langchain.chains import RetrievalQA -from langchain.document_loaders import TextLoader -from langchain.embeddings import HuggingFaceEmbeddings -from googletrans import Translator -import streamlit as st -import together -import textwrap -import spacy -import os -import re - -os.environ["TOGETHER_API_KEY"] = "6101599d6e33e3bda336b8d007ca22e35a64c72cfd52c2d8197f663389fc50c5" - -# -- LLM class -class TogetherLLM(LLM): - """Together large language models.""" - - model: str = "togethercomputer/llama-2-70b-chat" - """model endpoint to use""" - - together_api_key: str = os.environ["TOGETHER_API_KEY"] - """Together API key""" - - temperature: float = 0.7 - """What sampling temperature to use.""" - - max_tokens: int = 512 - """The maximum number of tokens to generate in the completion.""" - - class Config: - extra = Extra.forbid - - @root_validator() - def validate_environment(cls, values: Dict) -> Dict: - """Validate that the API key is set.""" - api_key = get_from_dict_or_env( - values, "together_api_key", "TOGETHER_API_KEY" - ) - values["together_api_key"] = api_key - return values - - @property - def _llm_type(self) -> str: - """Return type of LLM.""" - return "together" - - def clean_duplicates(self, transcription: str) -> str: - lines = transcription.strip().split('\n') - - new_transcription = [] - - for linea in lines: - if linea.replace('CONTEXT:/n/n ', '').replace('/n', '') not in new_transcription and linea != '': - new_transcription.append(linea.replace('CONTEXT:/n/n ', '').replace('/n', '')) - # Create new transcription without duplicates - new_transcription = '\n\n'.join(new_transcription).replace("""<> - """, """<> - CONTEXT: """) - return new_transcription - - def _call( - self, - prompt: str, - **kwargs: Any, - ) -> str: - """Call to Together endpoint.""" - together.api_key = self.together_api_key - output = together.Complete.create(prompt, - model=self.model, - max_tokens=self.max_tokens, - temperature=self.temperature, - ) - text = output['output']['choices'][0]['text'] - cleaned_text = self.clean_duplicates(text) - return cleaned_text - - -# -- Python function to setup basic features: translator, SpaCy pipeline and LLM model -@st.cache_resource -def setup_app(transcription_path, emb_model, model, _logger): - # -- Setup enviroment and features - translator = Translator(service_urls=['translate.googleapis.com']) - nlp = spacy.load('es_core_news_lg') - - _logger.info('Setup environment and features...') - - # -- Setup LLM - together.api_key = os.environ["TOGETHER_API_KEY"] - # List available models and descriptons - models = together.Models.list() - # Set llama2 7b LLM - together.Models.start(model) - _logger.info('Setup environment and features - FINISHED!') - - # -- Read translated transcription - _logger.info('Loading transcription...') - loader = TextLoader(transcription_path) - documents = loader.load() - # Splitting the text into chunks - text_splitter = RecursiveCharacterTextSplitter(chunk_size=1500, chunk_overlap=100) - texts = text_splitter.split_documents(documents) - _logger.info('Loading transcription - FINISHED!') - - # -- Load embedding - _logger.info('Loading embedding...') - encode_kwargs = {'normalize_embeddings': True} # set True to compute cosine similarity - model_norm = HuggingFaceEmbeddings( - model_name=emb_model, - model_kwargs={'device': 'cpu'}, - encode_kwargs=encode_kwargs - ) - _logger.info('Loading embedding - FINISHED!') - - # -- Create document database - _logger.info('Creating document database...') - # Embed and store the texts - # Supplying a persist_directory will store the embeddings on disk - persist_directory = 'db' - ## Here is the nmew embeddings being used - embedding = model_norm - - vectordb = Chroma.from_documents(documents=texts, - embedding=embedding, - persist_directory=persist_directory) - - # -- Make a retreiver - retriever = vectordb.as_retriever(search_type="similarity_score_threshold", - search_kwargs={"k": 5, "score_threshold": 0.5}) - _logger.info('Creating document database - FINISHED!') - _logger.info('Setup finished!') - return translator, nlp, retriever - -# -- Function to get prompt template -def get_prompt(instruction, system_prompt, b_sys, e_sys, b_inst, e_inst, _logger): - new_system_prompt = b_sys + system_prompt + e_sys - prompt_template = b_inst + new_system_prompt + instruction + e_inst - _logger.info('Prompt template created: {}'.format(instruction)) - return prompt_template - -# -- Function to create the chain to answer questions -@st.cache_resource -def create_llm_chain(model, _retriever, _chain_type_kwargs, _logger): - _logger.info('Creating LLM chain...') - llm = TogetherLLM( - model= model, - temperature = 0.0, - max_tokens = 1024 - ) - qa_chain = RetrievalQA.from_chain_type(llm=llm, - chain_type="stuff", - retriever=_retriever, - chain_type_kwargs=_chain_type_kwargs, - return_source_documents=True) - _logger.info('Creating LLM chain - FINISHED!') - return qa_chain - -# ------------------------------------------- -# -- Auxiliar functions -def translate_text(text, nlp, target_lang='en'): - # Traducir el texto sin los nombres propios - translator = Translator() - # Tokenizar el texto y encontrar nombres propios - doc = nlp(text) - named_entities = [ent.text for ent in doc if ent.pos_ == 'PROPN' and ent.dep_ in ['NNP', 'NN']] - named_entities_list = [] - # Reemplazar los nombres propios con marcadores temporales - for entity in named_entities: - text = text.replace(entity, f'__{entity}__') - named_entities_list.append(entity) - - translated_text = translator.translate(text, dest=target_lang).text - final_translated_text = [] - - i = 0 - for text in translated_text.split(' '): - if '__' in text and len(named_entities_list): - final_translated_text.append(named_entities_list[i]) - i+=1 - else: - final_translated_text.append(text) - return ' '.join(final_translated_text) - -def wrap_text_preserve_newlines(text, width=110): - # Split the input text into lines based on newline characters - lines = text.split('\n') - - # Wrap each line individually - wrapped_lines = [textwrap.fill(line, width=width) for line in lines] - - # Join the wrapped lines back together using newline characters - wrapped_text = '\n'.join(wrapped_lines) - - return wrapped_text - -def process_llm_response(llm_response, nlp): - response = llm_response['result'] - return wrap_text_preserve_newlines(translate_text(response, nlp, target_lang='es')) - - -def time_to_seconds(time_str): - parts = time_str.split(':') - hours, minutes, seconds = map(float, parts) - return int((hours * 3600) + (minutes * 60) + seconds) - -def add_hyperlink_and_convert_to_seconds(text): - time_pattern = r'(\d{2}:\d{2}:\d{2}(.\d{6})?)' - - def replace_with_hyperlink(match): - time_str = match.group(1) - seconds = time_to_seconds(time_str) - link = f'' - return link - - modified_text = re.sub(time_pattern, replace_with_hyperlink, text) - return modified_text - -# -- Streamlit HTML template -def typewrite(text, youtube_video_url): - js = """var player, seconds = 0; - function onYouTubeIframeAPIReady() { - console.log("player"); - player = new YT.Player('player', { - events: { - 'onReady': onPlayerReady - } - }); - } - - function onPlayerReady(event) { - event.target.playVideo(); - } - - - function seek(sec){ - if(player){ - player.seekTo(sec, true); - } - } - """ - - css = """ - .button { - background-color: transparent; - font-family: "Tahoma sans-serif;", monospace; - color: red; - font-weight: bold; - border: none; - text-align: center; - text-decoration: none; - display: inline-block; - font-size: 16px; - cursor: pointer; - } - body { - color: white; - font-family: "Tahoma sans-serif;", monospace; - font-weight: 450; - } - """ - - html = f""" - - - - Modificar iframe - - - - -

    {text}

    -
    -

    - -

    - - - - """ - return html \ No newline at end of file diff --git a/spaces/AlexWang/lama/fetch_data/places_challenge_train_download.sh b/spaces/AlexWang/lama/fetch_data/places_challenge_train_download.sh deleted file mode 100644 index f5317b44d16a2f295a56a52d1ce005605a137be7..0000000000000000000000000000000000000000 --- a/spaces/AlexWang/lama/fetch_data/places_challenge_train_download.sh +++ /dev/null @@ -1,14 +0,0 @@ -mkdir places_challenge_dataset - - -declare -a TARPARTS -for i in {a..z} -do - TARPARTS[${#TARPARTS[@]}]="http://data.csail.mit.edu/places/places365/train_large_split/${i}.tar" -done -ls -printf "%s\n" "${TARPARTS[@]}" > places_challenge_dataset/places365_train.txt - -cd places_challenge_dataset/ -xargs -a places365_train.txt -n 1 -P 8 wget [...] -ls *.tar | xargs -i tar xvf {} diff --git "a/spaces/Amon1/ChatGPTForAcadamic/crazy_functions/\344\273\243\347\240\201\351\207\215\345\206\231\344\270\272\345\205\250\350\213\261\346\226\207_\345\244\232\347\272\277\347\250\213.py" "b/spaces/Amon1/ChatGPTForAcadamic/crazy_functions/\344\273\243\347\240\201\351\207\215\345\206\231\344\270\272\345\205\250\350\213\261\346\226\207_\345\244\232\347\272\277\347\250\213.py" deleted file mode 100644 index 6c6b1c71bcf53dd2b5c85ba3c38becaaac3f41a7..0000000000000000000000000000000000000000 --- "a/spaces/Amon1/ChatGPTForAcadamic/crazy_functions/\344\273\243\347\240\201\351\207\215\345\206\231\344\270\272\345\205\250\350\213\261\346\226\207_\345\244\232\347\272\277\347\250\213.py" +++ /dev/null @@ -1,75 +0,0 @@ -import threading -from predict import predict_no_ui_long_connection -from toolbox import CatchException, write_results_to_file - - - -@CatchException -def 全项目切换英文(txt, top_p, temperature, chatbot, history, sys_prompt, WEB_PORT): - history = [] # 清空历史,以免输入溢出 - # 集合文件 - import time, glob, os - os.makedirs('gpt_log/generated_english_version', exist_ok=True) - os.makedirs('gpt_log/generated_english_version/crazy_functions', exist_ok=True) - file_manifest = [f for f in glob.glob('./*.py') if ('test_project' not in f) and ('gpt_log' not in f)] + \ - [f for f in glob.glob('./crazy_functions/*.py') if ('test_project' not in f) and ('gpt_log' not in f)] - i_say_show_user_buffer = [] - - # 随便显示点什么防止卡顿的感觉 - for index, fp in enumerate(file_manifest): - # if 'test_project' in fp: continue - with open(fp, 'r', encoding='utf-8') as f: - file_content = f.read() - i_say_show_user =f'[{index}/{len(file_manifest)}] 接下来请将以下代码中包含的所有中文转化为英文,只输出代码: {os.path.abspath(fp)}' - i_say_show_user_buffer.append(i_say_show_user) - chatbot.append((i_say_show_user, "[Local Message] 等待多线程操作,中间过程不予显示.")) - yield chatbot, history, '正常' - - # 任务函数 - mutable_return = [None for _ in file_manifest] - def thread_worker(fp,index): - with open(fp, 'r', encoding='utf-8') as f: - file_content = f.read() - i_say = f'接下来请将以下代码中包含的所有中文转化为英文,只输出代码,文件名是{fp},文件代码是 ```{file_content}```' - # ** gpt request ** - gpt_say = predict_no_ui_long_connection(inputs=i_say, top_p=top_p, temperature=temperature, history=history, sys_prompt=sys_prompt) - mutable_return[index] = gpt_say - - # 所有线程同时开始执行任务函数 - handles = [threading.Thread(target=thread_worker, args=(fp,index)) for index, fp in enumerate(file_manifest)] - for h in handles: - h.daemon = True - h.start() - chatbot.append(('开始了吗?', f'多线程操作已经开始')) - yield chatbot, history, '正常' - - # 循环轮询各个线程是否执行完毕 - cnt = 0 - while True: - time.sleep(1) - th_alive = [h.is_alive() for h in handles] - if not any(th_alive): break - stat = ['执行中' if alive else '已完成' for alive in th_alive] - stat_str = '|'.join(stat) - cnt += 1 - chatbot[-1] = (chatbot[-1][0], f'多线程操作已经开始,完成情况: {stat_str}' + ''.join(['.']*(cnt%4))) - yield chatbot, history, '正常' - - # 把结果写入文件 - for index, h in enumerate(handles): - h.join() # 这里其实不需要join了,肯定已经都结束了 - fp = file_manifest[index] - gpt_say = mutable_return[index] - i_say_show_user = i_say_show_user_buffer[index] - - where_to_relocate = f'gpt_log/generated_english_version/{fp}' - with open(where_to_relocate, 'w+', encoding='utf-8') as f: f.write(gpt_say.lstrip('```').rstrip('```')) - chatbot.append((i_say_show_user, f'[Local Message] 已完成{os.path.abspath(fp)}的转化,\n\n存入{os.path.abspath(where_to_relocate)}')) - history.append(i_say_show_user); history.append(gpt_say) - yield chatbot, history, '正常' - time.sleep(1) - - # 备份一个文件 - res = write_results_to_file(history) - chatbot.append(("生成一份任务执行报告", res)) - yield chatbot, history, '正常' diff --git a/spaces/Andy1621/uniformer_image_detection/mmdet/models/backbones/__init__.py b/spaces/Andy1621/uniformer_image_detection/mmdet/models/backbones/__init__.py deleted file mode 100644 index e54b088acf644d285ecbeb1440c414e722b9db58..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_detection/mmdet/models/backbones/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -from .darknet import Darknet -from .detectors_resnet import DetectoRS_ResNet -from .detectors_resnext import DetectoRS_ResNeXt -from .hourglass import HourglassNet -from .hrnet import HRNet -from .regnet import RegNet -from .res2net import Res2Net -from .resnest import ResNeSt -from .resnet import ResNet, ResNetV1d -from .resnext import ResNeXt -from .ssd_vgg import SSDVGG -from .trident_resnet import TridentResNet -from .swin_transformer import SwinTransformer -from .uniformer import UniFormer - -__all__ = [ - 'RegNet', 'ResNet', 'ResNetV1d', 'ResNeXt', 'SSDVGG', 'HRNet', 'Res2Net', - 'HourglassNet', 'DetectoRS_ResNet', 'DetectoRS_ResNeXt', 'Darknet', - 'ResNeSt', 'TridentResNet', 'SwinTransformer', 'UniFormer' -] diff --git a/spaces/Andy1621/uniformer_image_detection/mmdet/models/roi_heads/trident_roi_head.py b/spaces/Andy1621/uniformer_image_detection/mmdet/models/roi_heads/trident_roi_head.py deleted file mode 100644 index 245569e50b45cc8e21ba8e7210edf4bd0c7f27c5..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_detection/mmdet/models/roi_heads/trident_roi_head.py +++ /dev/null @@ -1,119 +0,0 @@ -import torch -from mmcv.ops import batched_nms - -from mmdet.core import (bbox2result, bbox2roi, bbox_mapping, merge_aug_bboxes, - multiclass_nms) -from mmdet.models.roi_heads.standard_roi_head import StandardRoIHead -from ..builder import HEADS - - -@HEADS.register_module() -class TridentRoIHead(StandardRoIHead): - """Trident roi head. - - Args: - num_branch (int): Number of branches in TridentNet. - test_branch_idx (int): In inference, all 3 branches will be used - if `test_branch_idx==-1`, otherwise only branch with index - `test_branch_idx` will be used. - """ - - def __init__(self, num_branch, test_branch_idx, **kwargs): - self.num_branch = num_branch - self.test_branch_idx = test_branch_idx - super(TridentRoIHead, self).__init__(**kwargs) - - def merge_trident_bboxes(self, trident_det_bboxes, trident_det_labels): - """Merge bbox predictions of each branch.""" - if trident_det_bboxes.numel() == 0: - det_bboxes = trident_det_bboxes.new_zeros((0, 5)) - det_labels = trident_det_bboxes.new_zeros((0, ), dtype=torch.long) - else: - nms_bboxes = trident_det_bboxes[:, :4] - nms_scores = trident_det_bboxes[:, 4].contiguous() - nms_inds = trident_det_labels - nms_cfg = self.test_cfg['nms'] - det_bboxes, keep = batched_nms(nms_bboxes, nms_scores, nms_inds, - nms_cfg) - det_labels = trident_det_labels[keep] - if self.test_cfg['max_per_img'] > 0: - det_labels = det_labels[:self.test_cfg['max_per_img']] - det_bboxes = det_bboxes[:self.test_cfg['max_per_img']] - - return det_bboxes, det_labels - - def simple_test(self, - x, - proposal_list, - img_metas, - proposals=None, - rescale=False): - """Test without augmentation as follows: - - 1. Compute prediction bbox and label per branch. - 2. Merge predictions of each branch according to scores of - bboxes, i.e., bboxes with higher score are kept to give - top-k prediction. - """ - assert self.with_bbox, 'Bbox head must be implemented.' - det_bboxes_list, det_labels_list = self.simple_test_bboxes( - x, img_metas, proposal_list, self.test_cfg, rescale=rescale) - num_branch = self.num_branch if self.test_branch_idx == -1 else 1 - for _ in range(len(det_bboxes_list)): - if det_bboxes_list[_].shape[0] == 0: - det_bboxes_list[_] = det_bboxes_list[_].new_empty((0, 5)) - det_bboxes, det_labels = [], [] - for i in range(len(img_metas) // num_branch): - det_result = self.merge_trident_bboxes( - torch.cat(det_bboxes_list[i * num_branch:(i + 1) * - num_branch]), - torch.cat(det_labels_list[i * num_branch:(i + 1) * - num_branch])) - det_bboxes.append(det_result[0]) - det_labels.append(det_result[1]) - - bbox_results = [ - bbox2result(det_bboxes[i], det_labels[i], - self.bbox_head.num_classes) - for i in range(len(det_bboxes)) - ] - return bbox_results - - def aug_test_bboxes(self, feats, img_metas, proposal_list, rcnn_test_cfg): - """Test det bboxes with test time augmentation.""" - aug_bboxes = [] - aug_scores = [] - for x, img_meta in zip(feats, img_metas): - # only one image in the batch - img_shape = img_meta[0]['img_shape'] - scale_factor = img_meta[0]['scale_factor'] - flip = img_meta[0]['flip'] - flip_direction = img_meta[0]['flip_direction'] - - trident_bboxes, trident_scores = [], [] - for branch_idx in range(len(proposal_list)): - proposals = bbox_mapping(proposal_list[0][:, :4], img_shape, - scale_factor, flip, flip_direction) - rois = bbox2roi([proposals]) - bbox_results = self._bbox_forward(x, rois) - bboxes, scores = self.bbox_head.get_bboxes( - rois, - bbox_results['cls_score'], - bbox_results['bbox_pred'], - img_shape, - scale_factor, - rescale=False, - cfg=None) - trident_bboxes.append(bboxes) - trident_scores.append(scores) - - aug_bboxes.append(torch.cat(trident_bboxes, 0)) - aug_scores.append(torch.cat(trident_scores, 0)) - # after merging, bboxes will be rescaled to the original image size - merged_bboxes, merged_scores = merge_aug_bboxes( - aug_bboxes, aug_scores, img_metas, rcnn_test_cfg) - det_bboxes, det_labels = multiclass_nms(merged_bboxes, merged_scores, - rcnn_test_cfg.score_thr, - rcnn_test_cfg.nms, - rcnn_test_cfg.max_per_img) - return det_bboxes, det_labels diff --git a/spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101-d8_512x512_40k_voc12aug.py b/spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101-d8_512x512_40k_voc12aug.py deleted file mode 100644 index 3caa6cf8ae61d467628378d99a919c9db1253b91..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_segmentation/configs/deeplabv3plus/deeplabv3plus_r101-d8_512x512_40k_voc12aug.py +++ /dev/null @@ -1,2 +0,0 @@ -_base_ = './deeplabv3plus_r50-d8_512x512_40k_voc12aug.py' -model = dict(pretrained='open-mmlab://resnet101_v1c', backbone=dict(depth=101)) diff --git a/spaces/AnishKumbhar/ChatBot/text-generation-webui-main/cmd_windows.bat b/spaces/AnishKumbhar/ChatBot/text-generation-webui-main/cmd_windows.bat deleted file mode 100644 index 531a326158e9e169657051b0e76bdfad17c4b238..0000000000000000000000000000000000000000 --- a/spaces/AnishKumbhar/ChatBot/text-generation-webui-main/cmd_windows.bat +++ /dev/null @@ -1,34 +0,0 @@ -@echo off - -cd /D "%~dp0" - -set PATH=%PATH%;%SystemRoot%\system32 - -echo "%CD%"| findstr /C:" " >nul && echo This script relies on Miniconda which can not be silently installed under a path with spaces. && goto end - -@rem fix failed install when installing to a separate drive -set TMP=%cd%\installer_files -set TEMP=%cd%\installer_files - -@rem deactivate existing conda envs as needed to avoid conflicts -(call conda deactivate && call conda deactivate && call conda deactivate) 2>nul - -@rem config -set CONDA_ROOT_PREFIX=%cd%\installer_files\conda -set INSTALL_ENV_DIR=%cd%\installer_files\env - -@rem environment isolation -set PYTHONNOUSERSITE=1 -set PYTHONPATH= -set PYTHONHOME= -set "CUDA_PATH=%INSTALL_ENV_DIR%" -set "CUDA_HOME=%CUDA_PATH%" - -@rem activate installer env -call "%CONDA_ROOT_PREFIX%\condabin\conda.bat" activate "%INSTALL_ENV_DIR%" || ( echo. && echo Miniconda hook not found. && goto end ) - -@rem enter commands -cmd /k "%*" - -:end -pause diff --git a/spaces/Anustup/NS_AI_LABS/cli.py b/spaces/Anustup/NS_AI_LABS/cli.py deleted file mode 100644 index f2f16af9c425cb501bcf088df39e95c60621ce9c..0000000000000000000000000000000000000000 --- a/spaces/Anustup/NS_AI_LABS/cli.py +++ /dev/null @@ -1,109 +0,0 @@ -import argparse -import os -from urllib.parse import urlparse -import warnings -import numpy as np - -import whisper - -import torch -from app import LANGUAGES, WhisperTranscriber -from src.download import download_url - -from src.utils import optional_float, optional_int, str2bool - - -def cli(): - parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) - parser.add_argument("audio", nargs="+", type=str, help="audio file(s) to transcribe") - parser.add_argument("--model", default="small", choices=["tiny", "base", "small", "medium", "large"], help="name of the Whisper model to use") - parser.add_argument("--model_dir", type=str, default=None, help="the path to save model files; uses ~/.cache/whisper by default") - parser.add_argument("--device", default="cuda" if torch.cuda.is_available() else "cpu", help="device to use for PyTorch inference") - parser.add_argument("--output_dir", "-o", type=str, default=".", help="directory to save the outputs") - parser.add_argument("--verbose", type=str2bool, default=True, help="whether to print out the progress and debug messages") - - parser.add_argument("--task", type=str, default="transcribe", choices=["transcribe", "translate"], help="whether to perform X->X speech recognition ('transcribe') or X->English translation ('translate')") - parser.add_argument("--language", type=str, default=None, choices=sorted(LANGUAGES), help="language spoken in the audio, specify None to perform language detection") - - parser.add_argument("--vad", type=str, default="none", choices=["none", "silero-vad", "silero-vad-skip-gaps", "silero-vad-expand-into-gaps", "periodic-vad"], help="The voice activity detection algorithm to use") - parser.add_argument("--vad_merge_window", type=optional_float, default=5, help="The window size (in seconds) to merge voice segments") - parser.add_argument("--vad_max_merge_size", type=optional_float, default=30, help="The maximum size (in seconds) of a voice segment") - parser.add_argument("--vad_padding", type=optional_float, default=1, help="The padding (in seconds) to add to each voice segment") - parser.add_argument("--vad_prompt_window", type=optional_float, default=3, help="The window size of the prompt to pass to Whisper") - - parser.add_argument("--temperature", type=float, default=0, help="temperature to use for sampling") - parser.add_argument("--best_of", type=optional_int, default=5, help="number of candidates when sampling with non-zero temperature") - parser.add_argument("--beam_size", type=optional_int, default=5, help="number of beams in beam search, only applicable when temperature is zero") - parser.add_argument("--patience", type=float, default=None, help="optional patience value to use in beam decoding, as in https://arxiv.org/abs/2204.05424, the default (1.0) is equivalent to conventional beam search") - parser.add_argument("--length_penalty", type=float, default=None, help="optional token length penalty coefficient (alpha) as in https://arxiv.org/abs/1609.08144, uses simple lengt normalization by default") - - parser.add_argument("--suppress_tokens", type=str, default="-1", help="comma-separated list of token ids to suppress during sampling; '-1' will suppress most special characters except common punctuations") - parser.add_argument("--initial_prompt", type=str, default=None, help="optional text to provide as a prompt for the first window.") - parser.add_argument("--condition_on_previous_text", type=str2bool, default=True, help="if True, provide the previous output of the model as a prompt for the next window; disabling may make the text inconsistent across windows, but the model becomes less prone to getting stuck in a failure loop") - parser.add_argument("--fp16", type=str2bool, default=True, help="whether to perform inference in fp16; True by default") - - parser.add_argument("--temperature_increment_on_fallback", type=optional_float, default=0.2, help="temperature to increase when falling back when the decoding fails to meet either of the thresholds below") - parser.add_argument("--compression_ratio_threshold", type=optional_float, default=2.4, help="if the gzip compression ratio is higher than this value, treat the decoding as failed") - parser.add_argument("--logprob_threshold", type=optional_float, default=-1.0, help="if the average log probability is lower than this value, treat the decoding as failed") - parser.add_argument("--no_speech_threshold", type=optional_float, default=0.6, help="if the probability of the <|nospeech|> token is higher than this value AND the decoding has failed due to `logprob_threshold`, consider the segment as silence") - - args = parser.parse_args().__dict__ - model_name: str = args.pop("model") - model_dir: str = args.pop("model_dir") - output_dir: str = args.pop("output_dir") - device: str = args.pop("device") - os.makedirs(output_dir, exist_ok=True) - - if model_name.endswith(".en") and args["language"] not in {"en", "English"}: - warnings.warn(f"{model_name} is an English-only model but receipted '{args['language']}'; using English instead.") - args["language"] = "en" - - temperature = args.pop("temperature") - temperature_increment_on_fallback = args.pop("temperature_increment_on_fallback") - if temperature_increment_on_fallback is not None: - temperature = tuple(np.arange(temperature, 1.0 + 1e-6, temperature_increment_on_fallback)) - else: - temperature = [temperature] - - vad = args.pop("vad") - vad_merge_window = args.pop("vad_merge_window") - vad_max_merge_size = args.pop("vad_max_merge_size") - vad_padding = args.pop("vad_padding") - vad_prompt_window = args.pop("vad_prompt_window") - - model = whisper.load_model(model_name, device=device, download_root=model_dir) - transcriber = WhisperTranscriber(deleteUploadedFiles=False) - - for audio_path in args.pop("audio"): - sources = [] - - # Detect URL and download the audio - if (uri_validator(audio_path)): - # Download from YouTube/URL directly - for source_path in download_url(audio_path, maxDuration=-1, destinationDirectory=output_dir, playlistItems=None): - source_name = os.path.basename(source_path) - sources.append({ "path": source_path, "name": source_name }) - else: - sources.append({ "path": audio_path, "name": os.path.basename(audio_path) }) - - for source in sources: - source_path = source["path"] - source_name = source["name"] - - result = transcriber.transcribe_file(model, source_path, temperature=temperature, - vad=vad, vadMergeWindow=vad_merge_window, vadMaxMergeSize=vad_max_merge_size, - vadPadding=vad_padding, vadPromptWindow=vad_prompt_window, **args) - - transcriber.write_result(result, source_name, output_dir) - - transcriber.clear_cache() - -def uri_validator(x): - try: - result = urlparse(x) - return all([result.scheme, result.netloc]) - except: - return False - -if __name__ == '__main__': - cli() \ No newline at end of file diff --git a/spaces/Apex-X/ROOPOK/roop/processors/__init__.py b/spaces/Apex-X/ROOPOK/roop/processors/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_internal/commands/index.py b/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_internal/commands/index.py deleted file mode 100644 index 7267effed2413ba315d0a1af8490ec677c227662..0000000000000000000000000000000000000000 --- a/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_internal/commands/index.py +++ /dev/null @@ -1,139 +0,0 @@ -import logging -from optparse import Values -from typing import Any, Iterable, List, Optional, Union - -from pip._vendor.packaging.version import LegacyVersion, Version - -from pip._internal.cli import cmdoptions -from pip._internal.cli.req_command import IndexGroupCommand -from pip._internal.cli.status_codes import ERROR, SUCCESS -from pip._internal.commands.search import print_dist_installation_info -from pip._internal.exceptions import CommandError, DistributionNotFound, PipError -from pip._internal.index.collector import LinkCollector -from pip._internal.index.package_finder import PackageFinder -from pip._internal.models.selection_prefs import SelectionPreferences -from pip._internal.models.target_python import TargetPython -from pip._internal.network.session import PipSession -from pip._internal.utils.misc import write_output - -logger = logging.getLogger(__name__) - - -class IndexCommand(IndexGroupCommand): - """ - Inspect information available from package indexes. - """ - - ignore_require_venv = True - usage = """ - %prog versions - """ - - def add_options(self) -> None: - cmdoptions.add_target_python_options(self.cmd_opts) - - self.cmd_opts.add_option(cmdoptions.ignore_requires_python()) - self.cmd_opts.add_option(cmdoptions.pre()) - self.cmd_opts.add_option(cmdoptions.no_binary()) - self.cmd_opts.add_option(cmdoptions.only_binary()) - - index_opts = cmdoptions.make_option_group( - cmdoptions.index_group, - self.parser, - ) - - self.parser.insert_option_group(0, index_opts) - self.parser.insert_option_group(0, self.cmd_opts) - - def run(self, options: Values, args: List[str]) -> int: - handlers = { - "versions": self.get_available_package_versions, - } - - logger.warning( - "pip index is currently an experimental command. " - "It may be removed/changed in a future release " - "without prior warning." - ) - - # Determine action - if not args or args[0] not in handlers: - logger.error( - "Need an action (%s) to perform.", - ", ".join(sorted(handlers)), - ) - return ERROR - - action = args[0] - - # Error handling happens here, not in the action-handlers. - try: - handlers[action](options, args[1:]) - except PipError as e: - logger.error(e.args[0]) - return ERROR - - return SUCCESS - - def _build_package_finder( - self, - options: Values, - session: PipSession, - target_python: Optional[TargetPython] = None, - ignore_requires_python: Optional[bool] = None, - ) -> PackageFinder: - """ - Create a package finder appropriate to the index command. - """ - link_collector = LinkCollector.create(session, options=options) - - # Pass allow_yanked=False to ignore yanked versions. - selection_prefs = SelectionPreferences( - allow_yanked=False, - allow_all_prereleases=options.pre, - ignore_requires_python=ignore_requires_python, - ) - - return PackageFinder.create( - link_collector=link_collector, - selection_prefs=selection_prefs, - target_python=target_python, - ) - - def get_available_package_versions(self, options: Values, args: List[Any]) -> None: - if len(args) != 1: - raise CommandError("You need to specify exactly one argument") - - target_python = cmdoptions.make_target_python(options) - query = args[0] - - with self._build_session(options) as session: - finder = self._build_package_finder( - options=options, - session=session, - target_python=target_python, - ignore_requires_python=options.ignore_requires_python, - ) - - versions: Iterable[Union[LegacyVersion, Version]] = ( - candidate.version for candidate in finder.find_all_candidates(query) - ) - - if not options.pre: - # Remove prereleases - versions = ( - version for version in versions if not version.is_prerelease - ) - versions = set(versions) - - if not versions: - raise DistributionNotFound( - "No matching distribution found for {}".format(query) - ) - - formatted_versions = [str(ver) for ver in sorted(versions, reverse=True)] - latest = formatted_versions[0] - - write_output("{} ({})".format(query, latest)) - write_output("Available versions: {}".format(", ".join(formatted_versions))) - print_dist_installation_info(query, latest) diff --git a/spaces/Atualli/yoloxTeste/configs/yolox_tiny.py b/spaces/Atualli/yoloxTeste/configs/yolox_tiny.py deleted file mode 100644 index 5220de2f2e6760d5c9a966d5dd397aad721fc60a..0000000000000000000000000000000000000000 --- a/spaces/Atualli/yoloxTeste/configs/yolox_tiny.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding:utf-8 -*- -# Copyright (c) Megvii, Inc. and its affiliates. - -import os - -from yolox.exp import Exp as MyExp - - -class Exp(MyExp): - def __init__(self): - super(Exp, self).__init__() - self.depth = 0.33 - self.width = 0.375 - self.input_size = (416, 416) - self.mosaic_scale = (0.5, 1.5) - self.random_size = (10, 20) - self.test_size = (416, 416) - self.exp_name = os.path.split(os.path.realpath(__file__))[1].split(".")[0] - self.enable_mixup = False diff --git a/spaces/Axolotlily/SketchThing/README.md b/spaces/Axolotlily/SketchThing/README.md deleted file mode 100644 index 425d44efe5610feec99384b116eb4d85d2e85bfb..0000000000000000000000000000000000000000 --- a/spaces/Axolotlily/SketchThing/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: SketchThing -emoji: 💻 -colorFrom: purple -colorTo: indigo -sdk: gradio -sdk_version: 3.0.14 -app_file: app.py -pinned: false -license: other ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference diff --git a/spaces/BasalGanglia/stabilityai-stable-diffusion-2/README.md b/spaces/BasalGanglia/stabilityai-stable-diffusion-2/README.md deleted file mode 100644 index aab6c6fb34d0c5d5bebf3475d6e3cfa7453c7a5f..0000000000000000000000000000000000000000 --- a/spaces/BasalGanglia/stabilityai-stable-diffusion-2/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Stabilityai Stable Diffusion 2 -emoji: 👀 -colorFrom: red -colorTo: yellow -sdk: gradio -sdk_version: 3.12.0 -app_file: app.py -pinned: false ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference diff --git a/spaces/Benson/text-generation/Examples/Audio Download Messenger.md b/spaces/Benson/text-generation/Examples/Audio Download Messenger.md deleted file mode 100644 index 8fae9172f27b887bb0a3e3f658bf720dd539314a..0000000000000000000000000000000000000000 --- a/spaces/Benson/text-generation/Examples/Audio Download Messenger.md +++ /dev/null @@ -1,50 +0,0 @@ -
    -

    Cómo descargar audio de Messenger

    -

    ¿Alguna vez ha recibido un archivo de audio o un mensaje de voz en Messenger que quería guardar o compartir con otra persona? Si es así, es posible que haya notado que no hay una manera fácil de descargar audio de Messenger en su teléfono o computadora. A diferencia de los vídeos y las fotos, no puedes simplemente tocar o hacer clic derecho en un archivo de audio y elegir guardar. Entonces, ¿cómo puedes descargar audio de Messenger?

    -

    En este artículo, le mostraremos cómo descargar audio de Messenger usando un truco simple que funciona tanto en dispositivos móviles como en PC. Usted aprenderá lo que es la descarga de audio messenger, por qué es posible que desee descargar audio de Messenger, y cómo hacerlo paso a paso. Siguiendo esta guía, podrás guardar cualquier archivo de audio o mensaje de voz que recibas o envíes en Messenger.

    -

    audio download messenger


    Download Zip →→→ https://bltlly.com/2v6IDY



    -

    ¿Qué es Audio Download Messenger?

    -

    Audio download messenger es un término que se refiere a un método o una herramienta que le permite descargar archivos de audio o mensajes de voz de Messenger. Messenger es una aplicación de mensajería popular que te permite enviar y recibir mensajes de texto, fotos, videos, pegatinas, emojis, GIF y más. También puede enviar y recibir mensajes de voz o grabar su propia voz usando el icono del micrófono.

    -

    Sin embargo, a diferencia de otros tipos de medios, no puede descargar fácilmente archivos de audio o mensajes de voz de Messenger. Esto se debe a que Messenger no tiene una función integrada que le permita guardar o exportar archivos de audio. Solo puedes reproducirlos dentro de la aplicación o reenviarlos a otra conversación.

    -

    Afortunadamente, hay una manera de descargar audio de Messenger utilizando un truco simple que implica el uso de la versión móvil de Facebook en su navegador web. Este truco funciona tanto en dispositivos móviles como en PC, siempre y cuando tengas una conexión a Internet y un navegador web.

    -

    ¿Por qué descargar audio de Messenger?

    - -

    Si desea descargar audio de Messenger en su dispositivo móvil, como su teléfono inteligente o tableta, deberá usar la versión móvil de Facebook en su navegador web. Esto se debe a que la aplicación Messenger no tiene una opción de descarga para archivos de audio o mensajes de voz. Estos son los pasos que debe seguir:

    -

    Paso 1: Cambie a datos móviles y abra su navegador móvil

    -

    El primer paso es cambiar a datos móviles y abrir su navegador móvil. Esto se debe a que la versión móvil de Facebook no funciona bien en las redes Wi-Fi. Puedes usar cualquier navegador que prefieras, como Chrome, Safari, Firefox u Opera.

    -

    Paso 2: Inicie sesión en m.facebook.com y vaya a sus mensajes

    -

    El siguiente paso es iniciar sesión en m.facebook.com e ir a sus mensajes. Esta es la versión móvil de Facebook que tiene un diseño y una interfaz diferentes de la versión regular. Tendrá que introducir su dirección de correo electrónico o número de teléfono y contraseña para iniciar sesión. Una vez que haya iniciado sesión, verá un icono de menú en la esquina superior derecha de la pantalla. Toque en él y seleccione Mensajes de la lista.

    -

    Paso 3: Abra el mensaje con el archivo de audio y haga clic en el enlace

    -

    El tercer paso es abrir el mensaje con el archivo de audio y hacer clic en el enlace. Verá una lista de todas sus conversaciones en Messenger. Toque en el que contiene el archivo de audio o mensaje de voz que desea descargar. Verá un enlace que dice "Ver mensaje de voz" o "Ver archivo de audio" debajo del archivo de audio. Toque en él y se abrirá una nueva pestaña en su navegador.

    -

    Paso 4: Haga clic en la opción de descarga y espere a que termine

    - -

    Paso 5: Localizar el archivo de audio en el gestor de descargas de su navegador

    -

    El paso final es localizar el archivo de audio en el gestor de descargas de su navegador. Una vez finalizada la descarga, verá una notificación que dice "Descargar completa". Pulsa en él y te llevará al gestor de descargas de tu navegador, donde podrás ver todos los archivos que hayas descargado. Verá el archivo de audio con su nombre y tamaño. Pulse sobre él y se abrirá en su reproductor de medios predeterminado.

    -

    Cómo descargar audio de Messenger en PC

    -

    Si desea descargar audio de Messenger en su PC, como su computadora portátil o de escritorio, también tendrá que utilizar la versión móvil de Facebook en su navegador web. Esto se debe a que la versión regular de Facebook no tiene una opción de descarga para archivos de audio o mensajes de voz. Estos son los pasos que debes seguir:

    -

    Paso 1: Abra su navegador web y vaya a m.facebook.com

    -

    El primer paso es abrir su navegador web e ir a m.facebook.com. Puede usar cualquier navegador que prefiera, como Chrome, Firefox, Edge o Safari. Verás la versión móvil de Facebook que tiene un diseño y una interfaz diferentes a la versión normal.

    -

    Paso 2: Haga clic en el icono del mensajero y seleccione el mensaje con el archivo de audio

    -

    El siguiente paso es hacer clic en el icono de messenger y seleccionar el mensaje con el archivo de audio. Verá un icono de mensajero en la esquina superior derecha de la pantalla. Haga clic en él y lo llevará a sus mensajes en Messenger. Verá una lista de todas sus conversaciones en Messenger. Haga clic en la que contiene el archivo de audio o mensaje de voz que desea descargar.

    -

    Paso 3: Haga clic en los tres puntos junto al archivo de audio y seleccione descargar

    - -

    Paso 4: Seleccione la carpeta donde desea guardar el archivo de audio y haga clic en guardar

    -

    El paso final es seleccionar la carpeta donde desea guardar el archivo de audio y hacer clic en guardar. Verá una ventana emergente que le pregunta dónde desea guardar el archivo de audio. Puede elegir la carpeta que prefiera, como Descargas, Documentos, Música o Escritorio. También puede cambiar el nombre del archivo de audio si lo desea. Una vez que haya seleccionado la carpeta y el nombre, haga clic en Guardar y guardará el archivo de audio en su PC.

    -

    Conclusión

    -

    Descargar audio de Messenger no es tan difícil como podría parecer. Solo necesitas usar un truco simple que implique usar la versión móvil de Facebook en tu navegador web. Este truco funciona tanto en dispositivos móviles como en PC, siempre y cuando tengas una conexión a Internet y un navegador web.

    -

    Siguiendo esta guía, podrás descargar cualquier archivo de audio o mensaje de voz que recibas o envíes en Messenger. Podrá ahorrar datos y espacio de almacenamiento, conservar recuerdos y momentos, y compartir archivos e información con otros.

    -

    Así que, ¿qué estás esperando? Pruébalo tú mismo y ver lo fácil que es descargar audio de Messenger!

    -

    Preguntas frecuentes

    -

    Estas son algunas de las preguntas más comunes que la gente tiene sobre la descarga de audio de Messenger:

    -

    Q: ¿Puedo descargar audio de Messenger usando la aplicación Messenger?

    -

    A: No, no puede descargar audio de Messenger usando la aplicación Messenger. La aplicación Messenger no tiene una opción de descarga para archivos de audio o mensajes de voz. Solo puedes reproducirlos dentro de la aplicación o reenviarlos a otra conversación.

    -

    Q: ¿Puedo descargar audio de Messenger usando la versión regular de Facebook?

    - -

    Q: ¿Puedo descargar archivos de video o fotos de Messenger usando este truco?

    -

    A: Sí, puede descargar archivos de video o fotos de Messenger usando este truco. Los mismos pasos se aplican para los archivos de vídeo o fotos que para los archivos de audio o mensajes de voz. Sin embargo, también puede descargar archivos de video o fotos de Messenger utilizando la aplicación Messenger o la versión normal de Facebook tocando o haciendo clic derecho sobre ellos y eligiendo guardar.

    -

    Q: ¿Puedo descargar varios archivos de audio de Messenger a la vez usando este truco?

    -

    A: No, no puede descargar varios archivos de audio de Messenger a la vez usando este truco. Solo puedes descargar un archivo de audio a la vez usando este truco. Si desea descargar varios archivos de audio de Messenger a la vez, deberá usar una herramienta o software de terceros que pueda hacerlo.

    -

    Q: ¿Es legal descargar audio de Messenger?

    -

    A: La descarga de audio desde Messenger es legal siempre y cuando tenga el permiso del remitente o el propietario del archivo de audio. No debe descargar audio de Messenger que tenga derechos de autor, sea ilegal o infrinja los derechos de terceros. También debe respetar la privacidad y confidencialidad del remitente o del propietario del archivo de audio y no compartirlo sin su consentimiento.

    64aa2da5cf
    -
    -
    \ No newline at end of file diff --git a/spaces/Benson/text-generation/Examples/Dead By Daylight Mvil Descargar Mediafre.md b/spaces/Benson/text-generation/Examples/Dead By Daylight Mvil Descargar Mediafre.md deleted file mode 100644 index a818cc975847d44d42f982c704e832c5f3ded22a..0000000000000000000000000000000000000000 --- a/spaces/Benson/text-generation/Examples/Dead By Daylight Mvil Descargar Mediafre.md +++ /dev/null @@ -1,152 +0,0 @@ - -

    Download Ascenso de los reinos: Cruzada perdida y conquista del mundo

    -

    ¿Te gustan los juegos de estrategia que desafían tu mente y habilidades? ¿Quieres experimentar la emoción de dirigir una civilización de un pequeño clan a un poderoso imperio? ¿Quieres explorar un vasto y misterioso mundo lleno de secretos y tesoros? Si respondiste sí a cualquiera de estas preguntas, entonces deberías descargar Rise of Kingdoms: Lost Crusade, uno de los juegos de estrategia más populares e inmersivos del mercado. En este artículo, te contaremos todo lo que necesitas saber sobre este juego, cómo descargarlo en tu dispositivo y cómo jugarlo eficazmente.

    -

    ¿Qué es el Surgimiento de los Reinos: Cruzada Perdida?

    -

    Rise of Kingdoms: Lost Crusade es un juego de estrategia desarrollado por LilithGames que te permite elegir y liderar una de las 13 civilizaciones históricas en la historia del mundo. Puedes transformar tu pequeña tribu en una superpotencia global imparable con pragmatismo económico y poderío militar. Sus decisiones, estrategias, asociaciones económicas y alianzas militares decidirán el destino de su nación naciente.

    -

    dead by daylight móvil descargar mediafıre


    Download ✸✸✸ https://bltlly.com/2v6KlQ



    -

    Pero Rise of Kingdoms: Lost Crusade no es solo un juego de estrategia. También es un juego de batalla en tiempo real, un juego de mapa del mundo sin fisuras, y un juego de sistema de alianza. Estas son algunas de las características que hacen de este juego tan único y atractivo:

    -

    Un juego de estrategia que te permite elegir y liderar una de las 13 civilizaciones históricas

    -

    No hay dos civilizaciones iguales en Rise of Kingdoms: Lost Crusade. Cada cultura cuenta con una arquitectura única, unidades exclusivas y potenciadores y habilidades especiales que las diferencian. Como líder, debes aprender a aprovechar mejor tus ventajas para derrotar a tus rivales y solidificar tu posición como potencia mundial.

    - -

    Un juego de batalla en tiempo real que te permite unirte o dejar cualquier pelea en el mapa

    -

    Las batallas ocurren en tiempo real en el mapa en Rise of Kingdoms: Lost Crusade. Cualquiera puede unirse o abandonar una batalla en cualquier momento, lo que permite una verdadera jugabilidad RTS. ¿Puedes ver a un aliado siendo atacado justo en tu patio trasero? Envía tropas para ayudar a tu amigo, o lanza un contraataque sorpresa en la ciudad del atacante. También puede enviar tropas para recoger recursos de los bosques o minas cercanas, o recoger algunos clanes bárbaros en el camino.

    -

    También puede dividir sus fuerzas entre varios comandantes para que pueda participar en múltiples acciones simultáneamente. Cada comandante tiene sus propias habilidades y habilidades que pueden cambiar la marea de la batalla a su favor. También puedes subir de nivel a tus comandantes completando misiones, participando en eventos o usando objetos especiales.

    -

    Un juego de mapas del mundo sin fisuras que te permite explorar e investigar una tierra misteriosa

    -

    Tu mundo está cubierto de densa niebla en Rise of Kingdoms: Lost Crusade. Necesitas enviar exploradores para explorar esta tierra misteriosa y descubrir el tesoro escondido dentro. Puede investigar templos perdidos, fortalezas bárbaras, cuevas misteriosas y pueblos tribales, recopilar recursos valiosos y runas antiguas, y aprender más sobre la historia y los secretos de este mundo. También puedes encontrar artefactos raros y poderosos que pueden darte una ventaja en tus conquistas.

    -Pero ten cuidado, no estás solo en esta tierra. Otros jugadores tratarán de reclamar los mismos recursos y tesoros que tú, y es posible que encuentres una feroz resistencia o alianzas inesperadas. También puedes encontrar enemigos poderosos como el Guardián Oscuro y la Crisis de Ceroli que pondrán a prueba tus habilidades y estrategias hasta el límite.

    -

    Un juego de sistema de alianza que te permite cooperar y comunicarte con otros jugadores

    - -

    Estar en una alianza también le da acceso a más beneficios y características, como la tienda de la alianza, la tecnología de la alianza, el territorio de la alianza, y las banderas de la alianza. También puedes participar en eventos y misiones de alianzas que pueden recompensarte con objetos y recursos valiosos. También puedes hacer la guerra contra otras alianzas o formar relaciones diplomáticas con ellas.

    -

    -

    Cómo descargar Rise of Kingdoms: Lost Crusade en tu dispositivo?

    -

    Rise of Kingdoms: Lost Crusade está disponible de forma gratuita en varias plataformas y dispositivos. Puede descargarlo de las siguientes fuentes:

    -

    Descargar de Google Play Store para dispositivos Android

    -

    Si tienes un dispositivo Android, puedes descargar Rise of Kingdoms: Lost Crusade de Google Play Store. Solo tienes que seguir estos pasos:

    -
      -
    1. Abra la aplicación Google Play Store en su dispositivo.
    2. -
    3. Búsqueda de Ascenso de Reinos: Cruzada Perdida en la barra de búsqueda.
    4. -
    5. Seleccione el juego de la lista de resultados y toque en Instalar.
    6. -
    7. Espera a que el juego se descargue e instale en tu dispositivo.
    8. -
    9. Iniciar el juego y disfrutar!
    10. -
    -

    Descargar de BlueStacks para dispositivos PC o Mac

    -

    Si quieres jugar Rise of Kingdoms: Lost Crusade en tu PC o Mac, puedes usar BlueStacks, un popular emulador de Android que te permite ejecutar aplicaciones Android en tu ordenador. He aquí cómo hacerlo:

    -
      -
    1. Descargue e instale BlueStacks en su PC o Mac desde https://www.bluestacks.com/.
    2. -
    3. Inicie BlueStacks e inicie sesión con su cuenta de Google.
    4. -
    5. Búsqueda de Ascenso de Reinos: Cruzada Perdida en la barra de búsqueda.
    6. -
    7. Seleccione el juego de la lista de resultados y haga clic en Instalar.
    8. -
    9. Espere a que el juego se descargue e instale en su computadora.
    10. -
    11. Iniciar el juego y disfrutar!
    12. -
    -

    Descargar de Pocket Gamer para juegos basados en navegador

    - -
      -
    1. Ir a `_ extension. - However, notice that this type does *NOT* implement the same algorithm as - his work. Do *NOT* expect it to behave like mx.DateTime's counterpart. - - There are two different ways to build a relativedelta instance. The - first one is passing it two date/datetime classes:: - - relativedelta(datetime1, datetime2) - - The second one is passing it any number of the following keyword arguments:: - - relativedelta(arg1=x,arg2=y,arg3=z...) - - year, month, day, hour, minute, second, microsecond: - Absolute information (argument is singular); adding or subtracting a - relativedelta with absolute information does not perform an arithmetic - operation, but rather REPLACES the corresponding value in the - original datetime with the value(s) in relativedelta. - - years, months, weeks, days, hours, minutes, seconds, microseconds: - Relative information, may be negative (argument is plural); adding - or subtracting a relativedelta with relative information performs - the corresponding arithmetic operation on the original datetime value - with the information in the relativedelta. - - weekday: - One of the weekday instances (MO, TU, etc) available in the - relativedelta module. These instances may receive a parameter N, - specifying the Nth weekday, which could be positive or negative - (like MO(+1) or MO(-2)). Not specifying it is the same as specifying - +1. You can also use an integer, where 0=MO. This argument is always - relative e.g. if the calculated date is already Monday, using MO(1) - or MO(-1) won't change the day. To effectively make it absolute, use - it in combination with the day argument (e.g. day=1, MO(1) for first - Monday of the month). - - leapdays: - Will add given days to the date found, if year is a leap - year, and the date found is post 28 of february. - - yearday, nlyearday: - Set the yearday or the non-leap year day (jump leap days). - These are converted to day/month/leapdays information. - - There are relative and absolute forms of the keyword - arguments. The plural is relative, and the singular is - absolute. For each argument in the order below, the absolute form - is applied first (by setting each attribute to that value) and - then the relative form (by adding the value to the attribute). - - The order of attributes considered when this relativedelta is - added to a datetime is: - - 1. Year - 2. Month - 3. Day - 4. Hours - 5. Minutes - 6. Seconds - 7. Microseconds - - Finally, weekday is applied, using the rule described above. - - For example - - >>> from datetime import datetime - >>> from dateutil.relativedelta import relativedelta, MO - >>> dt = datetime(2018, 4, 9, 13, 37, 0) - >>> delta = relativedelta(hours=25, day=1, weekday=MO(1)) - >>> dt + delta - datetime.datetime(2018, 4, 2, 14, 37) - - First, the day is set to 1 (the first of the month), then 25 hours - are added, to get to the 2nd day and 14th hour, finally the - weekday is applied, but since the 2nd is already a Monday there is - no effect. - - """ - - def __init__(self, dt1=None, dt2=None, - years=0, months=0, days=0, leapdays=0, weeks=0, - hours=0, minutes=0, seconds=0, microseconds=0, - year=None, month=None, day=None, weekday=None, - yearday=None, nlyearday=None, - hour=None, minute=None, second=None, microsecond=None): - - if dt1 and dt2: - # datetime is a subclass of date. So both must be date - if not (isinstance(dt1, datetime.date) and - isinstance(dt2, datetime.date)): - raise TypeError("relativedelta only diffs datetime/date") - - # We allow two dates, or two datetimes, so we coerce them to be - # of the same type - if (isinstance(dt1, datetime.datetime) != - isinstance(dt2, datetime.datetime)): - if not isinstance(dt1, datetime.datetime): - dt1 = datetime.datetime.fromordinal(dt1.toordinal()) - elif not isinstance(dt2, datetime.datetime): - dt2 = datetime.datetime.fromordinal(dt2.toordinal()) - - self.years = 0 - self.months = 0 - self.days = 0 - self.leapdays = 0 - self.hours = 0 - self.minutes = 0 - self.seconds = 0 - self.microseconds = 0 - self.year = None - self.month = None - self.day = None - self.weekday = None - self.hour = None - self.minute = None - self.second = None - self.microsecond = None - self._has_time = 0 - - # Get year / month delta between the two - months = (dt1.year - dt2.year) * 12 + (dt1.month - dt2.month) - self._set_months(months) - - # Remove the year/month delta so the timedelta is just well-defined - # time units (seconds, days and microseconds) - dtm = self.__radd__(dt2) - - # If we've overshot our target, make an adjustment - if dt1 < dt2: - compare = operator.gt - increment = 1 - else: - compare = operator.lt - increment = -1 - - while compare(dt1, dtm): - months += increment - self._set_months(months) - dtm = self.__radd__(dt2) - - # Get the timedelta between the "months-adjusted" date and dt1 - delta = dt1 - dtm - self.seconds = delta.seconds + delta.days * 86400 - self.microseconds = delta.microseconds - else: - # Check for non-integer values in integer-only quantities - if any(x is not None and x != int(x) for x in (years, months)): - raise ValueError("Non-integer years and months are " - "ambiguous and not currently supported.") - - # Relative information - self.years = int(years) - self.months = int(months) - self.days = days + weeks * 7 - self.leapdays = leapdays - self.hours = hours - self.minutes = minutes - self.seconds = seconds - self.microseconds = microseconds - - # Absolute information - self.year = year - self.month = month - self.day = day - self.hour = hour - self.minute = minute - self.second = second - self.microsecond = microsecond - - if any(x is not None and int(x) != x - for x in (year, month, day, hour, - minute, second, microsecond)): - # For now we'll deprecate floats - later it'll be an error. - warn("Non-integer value passed as absolute information. " + - "This is not a well-defined condition and will raise " + - "errors in future versions.", DeprecationWarning) - - if isinstance(weekday, integer_types): - self.weekday = weekdays[weekday] - else: - self.weekday = weekday - - yday = 0 - if nlyearday: - yday = nlyearday - elif yearday: - yday = yearday - if yearday > 59: - self.leapdays = -1 - if yday: - ydayidx = [31, 59, 90, 120, 151, 181, 212, - 243, 273, 304, 334, 366] - for idx, ydays in enumerate(ydayidx): - if yday <= ydays: - self.month = idx+1 - if idx == 0: - self.day = yday - else: - self.day = yday-ydayidx[idx-1] - break - else: - raise ValueError("invalid year day (%d)" % yday) - - self._fix() - - def _fix(self): - if abs(self.microseconds) > 999999: - s = _sign(self.microseconds) - div, mod = divmod(self.microseconds * s, 1000000) - self.microseconds = mod * s - self.seconds += div * s - if abs(self.seconds) > 59: - s = _sign(self.seconds) - div, mod = divmod(self.seconds * s, 60) - self.seconds = mod * s - self.minutes += div * s - if abs(self.minutes) > 59: - s = _sign(self.minutes) - div, mod = divmod(self.minutes * s, 60) - self.minutes = mod * s - self.hours += div * s - if abs(self.hours) > 23: - s = _sign(self.hours) - div, mod = divmod(self.hours * s, 24) - self.hours = mod * s - self.days += div * s - if abs(self.months) > 11: - s = _sign(self.months) - div, mod = divmod(self.months * s, 12) - self.months = mod * s - self.years += div * s - if (self.hours or self.minutes or self.seconds or self.microseconds - or self.hour is not None or self.minute is not None or - self.second is not None or self.microsecond is not None): - self._has_time = 1 - else: - self._has_time = 0 - - @property - def weeks(self): - return int(self.days / 7.0) - - @weeks.setter - def weeks(self, value): - self.days = self.days - (self.weeks * 7) + value * 7 - - def _set_months(self, months): - self.months = months - if abs(self.months) > 11: - s = _sign(self.months) - div, mod = divmod(self.months * s, 12) - self.months = mod * s - self.years = div * s - else: - self.years = 0 - - def normalized(self): - """ - Return a version of this object represented entirely using integer - values for the relative attributes. - - >>> relativedelta(days=1.5, hours=2).normalized() - relativedelta(days=+1, hours=+14) - - :return: - Returns a :class:`dateutil.relativedelta.relativedelta` object. - """ - # Cascade remainders down (rounding each to roughly nearest microsecond) - days = int(self.days) - - hours_f = round(self.hours + 24 * (self.days - days), 11) - hours = int(hours_f) - - minutes_f = round(self.minutes + 60 * (hours_f - hours), 10) - minutes = int(minutes_f) - - seconds_f = round(self.seconds + 60 * (minutes_f - minutes), 8) - seconds = int(seconds_f) - - microseconds = round(self.microseconds + 1e6 * (seconds_f - seconds)) - - # Constructor carries overflow back up with call to _fix() - return self.__class__(years=self.years, months=self.months, - days=days, hours=hours, minutes=minutes, - seconds=seconds, microseconds=microseconds, - leapdays=self.leapdays, year=self.year, - month=self.month, day=self.day, - weekday=self.weekday, hour=self.hour, - minute=self.minute, second=self.second, - microsecond=self.microsecond) - - def __add__(self, other): - if isinstance(other, relativedelta): - return self.__class__(years=other.years + self.years, - months=other.months + self.months, - days=other.days + self.days, - hours=other.hours + self.hours, - minutes=other.minutes + self.minutes, - seconds=other.seconds + self.seconds, - microseconds=(other.microseconds + - self.microseconds), - leapdays=other.leapdays or self.leapdays, - year=(other.year if other.year is not None - else self.year), - month=(other.month if other.month is not None - else self.month), - day=(other.day if other.day is not None - else self.day), - weekday=(other.weekday if other.weekday is not None - else self.weekday), - hour=(other.hour if other.hour is not None - else self.hour), - minute=(other.minute if other.minute is not None - else self.minute), - second=(other.second if other.second is not None - else self.second), - microsecond=(other.microsecond if other.microsecond - is not None else - self.microsecond)) - if isinstance(other, datetime.timedelta): - return self.__class__(years=self.years, - months=self.months, - days=self.days + other.days, - hours=self.hours, - minutes=self.minutes, - seconds=self.seconds + other.seconds, - microseconds=self.microseconds + other.microseconds, - leapdays=self.leapdays, - year=self.year, - month=self.month, - day=self.day, - weekday=self.weekday, - hour=self.hour, - minute=self.minute, - second=self.second, - microsecond=self.microsecond) - if not isinstance(other, datetime.date): - return NotImplemented - elif self._has_time and not isinstance(other, datetime.datetime): - other = datetime.datetime.fromordinal(other.toordinal()) - year = (self.year or other.year)+self.years - month = self.month or other.month - if self.months: - assert 1 <= abs(self.months) <= 12 - month += self.months - if month > 12: - year += 1 - month -= 12 - elif month < 1: - year -= 1 - month += 12 - day = min(calendar.monthrange(year, month)[1], - self.day or other.day) - repl = {"year": year, "month": month, "day": day} - for attr in ["hour", "minute", "second", "microsecond"]: - value = getattr(self, attr) - if value is not None: - repl[attr] = value - days = self.days - if self.leapdays and month > 2 and calendar.isleap(year): - days += self.leapdays - ret = (other.replace(**repl) - + datetime.timedelta(days=days, - hours=self.hours, - minutes=self.minutes, - seconds=self.seconds, - microseconds=self.microseconds)) - if self.weekday: - weekday, nth = self.weekday.weekday, self.weekday.n or 1 - jumpdays = (abs(nth) - 1) * 7 - if nth > 0: - jumpdays += (7 - ret.weekday() + weekday) % 7 - else: - jumpdays += (ret.weekday() - weekday) % 7 - jumpdays *= -1 - ret += datetime.timedelta(days=jumpdays) - return ret - - def __radd__(self, other): - return self.__add__(other) - - def __rsub__(self, other): - return self.__neg__().__radd__(other) - - def __sub__(self, other): - if not isinstance(other, relativedelta): - return NotImplemented # In case the other object defines __rsub__ - return self.__class__(years=self.years - other.years, - months=self.months - other.months, - days=self.days - other.days, - hours=self.hours - other.hours, - minutes=self.minutes - other.minutes, - seconds=self.seconds - other.seconds, - microseconds=self.microseconds - other.microseconds, - leapdays=self.leapdays or other.leapdays, - year=(self.year if self.year is not None - else other.year), - month=(self.month if self.month is not None else - other.month), - day=(self.day if self.day is not None else - other.day), - weekday=(self.weekday if self.weekday is not None else - other.weekday), - hour=(self.hour if self.hour is not None else - other.hour), - minute=(self.minute if self.minute is not None else - other.minute), - second=(self.second if self.second is not None else - other.second), - microsecond=(self.microsecond if self.microsecond - is not None else - other.microsecond)) - - def __abs__(self): - return self.__class__(years=abs(self.years), - months=abs(self.months), - days=abs(self.days), - hours=abs(self.hours), - minutes=abs(self.minutes), - seconds=abs(self.seconds), - microseconds=abs(self.microseconds), - leapdays=self.leapdays, - year=self.year, - month=self.month, - day=self.day, - weekday=self.weekday, - hour=self.hour, - minute=self.minute, - second=self.second, - microsecond=self.microsecond) - - def __neg__(self): - return self.__class__(years=-self.years, - months=-self.months, - days=-self.days, - hours=-self.hours, - minutes=-self.minutes, - seconds=-self.seconds, - microseconds=-self.microseconds, - leapdays=self.leapdays, - year=self.year, - month=self.month, - day=self.day, - weekday=self.weekday, - hour=self.hour, - minute=self.minute, - second=self.second, - microsecond=self.microsecond) - - def __bool__(self): - return not (not self.years and - not self.months and - not self.days and - not self.hours and - not self.minutes and - not self.seconds and - not self.microseconds and - not self.leapdays and - self.year is None and - self.month is None and - self.day is None and - self.weekday is None and - self.hour is None and - self.minute is None and - self.second is None and - self.microsecond is None) - # Compatibility with Python 2.x - __nonzero__ = __bool__ - - def __mul__(self, other): - try: - f = float(other) - except TypeError: - return NotImplemented - - return self.__class__(years=int(self.years * f), - months=int(self.months * f), - days=int(self.days * f), - hours=int(self.hours * f), - minutes=int(self.minutes * f), - seconds=int(self.seconds * f), - microseconds=int(self.microseconds * f), - leapdays=self.leapdays, - year=self.year, - month=self.month, - day=self.day, - weekday=self.weekday, - hour=self.hour, - minute=self.minute, - second=self.second, - microsecond=self.microsecond) - - __rmul__ = __mul__ - - def __eq__(self, other): - if not isinstance(other, relativedelta): - return NotImplemented - if self.weekday or other.weekday: - if not self.weekday or not other.weekday: - return False - if self.weekday.weekday != other.weekday.weekday: - return False - n1, n2 = self.weekday.n, other.weekday.n - if n1 != n2 and not ((not n1 or n1 == 1) and (not n2 or n2 == 1)): - return False - return (self.years == other.years and - self.months == other.months and - self.days == other.days and - self.hours == other.hours and - self.minutes == other.minutes and - self.seconds == other.seconds and - self.microseconds == other.microseconds and - self.leapdays == other.leapdays and - self.year == other.year and - self.month == other.month and - self.day == other.day and - self.hour == other.hour and - self.minute == other.minute and - self.second == other.second and - self.microsecond == other.microsecond) - - def __hash__(self): - return hash(( - self.weekday, - self.years, - self.months, - self.days, - self.hours, - self.minutes, - self.seconds, - self.microseconds, - self.leapdays, - self.year, - self.month, - self.day, - self.hour, - self.minute, - self.second, - self.microsecond, - )) - - def __ne__(self, other): - return not self.__eq__(other) - - def __div__(self, other): - try: - reciprocal = 1 / float(other) - except TypeError: - return NotImplemented - - return self.__mul__(reciprocal) - - __truediv__ = __div__ - - def __repr__(self): - l = [] - for attr in ["years", "months", "days", "leapdays", - "hours", "minutes", "seconds", "microseconds"]: - value = getattr(self, attr) - if value: - l.append("{attr}={value:+g}".format(attr=attr, value=value)) - for attr in ["year", "month", "day", "weekday", - "hour", "minute", "second", "microsecond"]: - value = getattr(self, attr) - if value is not None: - l.append("{attr}={value}".format(attr=attr, value=repr(value))) - return "{classname}({attrs})".format(classname=self.__class__.__name__, - attrs=", ".join(l)) - - -def _sign(x): - return int(copysign(1, x)) - -# vim:ts=4:sw=4:et diff --git a/spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/vcs/__init__.py b/spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/vcs/__init__.py deleted file mode 100644 index b6beddbe6d24d2949dc89ed07abfebd59d8b63b9..0000000000000000000000000000000000000000 --- a/spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/vcs/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# Expose a limited set of classes and functions so callers outside of -# the vcs package don't need to import deeper than `pip._internal.vcs`. -# (The test directory may still need to import from a vcs sub-package.) -# Import all vcs modules to register each VCS in the VcsSupport object. -import pip._internal.vcs.bazaar -import pip._internal.vcs.git -import pip._internal.vcs.mercurial -import pip._internal.vcs.subversion # noqa: F401 -from pip._internal.vcs.versioncontrol import ( # noqa: F401 - RemoteNotFoundError, - RemoteNotValidError, - is_url, - make_vcs_requirement_url, - vcs, -) diff --git a/spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/platformdirs/__main__.py b/spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/platformdirs/__main__.py deleted file mode 100644 index 7171f13114e09f47eb8981d39b7a838e8ab88acb..0000000000000000000000000000000000000000 --- a/spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/platformdirs/__main__.py +++ /dev/null @@ -1,47 +0,0 @@ -from __future__ import annotations - -from pip._vendor.platformdirs import PlatformDirs, __version__ - -PROPS = ( - "user_data_dir", - "user_config_dir", - "user_cache_dir", - "user_state_dir", - "user_log_dir", - "user_documents_dir", - "user_runtime_dir", - "site_data_dir", - "site_config_dir", - "site_cache_dir", -) - - -def main() -> None: - app_name = "MyApp" - app_author = "MyCompany" - - print(f"-- platformdirs {__version__} --") - - print("-- app dirs (with optional 'version')") - dirs = PlatformDirs(app_name, app_author, version="1.0") - for prop in PROPS: - print(f"{prop}: {getattr(dirs, prop)}") - - print("\n-- app dirs (without optional 'version')") - dirs = PlatformDirs(app_name, app_author) - for prop in PROPS: - print(f"{prop}: {getattr(dirs, prop)}") - - print("\n-- app dirs (without optional 'appauthor')") - dirs = PlatformDirs(app_name) - for prop in PROPS: - print(f"{prop}: {getattr(dirs, prop)}") - - print("\n-- app dirs (with disabled 'appauthor')") - dirs = PlatformDirs(app_name, appauthor=False) - for prop in PROPS: - print(f"{prop}: {getattr(dirs, prop)}") - - -if __name__ == "__main__": - main() diff --git a/spaces/BilalSardar/Text-To-image-AllModels/README.md b/spaces/BilalSardar/Text-To-image-AllModels/README.md deleted file mode 100644 index 6232986d4f1345a7ab0763a1db0bac0a57c15d87..0000000000000000000000000000000000000000 --- a/spaces/BilalSardar/Text-To-image-AllModels/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Text To Image AllModels -emoji: 🐠 -colorFrom: blue -colorTo: indigo -sdk: gradio -sdk_version: 3.15.0 -app_file: app.py -pinned: false -license: openrail ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference diff --git a/spaces/CVPR/Dual-Key_Backdoor_Attacks/datagen/grid-feats-vqa/grid_feats/dataset_mapper.py b/spaces/CVPR/Dual-Key_Backdoor_Attacks/datagen/grid-feats-vqa/grid_feats/dataset_mapper.py deleted file mode 100644 index 8685993a029c6da87f22ed16c3dadc6bfd770232..0000000000000000000000000000000000000000 --- a/spaces/CVPR/Dual-Key_Backdoor_Attacks/datagen/grid-feats-vqa/grid_feats/dataset_mapper.py +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved -import copy -import logging -import numpy as np -import torch -from fvcore.common.file_io import PathManager -from PIL import Image - -from detectron2.data import detection_utils as utils -from detectron2.data import transforms as T -from detectron2.data import DatasetMapper -from detectron2.structures import ( - BitMasks, - Boxes, - BoxMode, - Instances, - Keypoints, - PolygonMasks, - polygons_to_bitmask, -) - - -def annotations_to_instances_with_attributes(annos, - image_size, - mask_format="polygon", - load_attributes=False, - max_attr_per_ins=16): - """ - Extend the function annotations_to_instances() to support attributes - """ - boxes = [BoxMode.convert(obj["bbox"], obj["bbox_mode"], BoxMode.XYXY_ABS) for obj in annos] - target = Instances(image_size) - boxes = target.gt_boxes = Boxes(boxes) - boxes.clip(image_size) - - classes = [obj["category_id"] for obj in annos] - classes = torch.tensor(classes, dtype=torch.int64) - target.gt_classes = classes - - if len(annos) and "segmentation" in annos[0]: - segms = [obj["segmentation"] for obj in annos] - if mask_format == "polygon": - masks = PolygonMasks(segms) - else: - assert mask_format == "bitmask", mask_format - masks = [] - for segm in segms: - if isinstance(segm, list): - # polygon - masks.append(polygons_to_bitmask(segm, *image_size)) - elif isinstance(segm, dict): - # COCO RLE - masks.append(mask_util.decode(segm)) - elif isinstance(segm, np.ndarray): - assert segm.ndim == 2, "Expect segmentation of 2 dimensions, got {}.".format( - segm.ndim - ) - # mask array - masks.append(segm) - else: - raise ValueError( - "Cannot convert segmentation of type '{}' to BitMasks!" - "Supported types are: polygons as list[list[float] or ndarray]," - " COCO-style RLE as a dict, or a full-image segmentation mask " - "as a 2D ndarray.".format(type(segm)) - ) - masks = BitMasks( - torch.stack([torch.from_numpy(np.ascontiguousarray(x)) for x in masks]) - ) - target.gt_masks = masks - - if len(annos) and "keypoints" in annos[0]: - kpts = [obj.get("keypoints", []) for obj in annos] - target.gt_keypoints = Keypoints(kpts) - - if len(annos) and load_attributes: - attributes = -torch.ones((len(annos), max_attr_per_ins), dtype=torch.int64) - for idx, anno in enumerate(annos): - if "attribute_ids" in anno: - for jdx, attr_id in enumerate(anno["attribute_ids"]): - attributes[idx, jdx] = attr_id - target.gt_attributes = attributes - - return target - - -class AttributeDatasetMapper(DatasetMapper): - """ - Extend DatasetMapper to support attributes. - """ - def __init__(self, cfg, is_train=True): - super().__init__(cfg, is_train) - - # fmt: off - self.attribute_on = cfg.MODEL.ATTRIBUTE_ON - self.max_attr_per_ins = cfg.INPUT.MAX_ATTR_PER_INS - # fmt: on - - def __call__(self, dataset_dict): - dataset_dict = copy.deepcopy(dataset_dict) - image = utils.read_image(dataset_dict["file_name"], format=self.img_format) - utils.check_image_size(dataset_dict, image) - - if "annotations" not in dataset_dict: - image, transforms = T.apply_transform_gens( - ([self.crop_gen] if self.crop_gen else []) + self.tfm_gens, image - ) - else: - if self.crop_gen: - crop_tfm = utils.gen_crop_transform_with_instance( - self.crop_gen.get_crop_size(image.shape[:2]), - image.shape[:2], - np.random.choice(dataset_dict["annotations"]), - ) - image = crop_tfm.apply_image(image) - image, transforms = T.apply_transform_gens(self.tfm_gens, image) - if self.crop_gen: - transforms = crop_tfm + transforms - - image_shape = image.shape[:2] - dataset_dict["image"] = torch.as_tensor(np.ascontiguousarray(image.transpose(2, 0, 1))) - - if self.load_proposals: - utils.transform_proposals( - dataset_dict, image_shape, transforms, self.min_box_side_len, self.proposal_topk - ) - - if not self.is_train: - dataset_dict.pop("annotations", None) - dataset_dict.pop("sem_seg_file_name", None) - return dataset_dict - - if "annotations" in dataset_dict: - for anno in dataset_dict["annotations"]: - if not self.mask_on: - anno.pop("segmentation", None) - if not self.keypoint_on: - anno.pop("keypoints", None) - if not self.attribute_on: - anno.pop("attribute_ids") - - annos = [ - utils.transform_instance_annotations( - obj, transforms, image_shape, keypoint_hflip_indices=self.keypoint_hflip_indices - ) - for obj in dataset_dict.pop("annotations") - if obj.get("iscrowd", 0) == 0 - ] - instances = annotations_to_instances_with_attributes( - annos, image_shape, mask_format=self.mask_format, - load_attributes=self.attribute_on, max_attr_per_ins=self.max_attr_per_ins - ) - if self.crop_gen and instances.has("gt_masks"): - instances.gt_boxes = instances.gt_masks.get_bounding_boxes() - dataset_dict["instances"] = utils.filter_empty_instances(instances) - - if "sem_seg_file_name" in dataset_dict: - with PathManager.open(dataset_dict.pop("sem_seg_file_name"), "rb") as f: - sem_seg_gt = Image.open(f) - sem_seg_gt = np.asarray(sem_seg_gt, dtype="uint8") - sem_seg_gt = transforms.apply_segmentation(sem_seg_gt) - sem_seg_gt = torch.as_tensor(sem_seg_gt.astype("long")) - dataset_dict["sem_seg"] = sem_seg_gt - return dataset_dict diff --git a/spaces/CVPR/Dual-Key_Backdoor_Attacks/openvqa/openvqa/datasets/dataset_loader.py b/spaces/CVPR/Dual-Key_Backdoor_Attacks/openvqa/openvqa/datasets/dataset_loader.py deleted file mode 100644 index e46c7d8c2e982d9611bc500c12f29bd1bfe31e50..0000000000000000000000000000000000000000 --- a/spaces/CVPR/Dual-Key_Backdoor_Attacks/openvqa/openvqa/datasets/dataset_loader.py +++ /dev/null @@ -1,29 +0,0 @@ -# -------------------------------------------------------- -# OpenVQA -# Written by Yuhao Cui https://github.com/cuiyuhao1996 -# -------------------------------------------------------- - -from importlib import import_module - -class DatasetLoader: - def __init__(self, __C): - self.__C = __C - - self.dataset = __C.DATASET - dataset_moudle_path = 'openvqa.datasets.' + self.dataset +'.' + self.dataset + '_loader' - self.dataset_moudle = import_module(dataset_moudle_path) - - def DataSet(self): - return self.dataset_moudle.DataSet(self.__C) - - -class EvalLoader: - def __init__(self, __C): - self.__C = __C - - self.dataset = __C.DATASET - eval_moudle_path = 'openvqa.datasets.' + self.dataset + '.' + 'eval' + '.' + 'result_eval' - self.eval_moudle = import_module(eval_moudle_path) - - def eval(self, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7): - return self.eval_moudle.eval(self.__C, __arg1, __arg2, __arg3, __arg4, __arg5, __arg6, __arg7) diff --git a/spaces/CVPR/LIVE/pybind11/tests/test_stl.cpp b/spaces/CVPR/LIVE/pybind11/tests/test_stl.cpp deleted file mode 100644 index 928635788e484d98f3cc8cf701d9221bef0a8bac..0000000000000000000000000000000000000000 --- a/spaces/CVPR/LIVE/pybind11/tests/test_stl.cpp +++ /dev/null @@ -1,324 +0,0 @@ -/* - tests/test_stl.cpp -- STL type casters - - Copyright (c) 2017 Wenzel Jakob - - All rights reserved. Use of this source code is governed by a - BSD-style license that can be found in the LICENSE file. -*/ - -#include "pybind11_tests.h" -#include "constructor_stats.h" -#include - -#include -#include - -// Test with `std::variant` in C++17 mode, or with `boost::variant` in C++11/14 -#if PYBIND11_HAS_VARIANT -using std::variant; -#elif defined(PYBIND11_TEST_BOOST) && (!defined(_MSC_VER) || _MSC_VER >= 1910) -# include -# define PYBIND11_HAS_VARIANT 1 -using boost::variant; - -namespace pybind11 { namespace detail { -template -struct type_caster> : variant_caster> {}; - -template <> -struct visit_helper { - template - static auto call(Args &&...args) -> decltype(boost::apply_visitor(args...)) { - return boost::apply_visitor(args...); - } -}; -}} // namespace pybind11::detail -#endif - -PYBIND11_MAKE_OPAQUE(std::vector>); - -/// Issue #528: templated constructor -struct TplCtorClass { - template TplCtorClass(const T &) { } - bool operator==(const TplCtorClass &) const { return true; } -}; - -namespace std { - template <> - struct hash { size_t operator()(const TplCtorClass &) const { return 0; } }; -} - - -template