diff --git a/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Cara Mudah Download Clash Royale Mod Apk dengan Fitur Unlimited Money.md b/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Cara Mudah Download Clash Royale Mod Apk dengan Fitur Unlimited Money.md deleted file mode 100644 index b281da9a90e17d483d05b96f59c4aa040a9bf0d6..0000000000000000000000000000000000000000 --- a/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Cara Mudah Download Clash Royale Mod Apk dengan Fitur Unlimited Money.md +++ /dev/null @@ -1,86 +0,0 @@ -
-

Cara Download Clash Royale Mod APK

-

Clash Royale is one of the most popular and addictive strategy games on mobile devices. It combines card collecting, tower defense, and real-time multiplayer battles in a fast-paced and fun gameplay. However, some players may find it hard to progress in the game without spending real money on gems and gold, which are the main currencies in the game. That's why some players resort to using Clash Royale Mod APK, which is a modified version of the game that gives them unlimited resources and access to all the cards in the game.

-

cara download clash royale mod apk


Download ►►►►► https://urlin.us/2uT0xQ



-

If you are one of those players who want to enjoy Clash Royale without any limitations, then this article is for you. In this article, we will show you how to download and install Clash Royale Mod APK on your Android device, what are the features of this mod, and whether it is safe and legal to use. Let's get started!

-

What is Clash Royale Mod APK?

-

Clash Royale Mod APK is a hacked version of the original Clash Royale game that was developed by third-party developers. This mod allows you to have unlimited gems and gold, which you can use to buy chests, cards, upgrades, and more. You can also unlock all the cards in the game, including the legendary ones, and use them in your deck. Moreover, you can play on custom mods and servers that offer different game modes, such as 2v2 battles, draft mode, unlimited elixir mode, and more.

-

With Clash Royale Mod APK, you can enjoy the game without any restrictions or worries. You can experiment with different strategies, decks, and cards without losing any trophies or resources. You can also challenge your friends or other players online and show off your skills. However, you should be aware that using this mod may also have some risks and consequences, which we will discuss later in this article.

-

cara download clash royale mod apk unlimited money
-cara download clash royale mod apk terbaru 2023
-cara download clash royale mod apk versi 3.3186.7
-cara download clash royale mod apk dengan apkmody app
-cara download clash royale mod apk tanpa password
-cara download clash royale mod apk offline
-cara download clash royale mod apk no root
-cara download clash royale mod apk anti banned
-cara download clash royale mod apk di android
-cara download clash royale mod apk di pc
-cara download clash royale mod apk gratis
-cara download clash royale mod apk mudah
-cara download clash royale mod apk cepat
-cara download clash royale mod apk aman
-cara download clash royale mod apk lengkap
-cara instal clash royale mod apk
-cara update clash royale mod apk
-cara main clash royale mod apk
-cara cheat clash royale mod apk
-cara hack clash royale mod apk
-tips dan trik clash royale mod apk
-review dan rating clash royale mod apk
-fitur dan kelebihan clash royale mod apk
-kekurangan dan kelemahan clash royale mod apk
-solusi dan perbaikan clash royale mod apk
-link dan panduan download clash royale mod apk
-video dan tutorial download clash royale mod apk
-gambar dan screenshot download clash royale mod apk
-testimoni dan komentar download clash royale mod apk
-pertanyaan dan jawaban download clash royale mod apk

-

Features of Clash Royale Mod APK

-

Clash Royale Mod APK has many features that make it different from the original game. Here are some of the main features of this mod:

-

Unlimited Gems and Gold

-

Gems and gold are the most important resources in Clash Royale. You need gems to buy chests, cards, emotes, skins, and more. You need gold to upgrade your cards and increase your level. However, gems and gold are very scarce and expensive in the game. You can only get them by completing quests, winning battles, opening chests, or spending real money.

-

With Clash Royale Mod APK, you don't have to worry about gems and gold anymore. You will have unlimited amounts of them in your account. You can use them to buy anything you want in the game without any limitations. You can also use them to speed up the chest opening process and get more cards faster.

-

All Cards Unlocked

-

Cards are the core element of Clash Royale. They are used to create your deck and fight against your opponents. There are four types of cards in the game: common, rare, epic, and legendary. Each card has its own strengths, weaknesses, abilities, and costs. You can collect cards by opening chests or buying them from the shop.

-

However, not all cards are easy to get in the game. Some cards are very rare and hard to find, especially the legendary ones. You may have to open hundreds of chests or spend thousands of gems to get them. And even if you get them, you still need to upgrade them to make them more powerful.

-

With Clash Royale Mod APK, you don't have to worry about cards anymore. You will have all the cards unlocked in the game from the start. You can use any card you want in your deck without any restrictions or costs. You can also upgrade them to the maximum level with just one click.

-

Custom Mods and Servers

-

Another feature of Clash Royale Mod APK is that you can play on custom mods and servers that offer different game modes and experiences. For example, you can play on a mod that gives you unlimited elixir, which means you can spam any card you want without worrying about the elixir cost. You can also play on a mod that lets you draft your deck from a random pool of cards, which adds more variety and challenge to the game. You can also play on a mod that lets you use cards from other Supercell games, such as Brawl Stars, Clash of Clans, or Boom Beach.

-

Moreover, you can play on custom servers that have different rules and settings than the official ones. For example, you can play on a server that has higher or lower trophy requirements, faster or slower chest opening times, more or less rewards, and more. You can also play on a server that has more players online, which means you can find matches faster and easier.

-

How to Download and Install Clash Royale Mod APK?

-

If you are interested in trying out Clash Royale Mod APK, then you need to follow these steps to download and install it on your Android device:

-

Step 1: Enable Unknown Sources

-

The first step is to enable unknown sources on your device. This will allow you to install apps that are not from the Google Play Store. To do this, go to your device settings, then security, then unknown sources, and turn it on. You may see a warning message, but don't worry, just tap OK.

-

Step 2: Download the APK File

-

The next step is to download the APK file of Clash Royale Mod APK. You can find many websites that offer this file, but be careful, some of them may contain viruses or malware. We recommend you to use this link, which is safe and reliable. Just click on the download button and wait for the file to be downloaded.

-

Step 3: Install the APK File

-

The third step is to install the APK file on your device. To do this, go to your file manager, then locate the downloaded file, then tap on it. You may see a pop-up message asking for your permission, just tap on install and wait for the process to finish.

-

Step 4: Launch the Game and Enjoy

-

The final step is to launch the game and enjoy it. To do this, go to your app drawer, then find the Clash Royale icon, then tap on it. You may see a loading screen, then a welcome message, then the game will start. You will notice that you have unlimited gems and gold, all cards unlocked, and access to custom mods and servers. You can now play the game as you wish and have fun!

-

Is Clash Royale Mod APK Safe and Legal?

-

Before you download and install Clash Royale Mod APK, you may have some questions about its safety and legality. Here are some answers to these questions:

-

Safety Issues

-

As we mentioned earlier, not all websites that offer Clash Royale Mod APK are safe and trustworthy. Some of them may contain viruses or malware that can harm your device or steal your personal information. That's why you should always use a reputable source like the one we provided above. You should also scan the file with an antivirus app before installing it.

-

Another safety issue is that using Clash Royale Mod APK may cause your account to be banned by Supercell, the developer of the original game. This is because using this mod violates their terms of service and fair play policy. Supercell has the right to detect and ban any account that uses any third-party software or modification that gives an unfair advantage over other players. Therefore, if you use Clash Royale Mod APK, you should do it at your own risk and responsibility.

-

Legal Issues

-

Besides safety issues, using Clash Royale Mod APK may also raise some legal issues. This is because using this mod infringes the intellectual property rights of Supercell, the developer of the original game. Supercell owns all the rights to the game content, such as graphics, sounds, characters, cards, etc. By modifying and distributing their game without their permission, you are violating their rights and breaking the law.

-

Therefore, if you use Clash Royale Mod APK, you should be aware of the potential legal consequences that may arise from it. You may face lawsuits or fines from Supercell or other parties involved in the game development or distribution. You may also face criminal charges depending on the laws of your country or region. Therefore, you should be careful and cautious when using Clash Royale Mod APK.

-

Conclusion

-

Clash Royale Mod APK is a modified version of the original Clash Royale game that gives you unlimited gems and gold, all cards unlocked, and access to custom mods and servers. It can be a fun and exciting way to enjoy the game without any limitations or restrictions. However, it also has some risks and drawbacks, such as safety and legal issues. You should always use a reliable source to download the APK file, scan it with an antivirus app, and use it at your own risk and responsibility. We hope this article has helped you understand how to download and install Clash Royale Mod APK on your Android device. Have fun and clash on!

-

FAQs

-

Here are some frequently asked questions about Clash Royale Mod APK:

-

197e85843d
-
-
\ No newline at end of file diff --git a/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/DLS 17 Mod Apk Unlock All Player and Play with Unlimited Money.md b/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/DLS 17 Mod Apk Unlock All Player and Play with Unlimited Money.md deleted file mode 100644 index 48d495c87bd3327045c20e9c330d5490ad2e71cf..0000000000000000000000000000000000000000 --- a/spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/DLS 17 Mod Apk Unlock All Player and Play with Unlimited Money.md +++ /dev/null @@ -1,94 +0,0 @@ -
-

Download DLS 17 Mod APK Unlock All Player: How to Enjoy the Ultimate Soccer Experience on Your Android Device

-

If you are a fan of soccer games, you have probably heard of Dream League Soccer (DLS), one of the most popular and realistic soccer games for mobile devices. DLS 17 is the latest edition of this game series, featuring amazing graphics, smooth animations, and addictive gameplay. However, if you want to take your soccer experience to the next level, you should consider downloading the mod apk version of DLS 17, which gives you access to unlimited money, all players unlocked, no ads, and many other features that will make you feel like a soccer superstar. In this article, we will show you what DLS 17 mod apk is, what are its benefits and risks, and how to download and install it on your android device.

-

What is DLS 17?

-

Dream League Soccer 17 (DLS 17) is an association football video game developed by British studio First Touch Games for iOS and Android devices. The game allows you to create and manage your own soccer team, advancing from the lower divisions of a fictitious league to the top division. You can also compete in league or cup matches against other teams from around the world. The game has the FIFPRO license, which means you can sign real-life players to your team via an in-game transfer market. The game also has a training mode where you can improve the skills of your players. The game has 3D graphics, realistic physics, stunning atmosphere, and tons of replay value.

-

download dls 17 mod apk unlock all player


Download Zip –––––>>> https://urlin.us/2uSZqT



-

What is DLS 17 Mod APK?

-

A mod apk is a modified version of an original app that has been altered by a third-party developer to add or remove some features. In this case, DLS 17 mod apk is a version of DLS 17 that has been hacked to give you unlimited money, all players unlocked, no ads, license fixed, and other enhancements that make the game more fun and easy to play. With DLS 17 mod apk, you don't have to worry about running out of coins, signing expensive players, watching annoying ads, or facing any errors. You can simply enjoy the game as you wish and customize your team to your liking.

-

Benefits of DLS 17 Mod APK

-

There are many benefits of downloading DLS 17 mod apk unlock all player, such as:

- -

Risks of DLS 17 Mod APK

-

However, there are also some risks of downloading DLS 17 mod apk unlock all player, such as:

- -

How to Download and Install DLS 17 Mod APK Unlock All Player on Your Android Device

-

If you are ready to download and install DLS 17 mod apk unlock all player on your android device, you need to follow these steps carefully:

-

Step 1: Allow Unknown Sources on Your Device

-

The first step is to enable the option to install apps from unknown sources on your device. This will allow you to install the mod apk file that is not from the Google Play Store. To do this, go to Settings > Security > Unknown Sources and toggle it on. You may see a warning message, but just tap OK to proceed.

-

Step 2: Install a File Manager App on Your Device

-

The next step is to install a file manager app on your device that can extract and install apk and obb files. There are many file manager apps available on the Google Play Store, but we recommend XAPKS Installer, which is a free and easy-to-use app that can handle both apk and obb files. To install XAPKS Installer, go to and tap Install. Then, open the app and grant it the necessary permissions.

-

download dls 17 mod apk unlimited money and players
-download dls 17 mod apk obb data with all players unlocked
-download dls 17 mod apk latest version unlock all players
-download dls 17 mod apk android 1 with all players unlocked
-download dls 17 mod apk revdl unlock all players and kits
-download dls 17 mod apk hack unlock all players and coins
-download dls 17 mod apk offline unlock all players and stadiums
-download dls 17 mod apk rexdl unlock all players and skills
-download dls 17 mod apk mega unlock all players and transfers
-download dls 17 mod apk pure unlock all players and teams
-download dls 17 mod apk free unlock all players and features
-download dls 17 mod apk full unlock all players and modes
-download dls 17 mod apk no root unlock all players and cheats
-download dls 17 mod apk update unlock all players and leagues
-download dls 17 mod apk vip unlock all players and badges
-download dls 17 mod apk pro unlock all players and ratings
-download dls 17 mod apk cracked unlock all players and trophies
-download dls 17 mod apk unlimited everything unlock all players
-download dls 17 mod apk for pc unlock all players and graphics
-download dls 17 mod apk for ios unlock all players and sounds
-download dls 17 mod apk online unlock all players and multiplayer
-download dls 17 mod apk new version unlock all players and kits
-download dls 17 mod apk old version unlock all players and legends
-download dls 17 mod apk original unlock all players and licenses
-download dls 17 mod apk best version unlock all players and quality
-download dls 17 mod apk easy install unlock all players and steps
-download dls 17 mod apk fast download unlock all players and speed
-download dls 17 mod apk direct link unlock all players and access
-download dls 17 mod apk mirror link unlock all players and backup
-download dls 17 mod apk mediafire link unlock all players and storage
-download dls 17 mod apk google drive link unlock all players and sync
-download dls 17 mod apk dropbox link unlock all players and share
-download dls 17 mod apk zippyshare link unlock all players and zip
-download dls 17 mod apk file upload link unlock all players and file
-download dls 17 mod apk uptodown link unlock all players and site
-download dls 17 mod apk apkpure link unlock all players and app
-download dls 17 mod apk apkmirror link unlock all players and mirror
-download dls 17 mod apk apknite link unlock all players and night mode
-download dls 17 mod apk apksfree link unlock all players and free apps
-download dls 17 mod apk apksfull link unlock all players and full apps

-

Step 3: Download the DLS 17 Mod APK and OBB Files to Your Device

-

The third step is to download the DLS 17 mod apk and obb files to your device. You can find these files from a reputable website, such as , which provides safe and fast downloads. To download these files, go to and tap Download. Then, wait for the files to be downloaded to your device.

-

Step 4: Install the DLS 17 Mod APK File on Your Device

-

The fourth step is to install the DLS 17 mod apk file on your device. To do this, locate and tap the mod apk file that you downloaded in Step 3. You may see a pop-up window asking you to confirm the installation. Tap Install and wait for the installation process to finish.

-

Step 5: Extract and Copy the OBB File to Your Device Storage

-

The fifth step is to extract and copy the obb file that you downloaded in Step 3 to your device storage. To do this, open XAPKS Installer and locate the obb file that has a zip icon. Tap the obb file and select Extract. Then, select the folder that says com.firsttouchgames.dls3 and tap Copy. Next, go to Internal Storage > Android > OBB and paste the folder there. Make sure that the folder name matches the obb file name.

-

Step 6: Launch the DLS 17 Mod APK App and Enjoy

-

The final step is to launch the DLS 17 mod apk app and enjoy the game. To do this, go to your app drawer and tap the DLS 17 icon. You may see a loading screen and some messages, but just wait for them to finish. Then, you can start playing the game with all players unlocked and unlimited money. You can also customize your team, change the settings, and access other features of the game.

-

Conclusion

-

DLS 17 is one of the best soccer games for android devices, but it can be even better with the mod apk version that unlocks all players and gives you unlimited money. In this article, we showed you what DLS 17 mod apk is, what are its benefits and risks, and how to download and install it on your android device. We hope you found this article helpful and informative. If you have any questions or feedback, please feel free to leave a comment below. Now, go ahead and download DLS 17 mod apk unlock all player and enjoy the ultimate soccer experience on your android device.

-

FAQs

-

Here are some frequently asked questions and answers about DLS 17 mod apk unlock all player:

-

Q: Is DLS 17 mod apk safe to download?

-

A: DLS 17 mod apk is safe to download if you get it from a trusted source, such as . However, you should always be careful when downloading any mod apk file from unknown sources, as they may contain malware or viruses that can harm your device or data.

-

Q: Is DLS 17 mod apk legal to use?

-

A: DLS 17 mod apk is not legal to use, as it violates the terms and conditions of the original app. You may face legal actions from the developers or publishers if you use the mod apk version. You may also lose your account or progress in the game if you get caught or reported.

-

Q: Can I play online with DLS 17 mod apk?

-

A: No, you cannot play online with DLS 17 mod apk, as it is not compatible with the official servers of the game. You can only play offline with the mod apk version. If you want to play online, you need to use the original version of the app.

-

Q: Can I update DLS 17 mod apk?

-

A: No, you cannot update DLS 17 mod apk, as it is not supported by the Google Play Store. You need to uninstall the mod apk version and install the latest original version of the app if you want to update it. However, you may lose your modded features and progress in the game if you do so.

-

Q: Can I use DLS 17 mod apk on iOS devices?

-

A: No, you cannot use DLS 17 mod apk on iOS devices, as it is only compatible with android devices. You need to use a jailbroken iOS device and a different method to install a modified version of the app on iOS devices.

197e85843d
-
-
\ No newline at end of file diff --git a/spaces/1phancelerku/anime-remove-background/Download Bus Simulator Ultimate Mod Apk 1.0 with Unlimited Money and Features.md b/spaces/1phancelerku/anime-remove-background/Download Bus Simulator Ultimate Mod Apk 1.0 with Unlimited Money and Features.md deleted file mode 100644 index ff5db297158ded509add4fb0a0d58c8ccb1355f6..0000000000000000000000000000000000000000 --- a/spaces/1phancelerku/anime-remove-background/Download Bus Simulator Ultimate Mod Apk 1.0 with Unlimited Money and Features.md +++ /dev/null @@ -1,65 +0,0 @@ -
-

Bus Simulator Ultimate Hack APK 1.0 7: How to Download and Install It

-

If you are a fan of simulation games, you might have heard of Bus Simulator Ultimate, a realistic and immersive game that lets you drive different buses across various countries and cities. In this game, you can create your own bus company, customize your buses, transport passengers, earn money, and compete with other players online. But what if you want to enjoy the game without any limitations or restrictions? That's where Bus Simulator Ultimate Hack APK 1.0 7 comes in handy. In this article, we will tell you what this hack is, how to download and install it, what are its benefits and drawbacks, and some FAQs about it.

-

bus simulator ultimate hack apk 1.0 7


DOWNLOADhttps://jinyurl.com/2uNLid



-

What is Bus Simulator Ultimate?

-

Bus Simulator Ultimate is a popular simulation game developed by Zuuks Games, a Turkish game studio that also created other games like Truck Simulator 2018: Europe and Euro Truck Driver 2018. The game was released in June 2019 and has since gained over 100 million downloads on Google Play Store and over 4 million ratings with an average of 4.3 stars.

-

The game is designed to give you a realistic experience of driving different buses across various countries and cities, such as Germany, Turkey, Italy, France, Spain, USA, Brazil, Russia, China, Japan, and more. You can choose from over 30 different buses with realistic interiors and sounds, such as Mercedes-Benz, Setra, Volvo, MAN, Scania, IVECO, and more. You can also customize your buses with different skins, stickers, accessories, horns, lights, etc.

-

As a bus driver, you have to transport passengers from one place to another, following the traffic rules and regulations, avoiding accidents and collisions, managing your fuel consumption and maintenance costs, dealing with different weather conditions and road situations, etc. You can also create your own bus company, hire drivers, expand your routes, earn money, and compete with other players online in multiplayer mode.

-

Why do you need Bus Simulator Ultimate Hack APK 1.0 7?

-

Bus Simulator Ultimate is a fun and addictive game that can keep you entertained for hours. However, it also has some limitations and challenges that might frustrate you or make you lose interest in the game. For example:

- -

If you want to avoid these limitations or challenges and enjoy the game without any restrictions or interruptions, you might want to try Bus Simulator Ultimate Hack APK 1.0 7. This is a modified version of the original game that gives you access to unlimited money and gold , all buses unlocked and upgraded, no ads and no root required, and other hack features that will make your gameplay easier and more enjoyable.

-

How to download and install Bus Simulator Ultimate Hack APK 1.0 7?

-

If you are interested in trying Bus Simulator Ultimate Hack APK 1.0 7, you need to follow these simple steps to download and install it on your device:

-

Step 1: Enable unknown sources on your device

-

Before you can install any APK file on your device, you need to enable the option of unknown sources in your settings. This will allow you to install apps from sources other than the official Google Play Store. To do this, go to your device settings, then security, then unknown sources, and toggle it on.

-

[Bus Simulator : Ultimate Mod Apk 1.0 [Unlimited money] APK](^1^)

-

Step 2: Download the APK file from a trusted source

-

Next, you need to download the APK file of Bus Simulator Ultimate Hack APK 1.0 7 from a trusted source. There are many websites that offer this file, but you need to be careful as some of them might contain malware or viruses that can harm your device or steal your data. To avoid this, you can use the link below to download the APK file safely and securely:

-

Bus Simulator Ultimate Hack APK 1.0 7 Download Link

-

Step 3: Install the APK file on your device

-

After you have downloaded the APK file, you need to install it on your device. To do this, locate the file in your downloads folder or wherever you saved it, and tap on it. You will see a pop-up window asking you to confirm the installation. Tap on install and wait for the process to finish.

-

Step 4: Launch the game and enjoy the hack features

-

Finally, you can launch the game and enjoy the hack features. You will see that you have unlimited money and gold, all buses unlocked and upgraded, no ads and no root required, and other hack features that will make your gameplay easier and more enjoyable. You can now drive any bus you want, customize it as you like, transport passengers without any hassle, create your own bus company, compete with other players online, and have fun!

-

What are the benefits of using Bus Simulator Ultimate Hack APK 1.0 7?

-

Using Bus Simulator Ultimate Hack APK 1.0 7 has many benefits that will enhance your gaming experience and satisfaction. Some of these benefits are:

-

Unlimited money and gold

-

With unlimited money and gold, you can buy anything you want in the game without worrying about running out of resources or spending real money. You can buy new buses or upgrade them with different features and accessories. You can also buy VIP membership or gems that will give you more advantages and perks in the game.

-

All buses unlocked and upgraded

-

With all buses unlocked and upgraded, you can choose from over 30 different buses with realistic interiors and sounds, such as Mercedes-Benz, Setra, Volvo, MAN, Scania, IVECO, and more. You can also customize your buses with different skins, stickers, accessories, horns, lights, etc. You can drive any bus you want across various countries and cities without any limitations or restrictions.

-

No ads and no root required

-

With no ads and no root required, you can enjoy the game without any interruptions or annoyances. You don't have to watch ads or videos to get some rewards or bonuses in the game. You also don't have to root your device to use the hack features. This will save you time and effort and protect your device from potential risks.

What are the drawbacks of using Bus Simulator Ultimate Hack APK 1.0 7?

-

Using Bus Simulator Ultimate Hack APK 1.0 7 also has some drawbacks that you should be aware of before you decide to use it. Some of these drawbacks are:

-

Risk of malware and viruses

-

Since you are downloading and installing an APK file from an unknown source, you are exposing your device to the risk of malware and viruses that can harm your device or steal your data. Some of these malware and viruses can also affect your gameplay or performance, such as slowing down your device, crashing your game, deleting your files, etc. To avoid this, you should always scan the APK file with a reliable antivirus software before installing it.

-

Risk of banning and suspension

-

Since you are using a modified version of the original game that gives you unfair advantages over other players, you are violating the terms and conditions of the game developers and publishers. This means that they can detect your hack and ban or suspend your account from the game. This will result in losing your game progress and data, as well as being unable to play the game online or offline. To avoid this, you should always use the hack with caution and discretion, and avoid using it in multiplayer mode or online competitions.

-

Risk of losing game progress and data

-

Since you are using a modified version of the original game that is not compatible with the official updates or patches, you are risking losing your game progress and data if you update or uninstall the game. This means that you will have to start from scratch or lose some of your achievements or rewards in the game. To avoid this, you should always backup your game data before updating or uninstalling the game, and use a cloud service or an external storage device to save your data.

-

Conclusion

-

Bus Simulator Ultimate is a realistic and immersive simulation game that lets you drive different buses across various countries and cities. However, if you want to enjoy the game without any limitations or restrictions, you might want to try Bus Simulator Ultimate Hack APK 1.0 7. This is a modified version of the original game that gives you access to unlimited money and gold, all buses unlocked and upgraded, no ads and no root required, and other hack features that will make your gameplay easier and more enjoyable. However, using this hack also has some drawbacks, such as risk of malware and viruses, risk of banning and suspension, and risk of losing game progress and data. Therefore, you should weigh the pros and cons before using this hack, and always use it with caution and discretion.

-

We hope this article has helped you understand what Bus Simulator Ultimate Hack APK 1.0 7 is, how to download and install it, what are its benefits and drawbacks, and some FAQs about it. If you have any questions or feedback, please feel free to leave a comment below. Thank you for reading!

-

FAQs

-

Here are some frequently asked questions about Bus Simulator Ultimate Hack APK 1.0 7:

-
    -
  1. Is Bus Simulator Ultimate Hack APK 1.0 7 safe to use?
  2. -

    Bus Simulator Ultimate Hack APK 1.0 7 is not completely safe to use, as it can expose your device to malware and viruses, as well as get your account banned or suspended from the game. Therefore, you should always scan the APK file with a reliable antivirus software before installing it, use the hack with caution and discretion, and avoid using it in multiplayer mode or online competitions.

    -
  3. Is Bus Simulator Ultimate Hack APK 1.0 7 free to use?
  4. -

    Yes, Bus Simulator Ultimate Hack APK 1.0 7 is free to use, as you don't have to pay any money to download or install it on your device. However, you might have to watch some ads or videos to access some of the hack features in the game.

    -
  5. Does Bus Simulator Ultimate Hack APK 1.0 7 work on all devices?
  6. -

    No, Bus Simulator Ultimate Hack APK 1.0 7 does not work on all devices, as it requires Android version 5.0 or higher to run on your device. It also requires at least 2 GB of RAM and 500 MB of free storage space on your device.

    -
  7. Can I update Bus Simulator Ultimate Hack APK 1.0 7?
  8. -

    No, you cannot update Bus Simulator Ultimate Hack APK 1.0 7, as it is not compatible with the official updates or patches from the game developers and publishers. If you update the game, you will lose the hack features and your game progress and data . To avoid this, you should always backup your game data before updating or uninstalling the game, and use a cloud service or an external storage device to save your data.

    -
  9. Where can I get more information about Bus Simulator Ultimate Hack APK 1.0 7?
  10. -

    If you want to get more information about Bus Simulator Ultimate Hack APK 1.0 7, you can visit the official website of the game developers and publishers, or the official social media pages of the game, such as Facebook, Twitter, Instagram, YouTube, etc. You can also join the online community of the game, such as forums, blogs, groups, etc., where you can interact with other players and share your tips, tricks, feedback, suggestions, etc.

    -

197e85843d
-
-
\ No newline at end of file diff --git a/spaces/52Hz/SRMNet_thesis/main_test_SRMNet.py b/spaces/52Hz/SRMNet_thesis/main_test_SRMNet.py deleted file mode 100644 index 8c2fcca2cf7fa89cf64bf9ae7a6003c5d69df51e..0000000000000000000000000000000000000000 --- a/spaces/52Hz/SRMNet_thesis/main_test_SRMNet.py +++ /dev/null @@ -1,117 +0,0 @@ -import torch -import torchvision.transforms.functional as TF -import torch.nn.functional as F -from PIL import Image -import cv2 -import os -from skimage import img_as_ubyte -from tqdm import tqdm -from natsort import natsorted -import glob -import argparse -from model_arch.SRMNet_SWFF import SRMNet_SWFF -from model_arch.SRMNet import SRMNet - -tasks = ['Deblurring_motionblur', - 'Dehaze_realworld', - 'Denoise_gaussian', - 'Denoise_realworld', - 'Deraining_raindrop', - 'Deraining_rainstreak', - 'LLEnhancement', - 'Retouching'] - -def main(): - parser = argparse.ArgumentParser(description='Quick demo Image Restoration') - parser.add_argument('--input_dir', default='./test/', type=str, help='Input images root') - parser.add_argument('--result_dir', default='./result/', type=str, help='Results images root') - parser.add_argument('--weights_root', default='experiments/pretrained_models', type=str, help='Weights root') - parser.add_argument('--task', default='Retouching', type=str, help='Restoration task (Above task list)') - - args = parser.parse_args() - - # Prepare testing data - files = natsorted(glob.glob(os.path.join(args.input_dir, '*'))) - if len(files) == 0: - raise Exception(f"No files found at {args.input_dir}") - os.makedirs(args.result_dir, exist_ok=True) - device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') - # Build model - model = define_model(args) - model.eval() - model = model.to(device) - - print('restoring images......') - - mul = 16 - - for i, file_ in enumerate(tqdm(files)): - img = Image.open(file_).convert('RGB') - input_ = TF.to_tensor(img).unsqueeze(0).to(device) - - # Pad the input if not_multiple_of 8 - h, w = input_.shape[2], input_.shape[3] - H, W = ((h + mul) // mul) * mul, ((w + mul) // mul) * mul - padh = H - h if h % mul != 0 else 0 - padw = W - w if w % mul != 0 else 0 - input_ = F.pad(input_, (0, padw, 0, padh), 'reflect') - with torch.no_grad(): - restored = model(input_) - - restored = torch.clamp(restored, 0, 1) - restored = restored[:, :, :h, :w] - restored = restored.permute(0, 2, 3, 1).cpu().detach().numpy() - restored = img_as_ubyte(restored[0]) - - f = os.path.splitext(os.path.split(file_)[-1])[0] - save_img((os.path.join(args.result_dir, f + '.png')), restored) - print('{}'.format(os.path.join(args.result_dir, f + '.png'))) - clean_folder(args.input_dir) - print('finish !') - - -def define_model(args): - # Enhance models - if args.task in ['LLEnhancement', 'Retouching']: - model = SRMNet(in_chn=3, wf=96, depth=4) - weight_path = os.path.join(args.weights_root, args.task + '.pth') - load_checkpoint(model, weight_path) - - # Restored models - else: - model = SRMNet_SWFF(in_chn=3, wf=96, depth=4) - weight_path = os.path.join(args.weights_root, args.task + '.pth') - load_checkpoint(model, weight_path) - - return model - -def save_img(filepath, img): - cv2.imwrite(filepath, cv2.cvtColor(img, cv2.COLOR_RGB2BGR)) - - -def load_checkpoint(model, weights): - checkpoint = torch.load(weights, map_location=torch.device('cpu')) - try: - model.load_state_dict(checkpoint["state_dict"]) - except: - state_dict = checkpoint["state_dict"] - new_state_dict = OrderedDict() - for k, v in state_dict.items(): - name = k[7:] # remove `module.` - new_state_dict[name] = v - model.load_state_dict(new_state_dict) - -def clean_folder(folder): - for filename in os.listdir(folder): - file_path = os.path.join(folder, filename) - try: - if os.path.isfile(file_path) or os.path.islink(file_path): - os.unlink(file_path) - elif os.path.isdir(file_path): - shutil.rmtree(file_path) - except Exception as e: - print('Failed to delete %s. Reason: %s' % (file_path, e)) - - -if __name__ == '__main__': - main() diff --git a/spaces/AISuperheroes/08GR-KitchenSink-AIUIUX/README.md b/spaces/AISuperheroes/08GR-KitchenSink-AIUIUX/README.md deleted file mode 100644 index 2275ae9cd95158f64d4424074c4b33fe1722b0ba..0000000000000000000000000000000000000000 --- a/spaces/AISuperheroes/08GR-KitchenSink-AIUIUX/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: 08GR KitchenSink AIUIUX -emoji: 📈 -colorFrom: purple -colorTo: indigo -sdk: gradio -sdk_version: 3.6 -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/AIZ2H/Gradio331-3D-Models-AI-1/files/Readme.md b/spaces/AIZ2H/Gradio331-3D-Models-AI-1/files/Readme.md deleted file mode 100644 index ba3cbde04295450ab0d39ad8c05f7d568795f361..0000000000000000000000000000000000000000 --- a/spaces/AIZ2H/Gradio331-3D-Models-AI-1/files/Readme.md +++ /dev/null @@ -1,2 +0,0 @@ -Duck & Fox: -https://github.com/KhronosGroup/glTF-Sample-Models \ No newline at end of file diff --git a/spaces/AIatUIUC/CodeLATS/generators/py_generate.py b/spaces/AIatUIUC/CodeLATS/generators/py_generate.py deleted file mode 100644 index 0e9576e9f25f68989e309f07429bdfea8c6a482a..0000000000000000000000000000000000000000 --- a/spaces/AIatUIUC/CodeLATS/generators/py_generate.py +++ /dev/null @@ -1,404 +0,0 @@ -from generators.model import ModelBase, message_to_str -from .generator_types import Generator -from .generator_utils import generic_generate_func_impl, generic_generate_internal_tests, generic_generate_self_reflection, generate_with_accumulated_context - -from typing import Optional, List, Union -import ast -import re -from .parse import parse_code_block, add_code_block - -PY_SIMPLE_COMPLETION_INSTRUCTION = "# Write the body of this function only." -PY_REFLEXION_COMPLETION_INSTRUCTION = "You are a Python writing assistant. You will be given your past function implementation, a series of unit tests, and a hint to change the implementation appropriately. Write your full implementation (restate the function signature).\n\n-----" -PY_SELF_REFLECTION_COMPLETION_INSTRUCTION = "You are a Python writing assistant. You will be given a function implementation and a series of unit tests. Your goal is to write a few sentences to explain why your implementation is wrong as indicated by the tests. You will need this as a hint when you try again later. Only provide the few sentence description in your answer, not the implementation.\n\n-----" -USE_PYTHON_CODEBLOCK_INSTRUCTION = "Use a Python code block to write your response. For example:\n```python\nprint('Hello world!')\n```" - -PY_SIMPLE_CHAT_INSTRUCTION = "You are an AI that only responds with python code, NOT ENGLISH. You will be given a function signature and its docstring by the user. Write your full implementation (restate the function signature)." -PY_SIMPLE_CHAT_INSTRUCTION_V2 = "You are an AI that only responds with only python code. You will be given a function signature and its docstring by the user. Write your full implementation (restate the function signature)." -PY_REFLEXION_CHAT_INSTRUCTION = "You are an AI Python assistant. You will be given your past function implementation, a series of unit tests, and a hint to change the implementation appropriately. Write your full implementation (restate the function signature)." -PY_REFLEXION_CHAT_INSTRUCTION_V2 = "You are an AI Python assistant. You will be given your previous implementation of a function, a series of unit tests results, and your self-reflection on your previous implementation. Write your full implementation (restate the function signature)." -PY_REFLEXION_FEW_SHOT_ADD = '''Example 1: -[previous impl]: -```python -def add(a: int, b: int) -> int: - """ - Given integers a and b, return the total value of a and b. - """ - return a - b -``` - -[unit test results from previous impl]: -Tested passed: - -Tests failed: -assert add(1, 2) == 3 # output: -1 -assert add(1, 2) == 4 # output: -1 - -[reflection on previous impl]: -The implementation failed the test cases where the input integers are 1 and 2. The issue arises because the code does not add the two integers together, but instead subtracts the second integer from the first. To fix this issue, we should change the operator from `-` to `+` in the return statement. This will ensure that the function returns the correct output for the given input. - -[improved impl]: -```python -def add(a: int, b: int) -> int: - """ - Given integers a and b, return the total value of a and b. - """ - return a + b -``` -''' - -PY_REFLEXION_FEW_SHOT = '''Example 1: -[previous impl]: -```python -from typing import * -def fullJustify(words: List[str], maxWidth: int) -> List[str]: - """ - Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified. - You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces `' '` when necessary so that each line has exactly maxWidth characters. - Extra spaces between words should be distributed as evenly as possible. If the number of spaces on a line do not divide evenly between words, the empty slots on the left will be assigned more spaces than the slots on the right. - For the last line of text, it should be left justified and no extra space is inserted between words. - Note: - A word is defined as a character sequence consisting of non-space characters only. - Each word's length is guaranteed to be greater than 0 and not exceed maxWidth. - The input array `words` contains at least one word. - """ - res = [] - cur_line = [] - cur_len = 0 - - for word in words: - if cur_len + len(word) + len(cur_line) > maxWidth: - if len(cur_line) == 1: - res.append(cur_line[0] + ' ' * (maxWidth - cur_len)) - else: - spaces = maxWidth - cur_len - space_between = spaces // (len(cur_line) - 1) - extra_spaces = spaces % (len(cur_line) - 1) - line = '' - for i, w in enumerate(cur_line[:-1]): - line += w + ' ' * (space_between + (i < extra_spaces)) - line += cur_line[-1] - res.append(line) - cur_line = [] - cur_len = 0 - cur_line.append(word) - cur_len += len(word) - - last_line = ' '.join(cur_line) - last_line += ' ' * (maxWidth - len(last_line)) - res.append(last_line) - - return res -``` - -[unit test results from previous impl]: -Tested passed: - -Tests failed: -assert fullJustify([], 10) == [] # output: [' '] -assert fullJustify([], 0) == [] # output: [''] - -[reflection on previous impl]: -The implementation failed the test cases where the input list of words is empty. The issue arises because the code does not handle the case where there are no words to process. As a result, it still appends a line with spaces to the result list, even when there are no words. To fix this issue, we should add a condition at the beginning of the function to check if the input list is empty, and return an empty list if it is. This will ensure that the function returns the correct output for empty input lists. - -[improved impl]: -```python -from typing import * -def fullJustify(words: List[str], maxWidth: int) -> List[str]: - """ - Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified. - You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces `' '` when necessary so that each line has exactly maxWidth characters. - Extra spaces between words should be distributed as evenly as possible. If the number of spaces on a line do not divide evenly between words, the empty slots on the left will be assigned more spaces than the slots on the right. - For the last line of text, it should be left justified and no extra space is inserted between words. - Note: - A word is defined as a character sequence consisting of non-space characters only. - Each word's length is guaranteed to be greater than 0 and not exceed maxWidth. - The input array `words` contains at least one word. - """ - if not words: - return [] - - res = [] - cur_line = [] - cur_len = 0 - - for word in words: - if cur_len + len(word) + len(cur_line) > maxWidth: - if len(cur_line) == 1: - res.append(cur_line[0] + ' ' * (maxWidth - cur_len)) - else: - spaces = maxWidth - cur_len - space_between = spaces // (len(cur_line) - 1) - extra_spaces = spaces % (len(cur_line) - 1) - line = '' - for i, w in enumerate(cur_line[:-1]): - line += w + ' ' * (space_between + (i < extra_spaces)) - line += cur_line[-1] - res.append(line) - cur_line = [] - cur_len = 0 - cur_line.append(word) - cur_len += len(word) - - last_line = ' '.join(cur_line) - last_line += ' ' * (maxWidth - len(last_line)) - res.append(last_line) - - return res -``` -END EXAMPLES - -''' -PY_SELF_REFLECTION_CHAT_INSTRUCTION = "You are a Python programming assistant. You will be given a function implementation and a series of unit tests. Your goal is to write a few sentences to explain why your implementation is wrong as indicated by the tests. You will need this as a hint when you try again later. Only provide the few sentence description in your answer, not the implementation." -PY_SELF_REFLECTION_CHAT_INSTRUCTION_V2 = "You are a Python programming assistant. You will be given a function implementation and a series of unit test results. Your goal is to write a few sentences to explain why your implementation is wrong as indicated by the tests. You will need this as guidance when you try again later. Only provide the few sentence description in your answer, not the implementation. You will be given a few examples by the user." -PY_SELF_REFLECTION_FEW_SHOT = """Example 1: -[function impl]: -```python -def longest_subarray_with_sum_limit(nums: List[int], target: int) -> List[int]: - n = len(nums) - left, right = 0, 0 - max_length = 0 - current_sum = 0 - result = [] - while right < n: - current_sum += nums[right] - while current_sum > target: - current_sum -= nums[left] - left += 1 - if right - left + 1 >= max_length: - max_length = right - left + 1 - result = nums[left:right+1] - right += 1 - return result -``` -[unit test results]: -Tests passing: -assert longest_subarray_with_sum_limit([1, 2, 3, 4, 5], 8) == [1, 2, 3] -assert longest_subarray_with_sum_limit([1, 2, 3, 4, 5], 15) == [1, 2, 3, 4, 5] -assert longest_subarray_with_sum_limit([1, -1, 2, -2, 3, -3], 2) == [1, -1, 2, -2, 3] -assert longest_subarray_with_sum_limit([], 10) == [] -assert longest_subarray_with_sum_limit([], 0) == [] -assert longest_subarray_with_sum_limit([], -5) == [] -Tests failing: -assert longest_subarray_with_sum_limit([5, 6, 7, 8, 9], 4) == [] # output: [5] -[self-reflection]: -The implementation failed the where no subarray fulfills the condition. The issue in the implementation is due to the use of >= instead of > in the condition to update the result. Because of this, it returns a subarray even when the sum is greater than the target, as it still updates the result when the current subarray length is equal to the previous longest subarray length. To overcome this error, we should change the condition to only update the result when the current subarray length is strictly greater than the previous longest subarray length. This can be done by replacing >= with > in the condition. - -Example 2: -[function impl]: -```python -def longest_subarray_with_sum_limit(nums: List[int], target: int) -> List[int]: - n = len(nums) - left, right = 0, 0 - max_length = 0 - current_sum = 0 - result = [] - while current_sum + nums[right] <= target: - current_sum += nums[right] - right += 1 - while right < n: - current_sum += nums[right] - while current_sum > target: - current_sum -= nums[left] - left += 1 - if right - left + 1 > max_length: - max_length = right - left + 1 - result = nums[left:right+1] - right += 1 - return result -``` -[unit test results]: -Tests passing: -assert longest_subarray_with_sum_limit([], 10) == [] -assert longest_subarray_with_sum_limit([], 0) == [] -assert longest_subarray_with_sum_limit([], -5) == [] -Tests failing: -assert longest_subarray_with_sum_limit([1, 2, 3, 4, 5], 8) == [1, 2, 3] # output: list index out of range -assert longest_subarray_with_sum_limit([1, 2, 3, 4, 5], 15) == [1, 2, 3, 4, 5] # output: list index out of range -assert longest_subarray_with_sum_limit([5, 6, 7, 8, 9], 4) == [] # output: list index out of range -assert longest_subarray_with_sum_limit([1, -1, 2, -2, 3, -3], 2) == [1, -1, 2, -2, 3] # output: list index out of range -[self-reflection]: -The implementation failed 4 out of the 7 test cases due to an IndexError. The issue stems from the while loop while current_sum + nums[right] <= target:, which directly accesses nums[right] without checking if right is within the bounds of the list. This results in a runtime error when right goes beyond the list length. To overcome this error, we need to add a bounds check for the right variable in the mentioned while loop. We can modify the loop condition to while right < len(nums) and current_sum + nums[right] <= target:. This change will ensure that we only access elements within the bounds of the list, thus avoiding the IndexError. -END OF EXAMPLES -""" - -PY_TEST_GENERATION_FEW_SHOT = """Examples: -func signature: -def add3Numbers(x, y, z): - \"\"\" Add three numbers together. - This function takes three numbers as input and returns the sum of the three numbers. - \"\"\" -unit tests: -assert add3Numbers(1, 2, 3) == 6 -assert add3Numbers(-1, 2, 3) == 4 -assert add3Numbers(1, -2, 3) == 2 -assert add3Numbers(1, 2, -3) == 0 -assert add3Numbers(-3, -2, -1) == -6 -assert add3Numbers(0, 0, 0) == 0 -""" - -PY_TEST_GENERATION_COMPLETION_INSTRUCTION = f"""You are an AI coding assistant that can write unique, diverse, and intuitive unit tests for functions given the signature and docstring. Call your function answer(). - -{PY_TEST_GENERATION_FEW_SHOT}""" - -PY_TEST_GENERATION_CHAT_INSTRUCTION = """You are an AI coding assistant that can write unique, diverse, and intuitive unit tests for functions given the signature and docstring. Call your function answer().""" - - -class PyGenerator(Generator): - def self_reflection(self, func: str, feedback: str, model: ModelBase) -> str: - return generic_generate_self_reflection( - func=func, - feedback=feedback, - model=model, - self_reflection_chat_instruction=PY_SELF_REFLECTION_CHAT_INSTRUCTION, - self_reflection_completion_instruction=PY_SELF_REFLECTION_COMPLETION_INSTRUCTION, - add_code_block=lambda x: add_code_block(x, "python"), - self_reflection_few_shot=PY_SELF_REFLECTION_FEW_SHOT - ) - - def func_impl( - self, - func_sig: str, - model: ModelBase, - strategy: str, - prev_func_impl: Optional[str] = None, - feedback: Optional[str] = None, - self_reflection: Optional[str] = None, - num_comps: int = 1, - temperature: float = 0.8, - acc_feedback: Optional[str] = None, - acc_reflection: Optional[str] = None, - ) -> Union[str, List[str]]: - if strategy == "mcts": - return generate_with_accumulated_context( - func_sig=func_sig, - model=model, - strategy="reflexion", - prev_func_impl=prev_func_impl, - accumulated_feedback=acc_feedback, - accumulated_reflection=acc_reflection, - num_comps=num_comps, - temperature=temperature, - reflexion_chat_instruction=PY_REFLEXION_CHAT_INSTRUCTION, - reflexion_few_shot=PY_REFLEXION_FEW_SHOT_ADD, - simple_chat_instruction=PY_SIMPLE_CHAT_INSTRUCTION, - reflexion_completion_instruction=PY_REFLEXION_COMPLETION_INSTRUCTION, - simple_completion_instruction=PY_SIMPLE_COMPLETION_INSTRUCTION, - code_block_instruction=USE_PYTHON_CODEBLOCK_INSTRUCTION, - parse_code_block=lambda x: parse_code_block(x, "python"), - add_code_block=lambda x: add_code_block(x, "python"), - ) - else: - return generic_generate_func_impl( - func_sig=func_sig, - model=model, - strategy=strategy, - prev_func_impl=prev_func_impl, - feedback=feedback, - self_reflection=self_reflection, - num_comps=num_comps, - temperature=temperature, - reflexion_chat_instruction=PY_REFLEXION_CHAT_INSTRUCTION, - reflexion_few_shot=PY_REFLEXION_FEW_SHOT_ADD, - simple_chat_instruction=PY_SIMPLE_CHAT_INSTRUCTION, - reflexion_completion_instruction=PY_REFLEXION_COMPLETION_INSTRUCTION, - simple_completion_instruction=PY_SIMPLE_COMPLETION_INSTRUCTION, - code_block_instruction=USE_PYTHON_CODEBLOCK_INSTRUCTION, - parse_code_block=lambda x: parse_code_block(x, "python"), - add_code_block=lambda x: add_code_block(x, "python"), - ) - - def internal_tests(self, func_sig: str, model: ModelBase, max_num_tests: int = 4) -> List[str]: - def parse_tests(tests: str) -> List[str]: - return [test.strip() for test in tests.splitlines() if "assert" in test] - """ - Generates tests for a function. - """ - return generic_generate_internal_tests( - func_sig=func_sig, - model=model, - max_num_tests=max_num_tests, - test_generation_few_shot=PY_TEST_GENERATION_FEW_SHOT, - test_generation_chat_instruction=PY_TEST_GENERATION_CHAT_INSTRUCTION, - test_generation_completion_instruction=PY_TEST_GENERATION_COMPLETION_INSTRUCTION, - parse_tests=parse_tests, - is_syntax_valid=py_is_syntax_valid, - ) - - -DUMMY_FUNC_SIG = "def func():" -DUMMY_FUNC_CALL = "func()" - - -def handle_first_line_indent(func_body: str) -> str: - if func_body.startswith(" "): - return func_body - split = func_body.splitlines() - return f" {split[0]}\n" + "\n".join(split[1:]) - - -def handle_entire_body_indent(func_body: str) -> str: - split = func_body.splitlines() - res = "\n".join([" " + line for line in split]) - return res - - -def fix_turbo_response(func_body: str) -> str: - return fix_markdown(remove_unindented_signatures(func_body)) - - -def fix_markdown(func_body: str) -> str: - return re.sub("`{3}", "", func_body) - - -def remove_unindented_signatures(code: str) -> str: - regex = r"^def\s+\w+\s*\(" - - before_signature = [] - after_signature = [] - signature_found = False - - for line in code.split("\n"): - if re.match(regex, line): - signature_found = True - continue - - if signature_found: - after_signature.append(line) - else: - if not line.startswith(" ") and line.strip(): - line = " " + line - before_signature.append(line) - - return "\n".join(before_signature + after_signature) - - -def py_fix_indentation(func_body: str) -> str: - func_body = fix_turbo_response(func_body) - """ - 3 cases: - 1. good syntax - 2. first line not good - 3. entire body not good - """ - def parse_indent_rec(f_body: str, cur_state: int) -> str: - f_body = fix_markdown(f_body) - if cur_state > 1: - return f_body - code = f'{DUMMY_FUNC_SIG}\n{f_body}\n{DUMMY_FUNC_CALL}' - try: - exec(code) - return f_body - except (IndentationError, SyntaxError): - p_func = handle_first_line_indent if cur_state == 0 else handle_entire_body_indent - return parse_indent_rec(p_func(func_body), cur_state + 1) - except Exception: - return f_body - return parse_indent_rec(func_body, 0) - - -def py_is_syntax_valid(code: str) -> bool: - try: - ast.parse(code) - return True - except Exception: - return False diff --git a/spaces/AUBMC-AIM/MammoGANesis/README.md b/spaces/AUBMC-AIM/MammoGANesis/README.md deleted file mode 100644 index 0013fdb3edd85717040725803aee03aacc2c1809..0000000000000000000000000000000000000000 --- a/spaces/AUBMC-AIM/MammoGANesis/README.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: MammoGANesis -emoji: 🔥 -colorFrom: blue -colorTo: yellow -sdk: gradio -app_file: app.py -pinned: false ---- - -# Configuration - -`title`: _string_ -Display title for the Space - -`emoji`: _string_ -Space emoji (emoji-only character allowed) - -`colorFrom`: _string_ -Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray) - -`colorTo`: _string_ -Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray) - -`sdk`: _string_ -Can be either `gradio`, `streamlit`, or `static` - -`sdk_version` : _string_ -Only applicable for `streamlit` SDK. -See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions. - -`app_file`: _string_ -Path to your main application file (which contains either `gradio` or `streamlit` Python code, or `static` html code). -Path is relative to the root of the repository. - -`models`: _List[string]_ -HF model IDs (like "gpt2" or "deepset/roberta-base-squad2") used in the Space. -Will be parsed automatically from your code if not specified here. - -`datasets`: _List[string]_ -HF dataset IDs (like "common_voice" or "oscar-corpus/OSCAR-2109") used in the Space. -Will be parsed automatically from your code if not specified here. - -`pinned`: _boolean_ -Whether the Space stays on top of your list. diff --git a/spaces/Ababababababbababa/Ashaar/poetry_diacritizer/models/__init__.py b/spaces/Ababababababbababa/Ashaar/poetry_diacritizer/models/__init__.py deleted file mode 100644 index 750e4bee526b17e354cbb6dcdda8e5ea759e9634..0000000000000000000000000000000000000000 --- a/spaces/Ababababababbababa/Ashaar/poetry_diacritizer/models/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from . import baseline -from . import cbhg -from . import gpt -from . import seq2seq -from . import tacotron_based \ No newline at end of file diff --git a/spaces/AdamOswald1/finetuned_diffusion/style.css b/spaces/AdamOswald1/finetuned_diffusion/style.css deleted file mode 100644 index 9bfa78cc983f84693cf7cbab1e3bfd0e0d36c944..0000000000000000000000000000000000000000 --- a/spaces/AdamOswald1/finetuned_diffusion/style.css +++ /dev/null @@ -1,24 +0,0 @@ -.finetuned-diffusion-div div{ - display:inline-flex; - align-items:center; - gap:.8rem; - font-size:1.75rem -} -.finetuned-diffusion-div div h1{ - font-weight:900; - margin-bottom:7px -} -.finetuned-diffusion-div p{ - margin-bottom:10px; - font-size:94% -} -a{ - text-decoration:underline -} -.tabs{ - margin-top:0; - margin-bottom:0 -} -#gallery{ - min-height:20rem -} diff --git a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/containerlite-plugin.js b/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/containerlite-plugin.js deleted file mode 100644 index bac1f94a2a83731c5b2d8084a73d410dd8a7c4c7..0000000000000000000000000000000000000000 --- a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/containerlite-plugin.js +++ /dev/null @@ -1,27 +0,0 @@ -import Factory from './gameobjects/container/containerlite/Factory.js'; -import Creator from './gameobjects/container/containerlite/Creator.js'; -import ContainerLite from './gameobjects/container/containerlite/ContainerLite.js'; -import SetValue from './utils/object/SetValue.js'; - -class ContainerLitePlugin extends Phaser.Plugins.BasePlugin { - - constructor(pluginManager) { - super(pluginManager); - - // Register our new Game Object type - pluginManager.registerGameObject('rexContainerLite', Factory, Creator); - } - - start() { - var eventEmitter = this.game.events; - eventEmitter.on('destroy', this.destroy, this); - } - - getParent(child) { - return ContainerLite.GetParent(child); - } -} - -SetValue(window, 'RexPlugins.GameObjects.ContainerLite', ContainerLite); - -export default ContainerLitePlugin; \ No newline at end of file diff --git a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/ProportionMethods.js b/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/ProportionMethods.js deleted file mode 100644 index 23a2d83314e3a4fb03068dddd8d48bd19a1f71f3..0000000000000000000000000000000000000000 --- a/spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/ProportionMethods.js +++ /dev/null @@ -1,11 +0,0 @@ -export default { - getChildProportion(gameObject) { - return this.getSizerConfig(gameObject).proportion; - }, - - setChildProportion(gameObject, proportion) { - this.getSizerConfig(gameObject).proportion = proportion; - return this; - }, - -} \ No newline at end of file diff --git a/spaces/AlekseyCalvin/Make-Putin-Queer/README.md b/spaces/AlekseyCalvin/Make-Putin-Queer/README.md deleted file mode 100644 index e9ad90420a613f52f1d708d310a85e2163033fe2..0000000000000000000000000000000000000000 --- a/spaces/AlekseyCalvin/Make-Putin-Queer/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Make Putin Queer! Use "trp" token in prompts -emoji: 🏳️‍🌈 -colorFrom: blue -colorTo: red -sdk: gradio -sdk_version: 3.13.0 -app_file: app.py -pinned: false -license: creativeml-openrail-m ---- - -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference diff --git a/spaces/AlowaSawsan/Third-Molar-Segmentation/app.py b/spaces/AlowaSawsan/Third-Molar-Segmentation/app.py deleted file mode 100644 index 87f324a376c4522ae69ecb4c105b1f1ad0195137..0000000000000000000000000000000000000000 --- a/spaces/AlowaSawsan/Third-Molar-Segmentation/app.py +++ /dev/null @@ -1,68 +0,0 @@ -#import required libraries----------------------------------------------- -import streamlit as st -from tensorflow import keras -import tensorflow as tf -from PIL import Image -import numpy as np -import cv2 - -#loading model----------------------------------------------------------- -model=keras.models.load_model("3rdm_att_UNet_50epochs_acc.h5") - -#User Interface---------------------------------------------------------- -st.header("Segmentation of the Lower Left Third Molar in Panoramic X-ray Images Using Attention U-Net") - -examples=["2.png","20.png","31.png"] - -def load_image(image_file): - img = Image.open(image_file) - return img - -st.subheader("Instruction:") -st.subheader("Please select from the provided samples or upload dental panoramic X-ray image") -image_file = st.file_uploader("Upload Images", type=["png","jpg","jpeg"]) - -col1, col2, col3 = st.columns(3) -with col1: - ex=load_image(examples[0]) - st.image(ex,width=200) - if st.button('Sample 1'): - image_file=examples[0] - -with col2: - ex1=load_image(examples[1]) - st.image(ex1,width=200) - if st.button('Sample 2'): - image_file=examples[1] - -with col3: - ex2=load_image(examples[2]) - st.image(ex2,width=200) - if st.button('Sample 3'): - image_file=examples[2] - -#main-------------------------------------------------------------------- - -if image_file is not None: - - img=load_image(image_file) - - st.text("Selected Image ....") - st.image(img,width=850) - - img = np.asarray(img) - img = cv2.resize(img, (512, 256)) - img = cv2.cvtColor(img, cv2.COLOR_BAYER_GR2GRAY) - img = np.expand_dims(img, axis=0) - - prediction = model.predict(img) - - output = prediction.reshape(256,512) - - - if output is not None : - st.text("Result") - #st.write(output.shape) - st.image(output,width=850) - - st.text("DONE") \ No newline at end of file diff --git a/spaces/Alycer/VITS-Umamusume-voice-synthesizer/text/symbols.py b/spaces/Alycer/VITS-Umamusume-voice-synthesizer/text/symbols.py deleted file mode 100644 index 053a7105f7ce95aa51614f6995399fa2172b3eb2..0000000000000000000000000000000000000000 --- a/spaces/Alycer/VITS-Umamusume-voice-synthesizer/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/Androidonnxfork/CivitAi-to-Diffusers/diffusers/examples/research_projects/onnxruntime/README.md b/spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/examples/research_projects/onnxruntime/README.md deleted file mode 100644 index 204d9c951c996fedabc169d9a32781be9f4c4cc1..0000000000000000000000000000000000000000 --- a/spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/examples/research_projects/onnxruntime/README.md +++ /dev/null @@ -1,5 +0,0 @@ -## Diffusers examples with ONNXRuntime optimizations - -**This research project is not actively maintained by the diffusers team. For any questions or comments, please contact Prathik Rao (prathikr), Sunghoon Choi (hanbitmyths), Ashwini Khade (askhade), or Peng Wang (pengwa) on github with any questions.** - -This aims to provide diffusers examples with ONNXRuntime optimizations for training/fine-tuning unconditional image generation, text to image, and textual inversion. Please see individual directories for more details on how to run each task using ONNXRuntime. \ No newline at end of file diff --git a/spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/src/diffusers/pipelines/ddim/pipeline_ddim.py b/spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/src/diffusers/pipelines/ddim/pipeline_ddim.py deleted file mode 100644 index 6eae78f2801ebaca42d3c22262d2f839e16403d0..0000000000000000000000000000000000000000 --- a/spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/src/diffusers/pipelines/ddim/pipeline_ddim.py +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 2023 The HuggingFace Team. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from typing import List, Optional, Tuple, Union - -import torch - -from ...schedulers import DDIMScheduler -from ...utils import randn_tensor -from ..pipeline_utils import DiffusionPipeline, ImagePipelineOutput - - -class DDIMPipeline(DiffusionPipeline): - r""" - Pipeline for image generation. - - This model inherits from [`DiffusionPipeline`]. Check the superclass documentation for the generic methods - implemented for all pipelines (downloading, saving, running on a particular device, etc.). - - Parameters: - unet ([`UNet2DModel`]): - A `UNet2DModel` to denoise the encoded image latents. - scheduler ([`SchedulerMixin`]): - A scheduler to be used in combination with `unet` to denoise the encoded image. Can be one of - [`DDPMScheduler`], or [`DDIMScheduler`]. - """ - - def __init__(self, unet, scheduler): - super().__init__() - - # make sure scheduler can always be converted to DDIM - scheduler = DDIMScheduler.from_config(scheduler.config) - - self.register_modules(unet=unet, scheduler=scheduler) - - @torch.no_grad() - def __call__( - self, - batch_size: int = 1, - generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None, - eta: float = 0.0, - num_inference_steps: int = 50, - use_clipped_model_output: Optional[bool] = None, - output_type: Optional[str] = "pil", - return_dict: bool = True, - ) -> Union[ImagePipelineOutput, Tuple]: - r""" - The call function to the pipeline for generation. - - Args: - batch_size (`int`, *optional*, defaults to 1): - The number of images to generate. - generator (`torch.Generator`, *optional*): - A [`torch.Generator`](https://pytorch.org/docs/stable/generated/torch.Generator.html) to make - generation deterministic. - eta (`float`, *optional*, defaults to 0.0): - Corresponds to parameter eta (η) from the [DDIM](https://arxiv.org/abs/2010.02502) paper. Only applies - to the [`~schedulers.DDIMScheduler`], and is ignored in other schedulers. A value of `0` corresponds to - DDIM and `1` corresponds to DDPM. - num_inference_steps (`int`, *optional*, defaults to 50): - The number of denoising steps. More denoising steps usually lead to a higher quality image at the - expense of slower inference. - use_clipped_model_output (`bool`, *optional*, defaults to `None`): - If `True` or `False`, see documentation for [`DDIMScheduler.step`]. If `None`, nothing is passed - downstream to the scheduler (use `None` for schedulers which don't support this argument). - output_type (`str`, *optional*, defaults to `"pil"`): - The output format of the generated image. Choose between `PIL.Image` or `np.array`. - return_dict (`bool`, *optional*, defaults to `True`): - Whether or not to return a [`~pipelines.ImagePipelineOutput`] instead of a plain tuple. - - Example: - - ```py - >>> from diffusers import DDIMPipeline - >>> import PIL.Image - >>> import numpy as np - - >>> # load model and scheduler - >>> pipe = DDIMPipeline.from_pretrained("fusing/ddim-lsun-bedroom") - - >>> # run pipeline in inference (sample random noise and denoise) - >>> image = pipe(eta=0.0, num_inference_steps=50) - - >>> # process image to PIL - >>> image_processed = image.cpu().permute(0, 2, 3, 1) - >>> image_processed = (image_processed + 1.0) * 127.5 - >>> image_processed = image_processed.numpy().astype(np.uint8) - >>> image_pil = PIL.Image.fromarray(image_processed[0]) - - >>> # save image - >>> image_pil.save("test.png") - ``` - - Returns: - [`~pipelines.ImagePipelineOutput`] or `tuple`: - If `return_dict` is `True`, [`~pipelines.ImagePipelineOutput`] is returned, otherwise a `tuple` is - returned where the first element is a list with the generated images - """ - - # Sample gaussian noise to begin loop - if isinstance(self.unet.config.sample_size, int): - image_shape = ( - batch_size, - self.unet.config.in_channels, - self.unet.config.sample_size, - self.unet.config.sample_size, - ) - else: - image_shape = (batch_size, self.unet.config.in_channels, *self.unet.config.sample_size) - - if isinstance(generator, list) and len(generator) != batch_size: - raise ValueError( - f"You have passed a list of generators of length {len(generator)}, but requested an effective batch" - f" size of {batch_size}. Make sure the batch size matches the length of the generators." - ) - - image = randn_tensor(image_shape, generator=generator, device=self._execution_device, dtype=self.unet.dtype) - - # set step values - self.scheduler.set_timesteps(num_inference_steps) - - for t in self.progress_bar(self.scheduler.timesteps): - # 1. predict noise model_output - model_output = self.unet(image, t).sample - - # 2. predict previous mean of image x_t-1 and add variance depending on eta - # eta corresponds to η in paper and should be between [0, 1] - # do x_t -> x_t-1 - image = self.scheduler.step( - model_output, t, image, eta=eta, use_clipped_model_output=use_clipped_model_output, generator=generator - ).prev_sample - - image = (image / 2 + 0.5).clamp(0, 1) - image = image.cpu().permute(0, 2, 3, 1).numpy() - if output_type == "pil": - image = self.numpy_to_pil(image) - - if not return_dict: - return (image,) - - return ImagePipelineOutput(images=image) diff --git a/spaces/Andy1621/uniformer_image_detection/configs/cascade_rcnn/cascade_rcnn_r50_fpn_20e_coco.py b/spaces/Andy1621/uniformer_image_detection/configs/cascade_rcnn/cascade_rcnn_r50_fpn_20e_coco.py deleted file mode 100644 index 6f886e1c407ff9376929a7092f82e5508d2b1ac9..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_detection/configs/cascade_rcnn/cascade_rcnn_r50_fpn_20e_coco.py +++ /dev/null @@ -1,4 +0,0 @@ -_base_ = './cascade_rcnn_r50_fpn_1x_coco.py' -# learning policy -lr_config = dict(step=[16, 19]) -runner = dict(type='EpochBasedRunner', max_epochs=20) diff --git a/spaces/Andy1621/uniformer_image_detection/configs/ms_rcnn/ms_rcnn_r50_caffe_fpn_2x_coco.py b/spaces/Andy1621/uniformer_image_detection/configs/ms_rcnn/ms_rcnn_r50_caffe_fpn_2x_coco.py deleted file mode 100644 index 008a70ae67454c3fd470c29ffd000b18db391c8e..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_detection/configs/ms_rcnn/ms_rcnn_r50_caffe_fpn_2x_coco.py +++ /dev/null @@ -1,4 +0,0 @@ -_base_ = './ms_rcnn_r50_caffe_fpn_1x_coco.py' -# learning policy -lr_config = dict(step=[16, 22]) -runner = dict(type='EpochBasedRunner', max_epochs=24) diff --git a/spaces/Andy1621/uniformer_image_segmentation/configs/fcn/fcn_r18b-d8_512x1024_80k_cityscapes.py b/spaces/Andy1621/uniformer_image_segmentation/configs/fcn/fcn_r18b-d8_512x1024_80k_cityscapes.py deleted file mode 100644 index 92accfc703fc398d2845d7dc2f1d5336f24738e8..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_segmentation/configs/fcn/fcn_r18b-d8_512x1024_80k_cityscapes.py +++ /dev/null @@ -1,9 +0,0 @@ -_base_ = './fcn_r50-d8_512x1024_80k_cityscapes.py' -model = dict( - pretrained='torchvision://resnet18', - backbone=dict(type='ResNet', depth=18), - decode_head=dict( - in_channels=512, - channels=128, - ), - auxiliary_head=dict(in_channels=256, channels=64)) diff --git a/spaces/Andy1621/uniformer_image_segmentation/configs/mobilenet_v3/lraspp_m-v3-d8_scratch_512x1024_320k_cityscapes.py b/spaces/Andy1621/uniformer_image_segmentation/configs/mobilenet_v3/lraspp_m-v3-d8_scratch_512x1024_320k_cityscapes.py deleted file mode 100644 index a3c5435142db6b1f81421f5fd96d07ece32b5f38..0000000000000000000000000000000000000000 --- a/spaces/Andy1621/uniformer_image_segmentation/configs/mobilenet_v3/lraspp_m-v3-d8_scratch_512x1024_320k_cityscapes.py +++ /dev/null @@ -1,9 +0,0 @@ -_base_ = [ - '../_base_/models/lraspp_m-v3-d8.py', '../_base_/datasets/cityscapes.py', - '../_base_/default_runtime.py', '../_base_/schedules/schedule_160k.py' -] - -# Re-config the data sampler. -data = dict(samples_per_gpu=4, workers_per_gpu=4) - -runner = dict(type='IterBasedRunner', max_iters=320000) diff --git a/spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/sd_api_pictures/style.css b/spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/sd_api_pictures/style.css deleted file mode 100644 index 6f4994616a1d4ca52f3a8245f963ce0b7ebbb0d7..0000000000000000000000000000000000000000 --- a/spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/sd_api_pictures/style.css +++ /dev/null @@ -1,52 +0,0 @@ -/* Align the elements for SD_api_picture extension */ -.SDAP #sampler_box { - padding-top: var(--spacing-sm); - padding-bottom: var(--spacing-sm); - border: 0; -} - -.SDAP #steps_box { - border-radius: 0 0 var(--block-radius) var(--block-radius); -} - -.SDAP #sampler_col { - gap: 0; - padding: 0; - background-color: transparent; -} - -.SDAP #sampler_row { - border-bottom: 0; - box-shadow: var(--block-shadow); - border-width: var(--block-border-width); - border-color: var(--block-border-color); - border-radius: var(--block-radius) var(--block-radius) 0 0; - background: var(--block-background-fill); - gap: 0; -} - -.SDAP #sampler_row .refresh-button { - margin-bottom: var(--spacing-sm); - margin-right: var(--spacing-lg); -} - -.SDAP #seed_box, -.SDAP #cfg_box { - padding-top: var(--spacing-md); -} - -.SDAP #sampler_box span, -.SDAP #seed_box span, -.SDAP #cfg_box span, -.SDAP #steps_box span { - margin-bottom: var(--spacing-sm); -} - -.SDAP svg.dropdown-arrow { - flex-shrink: 0 !important; - margin: 0px !important; -} - -.SDAP .hires_opts input[type="number"] { - width: 6em !important; -} diff --git a/spaces/Anonymous-sub/Rerender/gmflow_module/README.md b/spaces/Anonymous-sub/Rerender/gmflow_module/README.md deleted file mode 100644 index 17449970f8861dec7fef8d8835fc7e92abeb2332..0000000000000000000000000000000000000000 --- a/spaces/Anonymous-sub/Rerender/gmflow_module/README.md +++ /dev/null @@ -1,239 +0,0 @@ -# GMFlow - - -Official PyTorch implementation of paper: - -[**GMFlow: Learning Optical Flow via Global Matching**](https://arxiv.org/abs/2111.13680), **CVPR 2022, Oral** - -Authors: [Haofei Xu](https://haofeixu.github.io/), [Jing Zhang](https://scholar.google.com.hk/citations?user=9jH5v74AAAAJ), [Jianfei Cai](https://jianfei-cai.github.io/), [Hamid Rezatofighi](https://scholar.google.com/citations?user=VxAuxMwAAAAJ), [Dacheng Tao](https://scholar.google.com/citations?user=RwlJNLcAAAAJ) - - -**11/15/2022 Update: Check out our new work: [Unifying Flow, Stereo and Depth Estimation](https://haofeixu.github.io/unimatch/) and code: [unimatch](https://github.com/autonomousvision/unimatch) for extending GMFlow to stereo and depth tasks. [More pretrained GMFlow models](https://github.com/autonomousvision/unimatch/blob/master/MODEL_ZOO.md) with different speed-accuracy trade-offs are also released. Check out our [Colab](https://colab.research.google.com/drive/1r5m-xVy3Kw60U-m5VB-aQ98oqqg_6cab?usp=sharing) and [HuggingFace](https://huggingface.co/spaces/haofeixu/unimatch) demo to play with GMFlow in your browser!** - - - -**A [video introduction](https://www.bilibili.com/video/BV18A4y1R7PL) (in Chinese) of GMFlow is available at bilibili!** - - - -https://user-images.githubusercontent.com/19343475/174446408-520b8a6c-9714-4ff3-978c-98e23ab29c1f.mp4 - - - - - -We streamline the optical flow estimation pipeline by reformulating optical flow as a **global matching** problem. - - - - -

- - - - - -## Highlights - -- **Flexible & Modular design** - - We decompose the end-to-end optical flow framework into five components: - - feature extraction, feature enhancement, feature matching, flow propagation and flow refinement. - - One can easily construct a customized optical flow model by combining different components. - -- **High accuracy** - - With only one refinement, GMFlow outperforms 31-refinements RAFT on the challenging Sintel benchmark. - -- **High efficiency** - - A basic GMFlow model (without refinement) runs at 57ms (V100) or 26ms (A100) for Sintel data (436x1024). - - GMFlow gains more speedup than RAFT on high-end GPUs (e.g., A100) since GMFlow doesn't require a large number of sequential computation. - - GMFlow also simplifies backward flow computation without requiring to forward the network twice. The bidirectional flow can be used for occlusion detection with forward-backward consistency check. - -

- - - - -## Installation - -Our code is based on pytorch 1.9.0, CUDA 10.2 and python 3.8. Higher version pytorch should also work well. - -We recommend using [conda](https://www.anaconda.com/distribution/) for installation: - -``` -conda env create -f environment.yml -conda activate gmflow -``` - -## Demos - -All pretrained models can be downloaded from [google drive](https://drive.google.com/file/d/1d5C5cgHIxWGsFR1vYs5XrQbbUiZl9TX2/view?usp=sharing). - - - -You can run a trained model on a sequence of images and visualize the results: - -``` -CUDA_VISIBLE_DEVICES=0 python main.py \ ---inference_dir demo/sintel_market_1 \ ---output_path output/gmflow-norefine-sintel_market_1 \ ---resume pretrained/gmflow_sintel-0c07dcb3.pth -``` - -You can also predict bidirectional flow with `--pred_bidir_flow` enabled and use `--fwd_bwd_consistency_check` for forward-backward consistency check. More examples can be found in [scripts/demo.sh](scripts/demo.sh). - - - -## Datasets - -The datasets used to train and evaluate GMFlow are as follows: - -* [FlyingChairs](https://lmb.informatik.uni-freiburg.de/resources/datasets/FlyingChairs.en.html#flyingchairs) -* [FlyingThings3D](https://lmb.informatik.uni-freiburg.de/resources/datasets/SceneFlowDatasets.en.html) -* [Sintel](http://sintel.is.tue.mpg.de/) -* [KITTI](http://www.cvlibs.net/datasets/kitti/eval_scene_flow.php?benchmark=flow) -* [HD1K](http://hci-benchmark.iwr.uni-heidelberg.de/) - -By default the dataloader [datasets.py](data/datasets.py) assumes the datasets are located in folder `datasets` and are organized as follows: - -``` -datasets -├── FlyingChairs_release -│   └── data -├── FlyingThings3D -│   ├── frames_cleanpass -│   ├── frames_finalpass -│   └── optical_flow -├── HD1K -│   ├── hd1k_challenge -│   ├── hd1k_flow_gt -│   ├── hd1k_flow_uncertainty -│   └── hd1k_input -├── KITTI -│   ├── testing -│   └── training -├── Sintel -│   ├── test -│   └── training -``` - -It is recommended to symlink your dataset root to `datasets`: - -```shell -ln -s $YOUR_DATASET_ROOT datasets -``` - -Otherwise, you may need to change the corresponding paths in [datasets.py](data/datasets.py). - - - -## Evaluation - -You can evaluate a trained GMFlow model by running: - -``` -CUDA_VISIBLE_DEVICES=0 python main.py --eval --val_dataset things sintel --resume pretrained/gmflow_things-e9887eda.pth -``` - -More evaluation scripts can be found in [scripts/evaluate.sh](scripts/evaluate.sh). - - - -For submission to Sintel and KITTI online test sets, you can run [scripts/submission.sh](scripts/submission.sh). - - - -## Training - -All training scripts on FlyingChairs, FlyingThings3D, Sintel and KITTI datasets can be found in [scripts/train_gmflow.sh](scripts/train_gmflow.sh) and [scripts/train_gmflow_with_refine.sh](scripts/train_gmflow_with_refine.sh). - -Note that the basic GMFlow model (without refinement) can be trained on 4x 16GB V100 GPUs. For training GMFlow with refinement, 8x 16GB V100 or 4x 32GB V100 or 4x 40GB A100 GPUs are required by default. You may need to tune the batch size and training iterations according to your hardware. - - - -We support using tensorboard to monitor and visualize the training process. You can first start a tensorboard session with - -```shell -tensorboard --logdir checkpoints -``` - -and then access [http://localhost:6006](http://localhost:6006) in your browser. - - - -## Citation - -If you find our work useful in your research, please consider citing our paper: - -``` -@inproceedings{xu2022gmflow, - title={GMFlow: Learning Optical Flow via Global Matching}, - author={Xu, Haofei and Zhang, Jing and Cai, Jianfei and Rezatofighi, Hamid and Tao, Dacheng}, - booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition}, - pages={8121-8130}, - year={2022} -} -``` - - - -## Acknowledgements - -This project would not have been possible without relying on some awesome repos : [RAFT](https://github.com/princeton-vl/RAFT), [LoFTR](https://github.com/zju3dv/LoFTR), [DETR](https://github.com/facebookresearch/detr), [Swin](https://github.com/microsoft/Swin-Transformer), [mmdetection](https://github.com/open-mmlab/mmdetection) and [Detectron2](https://github.com/facebookresearch/detectron2/blob/main/projects/TridentNet/tridentnet/trident_conv.py). We thank the original authors for their excellent work. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/spaces/Artrajz/vits-simple-api/utils/download.py b/spaces/Artrajz/vits-simple-api/utils/download.py deleted file mode 100644 index 5be259bc8baeb28b6bee6e929eb3a9591b317dab..0000000000000000000000000000000000000000 --- a/spaces/Artrajz/vits-simple-api/utils/download.py +++ /dev/null @@ -1,96 +0,0 @@ -import logging -import os -import hashlib -import tarfile -import urllib.request -import zipfile - -from tqdm import tqdm -from pathlib import Path -from logger import logger -from py7zr import SevenZipFile - - -class TqdmUpTo(tqdm): - def update_to(self, b=1, bsize=1, tsize=None): - if tsize is not None: - self.total = tsize - self.update(b * bsize - self.n) - - -def download_file(url, dest_path): - logging.info(f"Downloading: {url}") - with TqdmUpTo(unit="B", unit_scale=True, unit_divisor=1024, miniters=1, desc=url.split('/')[-1]) as t: - urllib.request.urlretrieve(url, dest_path, reporthook=t.update_to) - - -def verify_md5(file_path, expected_md5): - md5 = hashlib.md5(file_path.read_bytes()).hexdigest() - if md5 != expected_md5: - return False, f"MD5 mismatch: {md5} != {expected_md5}" - return True, "" - - -def extract_file(file_path, destination=None): - """ - Extract a compressed file based on its extension. - If destination is not specified, it will be extracted to its parent directory. - """ - if destination is None: - destination = Path(file_path).parent - - logging.info(f"Extracting to {destination}") - - if file_path.endswith('.zip'): - with zipfile.ZipFile(file_path, 'r') as zip_ref: - zip_ref.extractall(destination) - elif file_path.endswith('.tar.gz'): - with tarfile.open(file_path, 'r:gz') as tar_ref: - tar_ref.extractall(destination) - elif file_path.endswith('.tar.bz2'): - with tarfile.open(file_path, 'r:bz2') as tar_ref: - tar_ref.extractall(destination) - elif file_path.endswith('.7z'): - with SevenZipFile(file_path, mode='r') as z: - z.extractall(destination) - else: - logging.error(f"Unsupported compression format for file {file_path}") - - -def download_and_verify(urls, target_path, expected_md5=None, extract_destination=None): - for url in urls: - try: - download_file(url, target_path) - break - except Exception as error: - logger.error(f"downloading from URL {url}: {error}") - - else: # This else is tied to the for loop, and executes if no download is successful - return False, "Error downloading from all provided URLs." - - if expected_md5 is not None: - success, message = verify_md5(Path(target_path), expected_md5) - if not success: - os.remove(target_path) - return False, message - - # If it's a compressed file, extract it - if target_path.endswith(('.zip', '.tar.gz', '.tar.bz2', '.7z')): - extract_file(target_path, extract_destination) - os.remove(target_path) - - return True, "File downloaded, verified, and extracted successfully!" - - -if __name__ == "__main__": - URLS = [ - "YOUR_PRIMARY_URL_HERE", - "YOUR_FIRST_BACKUP_URL_HERE", - # ... you can add more backup URLs as needed - ] - TARGET_PATH = "" - EXPECTED_MD5 = "" - EXTRACT_DESTINATION = "" - - success, message = download_and_verify(URLS, TARGET_PATH, EXPECTED_MD5, EXTRACT_DESTINATION) - print(message) diff --git a/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/cachecontrol/caches/__init__.py b/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/cachecontrol/caches/__init__.py deleted file mode 100644 index 37827291fb5a76d7ef9a7a3a695710b2074ca09a..0000000000000000000000000000000000000000 --- a/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +++ /dev/null @@ -1,9 +0,0 @@ -# SPDX-FileCopyrightText: 2015 Eric Larson -# -# SPDX-License-Identifier: Apache-2.0 - -from .file_cache import FileCache, SeparateBodyFileCache -from .redis_cache import RedisCache - - -__all__ = ["FileCache", "SeparateBodyFileCache", "RedisCache"] diff --git a/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/rich/style.py b/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/rich/style.py deleted file mode 100644 index 313c889496d90cef94d5537c122e5c5e898e3bb4..0000000000000000000000000000000000000000 --- a/spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/rich/style.py +++ /dev/null @@ -1,796 +0,0 @@ -import sys -from functools import lru_cache -from marshal import dumps, loads -from random import randint -from typing import Any, Dict, Iterable, List, Optional, Type, Union, cast - -from . import errors -from .color import Color, ColorParseError, ColorSystem, blend_rgb -from .repr import Result, rich_repr -from .terminal_theme import DEFAULT_TERMINAL_THEME, TerminalTheme - -# Style instances and style definitions are often interchangeable -StyleType = Union[str, "Style"] - - -class _Bit: - """A descriptor to get/set a style attribute bit.""" - - __slots__ = ["bit"] - - def __init__(self, bit_no: int) -> None: - self.bit = 1 << bit_no - - def __get__(self, obj: "Style", objtype: Type["Style"]) -> Optional[bool]: - if obj._set_attributes & self.bit: - return obj._attributes & self.bit != 0 - return None - - -@rich_repr -class Style: - """A terminal style. - - A terminal style consists of a color (`color`), a background color (`bgcolor`), and a number of attributes, such - as bold, italic etc. The attributes have 3 states: they can either be on - (``True``), off (``False``), or not set (``None``). - - Args: - color (Union[Color, str], optional): Color of terminal text. Defaults to None. - bgcolor (Union[Color, str], optional): Color of terminal background. Defaults to None. - bold (bool, optional): Enable bold text. Defaults to None. - dim (bool, optional): Enable dim text. Defaults to None. - italic (bool, optional): Enable italic text. Defaults to None. - underline (bool, optional): Enable underlined text. Defaults to None. - blink (bool, optional): Enabled blinking text. Defaults to None. - blink2 (bool, optional): Enable fast blinking text. Defaults to None. - reverse (bool, optional): Enabled reverse text. Defaults to None. - conceal (bool, optional): Enable concealed text. Defaults to None. - strike (bool, optional): Enable strikethrough text. Defaults to None. - underline2 (bool, optional): Enable doubly underlined text. Defaults to None. - frame (bool, optional): Enable framed text. Defaults to None. - encircle (bool, optional): Enable encircled text. Defaults to None. - overline (bool, optional): Enable overlined text. Defaults to None. - link (str, link): Link URL. Defaults to None. - - """ - - _color: Optional[Color] - _bgcolor: Optional[Color] - _attributes: int - _set_attributes: int - _hash: Optional[int] - _null: bool - _meta: Optional[bytes] - - __slots__ = [ - "_color", - "_bgcolor", - "_attributes", - "_set_attributes", - "_link", - "_link_id", - "_ansi", - "_style_definition", - "_hash", - "_null", - "_meta", - ] - - # maps bits on to SGR parameter - _style_map = { - 0: "1", - 1: "2", - 2: "3", - 3: "4", - 4: "5", - 5: "6", - 6: "7", - 7: "8", - 8: "9", - 9: "21", - 10: "51", - 11: "52", - 12: "53", - } - - STYLE_ATTRIBUTES = { - "dim": "dim", - "d": "dim", - "bold": "bold", - "b": "bold", - "italic": "italic", - "i": "italic", - "underline": "underline", - "u": "underline", - "blink": "blink", - "blink2": "blink2", - "reverse": "reverse", - "r": "reverse", - "conceal": "conceal", - "c": "conceal", - "strike": "strike", - "s": "strike", - "underline2": "underline2", - "uu": "underline2", - "frame": "frame", - "encircle": "encircle", - "overline": "overline", - "o": "overline", - } - - def __init__( - self, - *, - color: Optional[Union[Color, str]] = None, - bgcolor: Optional[Union[Color, str]] = None, - bold: Optional[bool] = None, - dim: Optional[bool] = None, - italic: Optional[bool] = None, - underline: Optional[bool] = None, - blink: Optional[bool] = None, - blink2: Optional[bool] = None, - reverse: Optional[bool] = None, - conceal: Optional[bool] = None, - strike: Optional[bool] = None, - underline2: Optional[bool] = None, - frame: Optional[bool] = None, - encircle: Optional[bool] = None, - overline: Optional[bool] = None, - link: Optional[str] = None, - meta: Optional[Dict[str, Any]] = None, - ): - self._ansi: Optional[str] = None - self._style_definition: Optional[str] = None - - def _make_color(color: Union[Color, str]) -> Color: - return color if isinstance(color, Color) else Color.parse(color) - - self._color = None if color is None else _make_color(color) - self._bgcolor = None if bgcolor is None else _make_color(bgcolor) - self._set_attributes = sum( - ( - bold is not None, - dim is not None and 2, - italic is not None and 4, - underline is not None and 8, - blink is not None and 16, - blink2 is not None and 32, - reverse is not None and 64, - conceal is not None and 128, - strike is not None and 256, - underline2 is not None and 512, - frame is not None and 1024, - encircle is not None and 2048, - overline is not None and 4096, - ) - ) - self._attributes = ( - sum( - ( - bold and 1 or 0, - dim and 2 or 0, - italic and 4 or 0, - underline and 8 or 0, - blink and 16 or 0, - blink2 and 32 or 0, - reverse and 64 or 0, - conceal and 128 or 0, - strike and 256 or 0, - underline2 and 512 or 0, - frame and 1024 or 0, - encircle and 2048 or 0, - overline and 4096 or 0, - ) - ) - if self._set_attributes - else 0 - ) - - self._link = link - self._meta = None if meta is None else dumps(meta) - self._link_id = ( - f"{randint(0, 999999)}{hash(self._meta)}" if (link or meta) else "" - ) - self._hash: Optional[int] = None - self._null = not (self._set_attributes or color or bgcolor or link or meta) - - @classmethod - def null(cls) -> "Style": - """Create an 'null' style, equivalent to Style(), but more performant.""" - return NULL_STYLE - - @classmethod - def from_color( - cls, color: Optional[Color] = None, bgcolor: Optional[Color] = None - ) -> "Style": - """Create a new style with colors and no attributes. - - Returns: - color (Optional[Color]): A (foreground) color, or None for no color. Defaults to None. - bgcolor (Optional[Color]): A (background) color, or None for no color. Defaults to None. - """ - style: Style = cls.__new__(Style) - style._ansi = None - style._style_definition = None - style._color = color - style._bgcolor = bgcolor - style._set_attributes = 0 - style._attributes = 0 - style._link = None - style._link_id = "" - style._meta = None - style._null = not (color or bgcolor) - style._hash = None - return style - - @classmethod - def from_meta(cls, meta: Optional[Dict[str, Any]]) -> "Style": - """Create a new style with meta data. - - Returns: - meta (Optional[Dict[str, Any]]): A dictionary of meta data. Defaults to None. - """ - style: Style = cls.__new__(Style) - style._ansi = None - style._style_definition = None - style._color = None - style._bgcolor = None - style._set_attributes = 0 - style._attributes = 0 - style._link = None - style._meta = dumps(meta) - style._link_id = f"{randint(0, 999999)}{hash(style._meta)}" - style._hash = None - style._null = not (meta) - return style - - @classmethod - def on(cls, meta: Optional[Dict[str, Any]] = None, **handlers: Any) -> "Style": - """Create a blank style with meta information. - - Example: - style = Style.on(click=self.on_click) - - Args: - meta (Optional[Dict[str, Any]], optional): An optional dict of meta information. - **handlers (Any): Keyword arguments are translated in to handlers. - - Returns: - Style: A Style with meta information attached. - """ - meta = {} if meta is None else meta - meta.update({f"@{key}": value for key, value in handlers.items()}) - return cls.from_meta(meta) - - bold = _Bit(0) - dim = _Bit(1) - italic = _Bit(2) - underline = _Bit(3) - blink = _Bit(4) - blink2 = _Bit(5) - reverse = _Bit(6) - conceal = _Bit(7) - strike = _Bit(8) - underline2 = _Bit(9) - frame = _Bit(10) - encircle = _Bit(11) - overline = _Bit(12) - - @property - def link_id(self) -> str: - """Get a link id, used in ansi code for links.""" - return self._link_id - - def __str__(self) -> str: - """Re-generate style definition from attributes.""" - if self._style_definition is None: - attributes: List[str] = [] - append = attributes.append - bits = self._set_attributes - if bits & 0b0000000001111: - if bits & 1: - append("bold" if self.bold else "not bold") - if bits & (1 << 1): - append("dim" if self.dim else "not dim") - if bits & (1 << 2): - append("italic" if self.italic else "not italic") - if bits & (1 << 3): - append("underline" if self.underline else "not underline") - if bits & 0b0000111110000: - if bits & (1 << 4): - append("blink" if self.blink else "not blink") - if bits & (1 << 5): - append("blink2" if self.blink2 else "not blink2") - if bits & (1 << 6): - append("reverse" if self.reverse else "not reverse") - if bits & (1 << 7): - append("conceal" if self.conceal else "not conceal") - if bits & (1 << 8): - append("strike" if self.strike else "not strike") - if bits & 0b1111000000000: - if bits & (1 << 9): - append("underline2" if self.underline2 else "not underline2") - if bits & (1 << 10): - append("frame" if self.frame else "not frame") - if bits & (1 << 11): - append("encircle" if self.encircle else "not encircle") - if bits & (1 << 12): - append("overline" if self.overline else "not overline") - if self._color is not None: - append(self._color.name) - if self._bgcolor is not None: - append("on") - append(self._bgcolor.name) - if self._link: - append("link") - append(self._link) - self._style_definition = " ".join(attributes) or "none" - return self._style_definition - - def __bool__(self) -> bool: - """A Style is false if it has no attributes, colors, or links.""" - return not self._null - - def _make_ansi_codes(self, color_system: ColorSystem) -> str: - """Generate ANSI codes for this style. - - Args: - color_system (ColorSystem): Color system. - - Returns: - str: String containing codes. - """ - - if self._ansi is None: - sgr: List[str] = [] - append = sgr.append - _style_map = self._style_map - attributes = self._attributes & self._set_attributes - if attributes: - if attributes & 1: - append(_style_map[0]) - if attributes & 2: - append(_style_map[1]) - if attributes & 4: - append(_style_map[2]) - if attributes & 8: - append(_style_map[3]) - if attributes & 0b0000111110000: - for bit in range(4, 9): - if attributes & (1 << bit): - append(_style_map[bit]) - if attributes & 0b1111000000000: - for bit in range(9, 13): - if attributes & (1 << bit): - append(_style_map[bit]) - if self._color is not None: - sgr.extend(self._color.downgrade(color_system).get_ansi_codes()) - if self._bgcolor is not None: - sgr.extend( - self._bgcolor.downgrade(color_system).get_ansi_codes( - foreground=False - ) - ) - self._ansi = ";".join(sgr) - return self._ansi - - @classmethod - @lru_cache(maxsize=1024) - def normalize(cls, style: str) -> str: - """Normalize a style definition so that styles with the same effect have the same string - representation. - - Args: - style (str): A style definition. - - Returns: - str: Normal form of style definition. - """ - try: - return str(cls.parse(style)) - except errors.StyleSyntaxError: - return style.strip().lower() - - @classmethod - def pick_first(cls, *values: Optional[StyleType]) -> StyleType: - """Pick first non-None style.""" - for value in values: - if value is not None: - return value - raise ValueError("expected at least one non-None style") - - def __rich_repr__(self) -> Result: - yield "color", self.color, None - yield "bgcolor", self.bgcolor, None - yield "bold", self.bold, None, - yield "dim", self.dim, None, - yield "italic", self.italic, None - yield "underline", self.underline, None, - yield "blink", self.blink, None - yield "blink2", self.blink2, None - yield "reverse", self.reverse, None - yield "conceal", self.conceal, None - yield "strike", self.strike, None - yield "underline2", self.underline2, None - yield "frame", self.frame, None - yield "encircle", self.encircle, None - yield "link", self.link, None - if self._meta: - yield "meta", self.meta - - def __eq__(self, other: Any) -> bool: - if not isinstance(other, Style): - return NotImplemented - return self.__hash__() == other.__hash__() - - def __ne__(self, other: Any) -> bool: - if not isinstance(other, Style): - return NotImplemented - return self.__hash__() != other.__hash__() - - def __hash__(self) -> int: - if self._hash is not None: - return self._hash - self._hash = hash( - ( - self._color, - self._bgcolor, - self._attributes, - self._set_attributes, - self._link, - self._meta, - ) - ) - return self._hash - - @property - def color(self) -> Optional[Color]: - """The foreground color or None if it is not set.""" - return self._color - - @property - def bgcolor(self) -> Optional[Color]: - """The background color or None if it is not set.""" - return self._bgcolor - - @property - def link(self) -> Optional[str]: - """Link text, if set.""" - return self._link - - @property - def transparent_background(self) -> bool: - """Check if the style specified a transparent background.""" - return self.bgcolor is None or self.bgcolor.is_default - - @property - def background_style(self) -> "Style": - """A Style with background only.""" - return Style(bgcolor=self.bgcolor) - - @property - def meta(self) -> Dict[str, Any]: - """Get meta information (can not be changed after construction).""" - return {} if self._meta is None else cast(Dict[str, Any], loads(self._meta)) - - @property - def without_color(self) -> "Style": - """Get a copy of the style with color removed.""" - if self._null: - return NULL_STYLE - style: Style = self.__new__(Style) - style._ansi = None - style._style_definition = None - style._color = None - style._bgcolor = None - style._attributes = self._attributes - style._set_attributes = self._set_attributes - style._link = self._link - style._link_id = f"{randint(0, 999999)}" if self._link else "" - style._null = False - style._meta = None - style._hash = None - return style - - @classmethod - @lru_cache(maxsize=4096) - def parse(cls, style_definition: str) -> "Style": - """Parse a style definition. - - Args: - style_definition (str): A string containing a style. - - Raises: - errors.StyleSyntaxError: If the style definition syntax is invalid. - - Returns: - `Style`: A Style instance. - """ - if style_definition.strip() == "none" or not style_definition: - return cls.null() - - STYLE_ATTRIBUTES = cls.STYLE_ATTRIBUTES - color: Optional[str] = None - bgcolor: Optional[str] = None - attributes: Dict[str, Optional[Any]] = {} - link: Optional[str] = None - - words = iter(style_definition.split()) - for original_word in words: - word = original_word.lower() - if word == "on": - word = next(words, "") - if not word: - raise errors.StyleSyntaxError("color expected after 'on'") - try: - Color.parse(word) is None - except ColorParseError as error: - raise errors.StyleSyntaxError( - f"unable to parse {word!r} as background color; {error}" - ) from None - bgcolor = word - - elif word == "not": - word = next(words, "") - attribute = STYLE_ATTRIBUTES.get(word) - if attribute is None: - raise errors.StyleSyntaxError( - f"expected style attribute after 'not', found {word!r}" - ) - attributes[attribute] = False - - elif word == "link": - word = next(words, "") - if not word: - raise errors.StyleSyntaxError("URL expected after 'link'") - link = word - - elif word in STYLE_ATTRIBUTES: - attributes[STYLE_ATTRIBUTES[word]] = True - - else: - try: - Color.parse(word) - except ColorParseError as error: - raise errors.StyleSyntaxError( - f"unable to parse {word!r} as color; {error}" - ) from None - color = word - style = Style(color=color, bgcolor=bgcolor, link=link, **attributes) - return style - - @lru_cache(maxsize=1024) - def get_html_style(self, theme: Optional[TerminalTheme] = None) -> str: - """Get a CSS style rule.""" - theme = theme or DEFAULT_TERMINAL_THEME - css: List[str] = [] - append = css.append - - color = self.color - bgcolor = self.bgcolor - if self.reverse: - color, bgcolor = bgcolor, color - if self.dim: - foreground_color = ( - theme.foreground_color if color is None else color.get_truecolor(theme) - ) - color = Color.from_triplet( - blend_rgb(foreground_color, theme.background_color, 0.5) - ) - if color is not None: - theme_color = color.get_truecolor(theme) - append(f"color: {theme_color.hex}") - append(f"text-decoration-color: {theme_color.hex}") - if bgcolor is not None: - theme_color = bgcolor.get_truecolor(theme, foreground=False) - append(f"background-color: {theme_color.hex}") - if self.bold: - append("font-weight: bold") - if self.italic: - append("font-style: italic") - if self.underline: - append("text-decoration: underline") - if self.strike: - append("text-decoration: line-through") - if self.overline: - append("text-decoration: overline") - return "; ".join(css) - - @classmethod - def combine(cls, styles: Iterable["Style"]) -> "Style": - """Combine styles and get result. - - Args: - styles (Iterable[Style]): Styles to combine. - - Returns: - Style: A new style instance. - """ - iter_styles = iter(styles) - return sum(iter_styles, next(iter_styles)) - - @classmethod - def chain(cls, *styles: "Style") -> "Style": - """Combine styles from positional argument in to a single style. - - Args: - *styles (Iterable[Style]): Styles to combine. - - Returns: - Style: A new style instance. - """ - iter_styles = iter(styles) - return sum(iter_styles, next(iter_styles)) - - def copy(self) -> "Style": - """Get a copy of this style. - - Returns: - Style: A new Style instance with identical attributes. - """ - if self._null: - return NULL_STYLE - style: Style = self.__new__(Style) - style._ansi = self._ansi - style._style_definition = self._style_definition - style._color = self._color - style._bgcolor = self._bgcolor - style._attributes = self._attributes - style._set_attributes = self._set_attributes - style._link = self._link - style._link_id = f"{randint(0, 999999)}" if self._link else "" - style._hash = self._hash - style._null = False - style._meta = self._meta - return style - - @lru_cache(maxsize=128) - def clear_meta_and_links(self) -> "Style": - """Get a copy of this style with link and meta information removed. - - Returns: - Style: New style object. - """ - if self._null: - return NULL_STYLE - style: Style = self.__new__(Style) - style._ansi = self._ansi - style._style_definition = self._style_definition - style._color = self._color - style._bgcolor = self._bgcolor - style._attributes = self._attributes - style._set_attributes = self._set_attributes - style._link = None - style._link_id = "" - style._hash = self._hash - style._null = False - style._meta = None - return style - - def update_link(self, link: Optional[str] = None) -> "Style": - """Get a copy with a different value for link. - - Args: - link (str, optional): New value for link. Defaults to None. - - Returns: - Style: A new Style instance. - """ - style: Style = self.__new__(Style) - style._ansi = self._ansi - style._style_definition = self._style_definition - style._color = self._color - style._bgcolor = self._bgcolor - style._attributes = self._attributes - style._set_attributes = self._set_attributes - style._link = link - style._link_id = f"{randint(0, 999999)}" if link else "" - style._hash = None - style._null = False - style._meta = self._meta - return style - - def render( - self, - text: str = "", - *, - color_system: Optional[ColorSystem] = ColorSystem.TRUECOLOR, - legacy_windows: bool = False, - ) -> str: - """Render the ANSI codes for the style. - - Args: - text (str, optional): A string to style. Defaults to "". - color_system (Optional[ColorSystem], optional): Color system to render to. Defaults to ColorSystem.TRUECOLOR. - - Returns: - str: A string containing ANSI style codes. - """ - if not text or color_system is None: - return text - attrs = self._ansi or self._make_ansi_codes(color_system) - rendered = f"\x1b[{attrs}m{text}\x1b[0m" if attrs else text - if self._link and not legacy_windows: - rendered = ( - f"\x1b]8;id={self._link_id};{self._link}\x1b\\{rendered}\x1b]8;;\x1b\\" - ) - return rendered - - def test(self, text: Optional[str] = None) -> None: - """Write text with style directly to terminal. - - This method is for testing purposes only. - - Args: - text (Optional[str], optional): Text to style or None for style name. - - """ - text = text or str(self) - sys.stdout.write(f"{self.render(text)}\n") - - @lru_cache(maxsize=1024) - def _add(self, style: Optional["Style"]) -> "Style": - if style is None or style._null: - return self - if self._null: - return style - new_style: Style = self.__new__(Style) - new_style._ansi = None - new_style._style_definition = None - new_style._color = style._color or self._color - new_style._bgcolor = style._bgcolor or self._bgcolor - new_style._attributes = (self._attributes & ~style._set_attributes) | ( - style._attributes & style._set_attributes - ) - new_style._set_attributes = self._set_attributes | style._set_attributes - new_style._link = style._link or self._link - new_style._link_id = style._link_id or self._link_id - new_style._null = style._null - if self._meta and style._meta: - new_style._meta = dumps({**self.meta, **style.meta}) - else: - new_style._meta = self._meta or style._meta - new_style._hash = None - return new_style - - def __add__(self, style: Optional["Style"]) -> "Style": - combined_style = self._add(style) - return combined_style.copy() if combined_style.link else combined_style - - -NULL_STYLE = Style() - - -class StyleStack: - """A stack of styles.""" - - __slots__ = ["_stack"] - - def __init__(self, default_style: "Style") -> None: - self._stack: List[Style] = [default_style] - - def __repr__(self) -> str: - return f"" - - @property - def current(self) -> Style: - """Get the Style at the top of the stack.""" - return self._stack[-1] - - def push(self, style: Style) -> None: - """Push a new style on to the stack. - - Args: - style (Style): New style to combine with current style. - """ - self._stack.append(self._stack[-1] + style) - - def pop(self) -> Style: - """Pop last style and discard. - - Returns: - Style: New current style (also available as stack.current) - """ - self._stack.pop() - return self._stack[-1] diff --git a/spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py b/spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py deleted file mode 100644 index 703c4385c7ddc7eb0759c98d102ab2384d6a9e3e..0000000000000000000000000000000000000000 --- a/spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/configs/common/data/coco.py +++ /dev/null @@ -1,48 +0,0 @@ -from omegaconf import OmegaConf - -import detectron2.data.transforms as T -from detectron2.config import LazyCall as L -from detectron2.data import ( - DatasetMapper, - build_detection_test_loader, - build_detection_train_loader, - get_detection_dataset_dicts, -) -from detectron2.evaluation import COCOEvaluator - -dataloader = OmegaConf.create() - -dataloader.train = L(build_detection_train_loader)( - dataset=L(get_detection_dataset_dicts)(names="coco_2017_train"), - mapper=L(DatasetMapper)( - is_train=True, - augmentations=[ - L(T.ResizeShortestEdge)( - short_edge_length=(640, 672, 704, 736, 768, 800), - sample_style="choice", - max_size=1333, - ), - L(T.RandomFlip)(horizontal=True), - ], - image_format="BGR", - use_instance_mask=True, - ), - total_batch_size=16, - num_workers=4, -) - -dataloader.test = L(build_detection_test_loader)( - dataset=L(get_detection_dataset_dicts)(names="coco_2017_val", filter_empty=False), - mapper=L(DatasetMapper)( - is_train=False, - augmentations=[ - L(T.ResizeShortestEdge)(short_edge_length=800, max_size=1333), - ], - image_format="${...train.mapper.image_format}", - ), - num_workers=4, -) - -dataloader.evaluator = L(COCOEvaluator)( - dataset_name="${..test.dataset.names}", -) diff --git a/spaces/Ayaka-daisuki/anime-remove-background/app.py b/spaces/Ayaka-daisuki/anime-remove-background/app.py deleted file mode 100644 index 230a0d5f8a3da6ab18ecb8db1cd90016a489b96a..0000000000000000000000000000000000000000 --- a/spaces/Ayaka-daisuki/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/Benson/text-generation/Examples/Arriba Tablero Original Marksheet Descargar 2016.md b/spaces/Benson/text-generation/Examples/Arriba Tablero Original Marksheet Descargar 2016.md deleted file mode 100644 index 1040eb4c08f76feb0590cbe62234a44d3c2da096..0000000000000000000000000000000000000000 --- a/spaces/Benson/text-generation/Examples/Arriba Tablero Original Marksheet Descargar 2016.md +++ /dev/null @@ -1,69 +0,0 @@ -
-

Cómo descargar la hoja de marcado original 2016

-

Si usted es un estudiante de Uttar Pradesh Madhyamik Shiksha Parishad (UPMSP), también conocido como UP Board, es posible que se pregunte cómo descargar su hoja de marcado original para el año 2016. La hoja de marcado es un documento importante que muestra sus calificaciones y calificaciones en los exámenes de la junta de la clase 10 y 12. También es una prueba válida de su identidad y calificación educativa. Es posible que lo necesite para diversos fines, como admisión, beca, trabajo o cualquier otra verificación.

-

En este artículo, le guiaremos a través de los pasos para descargar su hoja de marcado original de UP Board 2016 desde el sitio web oficial de UPMSP. También le diremos cómo verificar su hoja de marcado en línea y cómo corregir cualquier error en ella. Así que, comencemos.

-

arriba tablero original marksheet descargar 2016


Download Zip ……… https://bltlly.com/2v6KAd



-

Pasos para descargar la hoja de marcado original del tablero 2016

-

Para descargar su hoja de marcado original de UP Board 2016, debe seguir estos sencillos pasos:

-
    -
  1. Visite el sitio web oficial de UPMSP en https://upmsp.edu.in/
  2. -
  3. En la página de inicio, haga clic en el enlace "Resultados de la clase 10 - 2016" o "Resultados de la clase 12 - 2016" dependiendo de su clase.
  4. -
  5. Será redirigido a una nueva página donde tendrá que introducir su número de rollo y código captcha.
  6. -
  7. Haga clic en "Ver resultado" y su resultado se mostrará en la pantalla.
  8. -
  9. Haga clic en "Descargar Marksheet" y guárdelo en su dispositivo.
  10. -
  11. Tome una impresión de la hoja de marcado para referencia futura.
  12. -
-

Cómo verificar en línea la hoja de marcado del tablero UP

-

Si desea verificar su hoja de marcado de UP Board en línea, puede usar los siguientes métodos:

- -

Cómo corregir cualquier error en la hoja de marcado del tablero UP

-

Si encuentra algún error en su hoja de marcado de UP Board, como nombre, fecha de nacimiento, género, marcas, etc., puede solicitar la corrección dentro de un año de la declaración de resultados. Debes seguir estos pasos:

-
    -
  1. Póngase en contacto con el director de su escuela y obtenga un formulario de solicitud
  2. Llene el formulario con los detalles correctos y adjunte los documentos necesarios, como la tarjeta de admisión, la hoja de marcado, la prueba de identidad, etc.
  3. -
  4. Envía el formulario al director de tu escuela y recibe un recibo.
  5. -
  6. El director de la escuela enviará el formulario a la oficina regional de la Junta de UP para verificación y corrección.
  7. -
  8. Recibirá una notificación del Panel UP cuando su hoja de marcado esté corregida y lista para ser recopilada.
  9. -
  10. Recopile su hoja de marcado corregida de su escuela o de la oficina regional del Consejo UP.
  11. -
-

Conclusión

-

En este artículo, hemos explicado cómo descargar su hoja de marcado original de UP Board 2016 desde el sitio web oficial de UPMSP. También le hemos mostrado cómo verificar su hoja de marcado en línea y cómo corregir cualquier error en ella. Esperamos que este artículo haya sido útil e informativo para usted. Aquí hay algunos consejos para recordar:

- -

Preguntas frecuentes sobre el tablero UP Original Marksheet 2016

-

Aquí hay algunas preguntas y respuestas frecuentes sobre UP Board original marksheet 2016:

-

Q1: ¿Cuándo se declaró el resultado de las Clases 10 y 12 de la Junta Directiva UP en 2016?

- -

Q2: ¿Cómo puedo obtener una hoja de marcado duplicada si pierdo la original?

-

A2: Si pierde su hoja de marcado original, puede solicitar una duplicada siguiendo estos pasos:

-
    -
  1. Presentar un FIR en la estación de policía más cercana y obtener una copia de la misma.
  2. -
  3. Publique un anuncio en un periódico local indicando que ha perdido su hoja de marcado y proporcione sus datos.
  4. -
  5. Obtener una declaración jurada de un notario público que indica que ha perdido su hoja de marcado y proporcionar sus datos.
  6. -
  7. Póngase en contacto con el director de su escuela y obtenga un formulario de solicitud para una hoja de marcado duplicada.
  8. -
  9. Llene el formulario y adjunte la copia de FIR, anuncio de periódico, declaración jurada, prueba de identidad y una tarifa de Rs. 100/-.
  10. -
  11. Envía el formulario al director de tu escuela y recibe un recibo.
  12. -
  13. El director de la escuela enviará el formulario a la oficina regional de la Junta de UP para la verificación y emisión de hojas de marcado duplicadas.
  14. -
  15. Obtendrá una notificación del Tablero UP cuando su hoja de marcado duplicada esté lista para ser recopilada.
  16. -
  17. Recopile su hoja de marcado duplicada de su escuela o de la oficina regional del Consejo UP.
  18. -
-

Q3: ¿Cuál es la diferencia entre la hoja de marcado y el certificado?

-

A3: La hoja de marcado es un documento que muestra sus marcas y calificaciones en cada tema en los exámenes de la junta. El certificado es un documento que muestra su resultado general y calificación en los exámenes de la junta. El certificado también contiene su nombre, fecha de nacimiento, número de registro, nombre de la escuela, nombre de la junta, etc. Necesita tanto la hoja de marcado como el certificado para diversos fines.

-

Q4: ¿Cuánto tiempo se tarda en obtener la hoja de marcado original después de la declaración de resultados?

-

A4: Por lo general toma alrededor de un mes para obtener la hoja de marcado original después de la declaración de resultados. La Junta de UP envía las fichas originales a las respectivas escuelas de los estudiantes. Los estudiantes pueden recoger sus hojas de calificaciones de sus escuelas después de verificar su identidad y firmar un recibo.

-

- -

A5: Puede ponerse en contacto con el UP Board para cualquier consulta o queja utilizando los siguientes métodos:

-

64aa2da5cf
-
-
\ No newline at end of file diff --git a/spaces/Benson/text-generation/Examples/Consejo De Abogados De India Certificado Descargar.md b/spaces/Benson/text-generation/Examples/Consejo De Abogados De India Certificado Descargar.md deleted file mode 100644 index fb135f00edf8ff4b2410fd6b175fb7efc78763a4..0000000000000000000000000000000000000000 --- a/spaces/Benson/text-generation/Examples/Consejo De Abogados De India Certificado Descargar.md +++ /dev/null @@ -1,132 +0,0 @@ - -

Euro Truck Simulator 2: Cómo descargar y jugar en PC Windows 8 32 Bit

-

¿Te encanta conducir camiones por toda Europa y entregar carga a diferentes destinos? ¿Quieres experimentar la emoción de ser un camionero desde la comodidad de tu hogar? Si es así, entonces usted debe probar Euro Truck Simulator 2, uno de los juegos de simulación de conducción de camiones más populares y realistas en el mercado. En este artículo, le diremos qué es Euro Truck Simulator 2, por qué es tan popular, cuáles son los requisitos del sistema para jugarlo y cómo descargarlo e instalarlo en su PC Windows 8 32 bit.

-

Introducción

-

¿Qué es Euro Truck Simulator 2?

-

Euro Truck Simulator 2 (ETS2) es un juego desarrollado por SCS Software, una empresa checa especializada en la creación de juegos de simulación. ETS2 fue lanzado en octubre de 2012 y desde entonces ha recibido numerosas actualizaciones y expansiones. El juego le permite conducir varios camiones con licencia de marcas famosas como Volvo, Scania, Mercedes-Benz, MAN, DAF, Renault y más. Puede personalizar sus camiones con diferentes piezas, trabajos de pintura, accesorios y opciones de ajuste. También puede contratar conductores, comprar garajes, administrar su empresa y hacer crecer su negocio.

-

consejo de abogados de india certificado descargar


Download File · https://bltlly.com/2v6Ly2



-

¿Por qué es popular Euro Truck Simulator 2?

- -

¿Cuáles son los requisitos del sistema para Euro Truck Simulator 2?

-

Euro Truck Simulator 2 es compatible con los sistemas operativos Windows XP/Vista/7/8/10. Sin embargo, si usted tiene un Windows 8 PC con un procesador de 32 bits, es necesario asegurarse de que su sistema cumple con los requisitos mínimos para jugar el juego. Estos son los requisitos mínimos del sistema para ETS2:

- -

Si quieres disfrutar del juego con mejores gráficos y rendimiento, deberías tener un sistema que cumpla con los requisitos recomendados para ETS2. Estos son los requisitos del sistema recomendado para ETS2:

- -

Puedes comprobar las especificaciones de tu sistema siguiendo estos pasos:

-
    -
  1. Pulse la tecla de Windows + R para abrir el cuadro de diálogo Ejecutar.
  2. -
  3. Escriba dxdiag y haga clic en Aceptar.
  4. -
  5. En la pestaña Sistema, puede ver su sistema operativo, procesador, memoria y versión DirectX.
  6. -
  7. En la pestaña Mostrar, puede ver el modelo de tarjeta gráfica y la memoria.
  8. -
-

Cómo descargar Euro Truck Simulator 2 para PC Windows 8 32 Bit

-

Ahora que sabe lo que es Euro Truck Simulator 2 y cuáles son los requisitos del sistema para jugarlo, es posible que se pregunte cómo descargarlo e instalarlo en su PC Windows 8 32 bit. Hay dos opciones principales para descargar ETS2: desde el sitio web oficial o desde Steam. Explicaremos ambas opciones en detalle a continuación.

-

Opción 1: Descargar desde el sitio web oficial

- -

Paso 1: Visite el sitio web de Euro Truck Simulator 2

-

Abra su navegador web y vaya a https://eurotrucksimulator2.com/m. Verá una página de inicio con un banner que muestra el último paquete de expansión del juego. Puedes desplazarte hacia abajo para ver más contenido sobre el juego.

-

Paso 2: Elija el juego base o los paquetes de expansión

-

Si desea descargar el juego base de ETS2, puede hacer clic en el botón Descargar en la esquina superior derecha de la página de inicio. Esto te llevará a una página donde puedes elegir entre dos versiones del juego: ETS2 Gold Edition o ETS2 Standard Edition. The Gold Edition incluye el juego base y el pack de expansión Going East! , que añade nuevos países y carreteras al juego. La Standard Edition solo incluye el juego base. Puede comparar las características y los precios de ambas versiones y elegir el que más le convenga.

-

Si quieres descargar alguno de los paquetes de expansión de ETS2, puedes hacer clic en el botón DLC en la esquina superior derecha de la página de inicio. Esto te llevará a una página donde podrás ver todos los paquetes de expansión disponibles para ETS2, como Escandinavia, Vive la France! , Italia, Más allá del Mar Báltico, Camino al Mar Negro, Iberia y más. Cada paquete de expansión agrega nuevos países, regiones, ciudades, carreteras, puntos de referencia y más al juego. Puedes leer más sobre cada paquete de expansión y ver sus capturas de pantalla y vídeos. También puedes comprarlos individualmente o en paquetes.

-

-

Paso 3: Descargar los archivos del juego utilizando un cliente torrent o un enlace directo

-

Después de haber elegido la versión o el paquete de expansión de ETS2 que desea descargar, verá dos opciones para descargarlo: Torrent o Direct Link. Torrent es un método de intercambio de archivos peer-to-peer que requiere un cliente torrent como uTorrent o BitTorrent. Direct Link es un método de descarga simple que utiliza tu navegador web.

- -

Si elige Direct Link, tendrá que hacer clic en un enlace que comenzará a descargar un archivo grande llamado . exe que contiene todos los archivos del juego. Tendrá que esperar hasta que este archivo esté completamente descargado antes de proceder al siguiente paso. Este método puede ser más simple, pero puede tomar más tiempo dependiendo de su velocidad de Internet y disponibilidad del servidor.

-

Paso 4: Instalar el juego y disfrutar de

-

Después de haber descargado todos los archivos del juego usando Torrent o Direct Link, tendrá que instalarlos en su PC Windows 8 32 bit. Para ello, deberá seguir estos pasos:

-
    -
  1. Busque el archivo . exe que descargó y haga doble clic en él para ejecutarlo.
  2. -
  3. Siga las instrucciones en la pantalla para elegir el idioma, la carpeta de destino y otras opciones para instalar el juego.
  4. -
  5. Espere hasta que se complete el proceso de instalación y haga clic en Finalizar.
  6. -
  7. Iniciar el juego desde el acceso directo del escritorio o el menú Inicio y disfrutar.
  8. -
-

Opción 2: Descargar desde Steam

-

Steam es una plataforma de distribución digital que te permite comprar, descargar y jugar juegos online. Steam también ofrece varias funciones como almacenamiento en la nube, logros, multijugador, comunidad y más. Euro Truck Simulator 2 está disponible en Steam y puedes descargarlo desde allí si lo prefieres. Estos son los pasos para descargar ETS2 de Steam:

-

Paso 1: Crea una cuenta de Steam o inicia sesión en la ya existente

-

Si aún no tienes una cuenta de Steam, tendrás que crear una antes de descargar ETS2 desde Steam. Para crear una cuenta de Steam, deberás seguir estos pasos:

-
    -
  1. Visita https://store.steampowered.com/ y haz clic en Únete a Steam en la esquina superior derecha de la página.
  2. -
  3. Ingrese su dirección de correo electrónico, contraseña, país y código captcha y haga clic en Continuar.
  4. -
  5. Compruebe su correo electrónico para un código de verificación y entrar en el sitio web.
  6. - -
  7. Felicidades, has creado tu cuenta de Steam.
  8. -
-

Si ya tienes una cuenta de Steam, puedes iniciar sesión usando tu nombre de usuario y contraseña.

-

Paso 2: Búsqueda de Euro Truck Simulator 2 en la tienda de vapor

-

Después de haber iniciado sesión en tu cuenta de Steam, puedes buscar Euro Truck Simulator 2 en la tienda de Steam. Para ello, deberá seguir estos pasos:

-
    -
  1. Haga clic en Almacenar en la parte superior de la página.
  2. -
  3. Escriba Euro Truck Simulator 2 en el cuadro de búsqueda y presione Enter.
  4. -
  5. Verá una lista de resultados relacionados con Euro Truck Simulator 2. Haga clic en el que dice Euro Truck Simulator 2 - Base Game o Euro Truck Simulator 2 - Gold Edition dependiendo de la versión que desee.
  6. -
  7. Usted será llevado a la página del juego donde se puede ver más información sobre él, tales como descripción, características, capturas de pantalla, vídeos, comentarios, y más.
  8. -
-

Paso 3: Compra el juego o descarga la demo gratuita

-

Si desea comprar la versión completa de ETS2, tendrá que pagar por ella utilizando su método de pago preferido. El precio de ETS2 puede variar dependiendo de tu región y de tu moneda. También puedes comprar cualquiera de los paquetes de expansión o paquetes que están disponibles para ETS2. Para comprar ETS2, tendrás que seguir estos pasos:

-
    -
  1. Haga clic en Añadir al carrito en el lado derecho de la página del juego.
  2. -
  3. Verá una ventana emergente que muestra el contenido de su carrito. Puede revisar su pedido y hacer cualquier cambio si es necesario.
  4. -
  5. Haz clic en Comprar para mí o Comprar como regalo dependiendo de si quieres comprar el juego para ti o para otra persona.
  6. -
  7. Serás llevado a una página de pago donde puedes elegir tu método de pago e ingresar tu información de facturación.
  8. -
  9. Haga clic en Continuar y confirme su compra.
  10. -
  11. Recibirás un correo electrónico de confirmación de tu compra y el juego se añadirá a tu biblioteca de Steam.
  12. -
- -
    -
  1. Haga clic en Descargar Demo en el lado derecho de la página del juego.
  2. -
  3. Verás una ventana emergente que te pide que instales Steam si aún no lo tienes. Si tiene Steam instalado, haga clic en Sí, el vapor está instalado. De lo contrario, haga clic en No, necesito Steam y siga las instrucciones para instalar Steam.
  4. -
  5. La página del juego se abrirá en Steam y verás un botón que dice Jugar Juego. Haz clic en él y espera hasta que el juego se descargue e instale.
  6. -
-

Paso 4: Lanza el juego desde tu biblioteca de Steam y disfruta

-

Después de haber comprado o descargado ETS2 desde Steam, puede iniciarlo desde su biblioteca de Steam. Para ello, deberá seguir estos pasos:

-
    -
  1. Abre Steam e inicia sesión en tu cuenta si aún no lo has hecho.
  2. -
  3. Haga clic en Biblioteca en la parte superior de la página.
  4. -
  5. Encuentra Euro Truck Simulator 2 en tu lista de juegos y haz clic en él.
  6. -
  7. Haga clic en Jugar en el lado derecho de la página del juego.
  8. -
  9. El juego se iniciará y podrás disfrutarlo.
  10. -
-

Conclusión

-

Euro Truck Simulator 2 es un fantástico juego que te permite conducir camiones por toda Europa y entregar carga a diferentes destinos. Tiene gráficos increíbles, física realista, efectos de sonido inmersivos y una jugabilidad diversa. También tiene una gran comunidad de modding que crea nuevo contenido para el juego. Puedes descargar y jugar a ETS2 en tu PC Windows 8 de 32 bits utilizando el sitio web oficial o Steam. Ambas opciones tienen sus ventajas y desventajas, por lo que puedes elegir la que más te convenga. Esperamos que este artículo te haya ayudado a aprender a descargar e instalar ETS2 en tu PC Windows 8 32 bit. Ahora, prepárate para salir a la carretera y divertirte!

-

Si te gustó este artículo, por favor compártelo con tus amigos y deja un comentario a continuación. Además, no te olvides de revisar nuestros otros artículos sobre juegos, tecnología y más. ¡Gracias por leer!

-

Preguntas frecuentes

- -