parquet-converter commited on
Commit
5ea34e0
·
1 Parent(s): e5846a6

Update parquet files (step 7 of 296)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. spaces/101-5/gpt4free/g4f/Provider/Providers/Lockchat.py +0 -32
  2. spaces/1acneusushi/gradio-2dmoleculeeditor/KohanIIKingsofWarportable.md +0 -68
  3. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Filmora 12 Crack Download Google Drive How to Get Filmora 12 for Free.md +0 -28
  4. spaces/1acneusushi/gradio-2dmoleculeeditor/data/GTA 4 Crack Version Download for PC A Complete Guide.md +0 -28
  5. spaces/1gistliPinn/ChatGPT4/Examples/Call Of Duty 2 Highly Compressed 429 Mb PC Hit.md +0 -99
  6. spaces/1phancelerku/anime-remove-background/Become an Ant God in Idle Ants Simulator Game.md +0 -120
  7. spaces/1phancelerku/anime-remove-background/Farm Frenzy and Friends A Fun and Challenging Puzzle Game APK - Test Your Skills.md +0 -115
  8. spaces/1phancelerku/anime-remove-background/Free Download Euro Truck Simulator 3 - The Most Advanced and Realistic Truck Game.md +0 -166
  9. spaces/AI-Hobbyist/Hoyo-RVC/uvr5_pack/lib_v5/nets_61968KB.py +0 -122
  10. spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_2_ProfileRecogition/mmpretrain/configs/_base_/models/resnetv1d101.py +0 -17
  11. spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_2_ProfileRecogition/mmpretrain/configs/resnext101_4xb32_1024e_4channel.py +0 -114
  12. spaces/AchyuthGamer/OpenGPT-Chat-UI/src/routes/+layout.server.ts +0 -66
  13. spaces/AchyuthGamer/OpenGPT/g4f/Provider/AItianhuSpace.py +0 -92
  14. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/hiddenedit/HiddenEdit.d.ts +0 -2
  15. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/perspectivecard/PerspectiveCard.d.ts +0 -57
  16. spaces/AlStable/AlPrompt/app.py +0 -49
  17. spaces/Alichuan/VITS-Umamusume-voice-synthesizer/hubert_model.py +0 -221
  18. spaces/Amrrs/DragGan-Inversion/stylegan_human/utils/log_utils.py +0 -84
  19. spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/docs/source/en/stable_diffusion.md +0 -273
  20. spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/tests/pipelines/deepfloyd_if/__init__.py +0 -272
  21. spaces/Andy1621/uniformer_image_detection/configs/faster_rcnn/faster_rcnn_r50_caffe_dc5_1x_coco.py +0 -37
  22. spaces/Andy1621/uniformer_image_segmentation/configs/_base_/models/ccnet_r50-d8.py +0 -44
  23. spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/silero_tts/script.py +0 -254
  24. spaces/Ariharasudhan/YoloV5/utils/loggers/wandb/__init__.py +0 -0
  25. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/rich/progress_bar.py +0 -224
  26. spaces/Banbri/zcvzcv/src/lib/computePercentage.ts +0 -4
  27. spaces/Basil2k4/VPSnguyenmanh/src/startup/version_sticker.sh +0 -39
  28. spaces/BatuhanYilmaz/Youtube-Transcriber/README.md +0 -12
  29. spaces/Benson/text-generation/Examples/Airtel Smart Remote Apk Descargar.md +0 -99
  30. spaces/Benson/text-generation/Examples/Android Download Instagram.md +0 -159
  31. spaces/Benson/text-generation/Examples/Cinco Noches En Freddy 39s 9 Apk.md +0 -77
  32. spaces/Benson/text-generation/Examples/Config Tropiezo Chicos Apk.md +0 -98
  33. spaces/Benson/text-generation/Examples/Delfn Emulador Pro Apk ltima Versin.md +0 -54
  34. spaces/Benson/text-generation/Examples/Descargar Correr Hombre Alto.md +0 -98
  35. spaces/BetterAPI/BetterChat_new/PRIVACY.md +0 -35
  36. spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/utils/urls.py +0 -62
  37. spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py +0 -0
  38. spaces/CVPR/WALT/mmdet/models/dense_heads/pisa_retinanet_head.py +0 -154
  39. spaces/ChandraMohanNayal/AutoGPT/.devcontainer/Dockerfile +0 -28
  40. spaces/Chomkwoy/Nilkessye/utils/keypoint.py +0 -245
  41. spaces/CjangCjengh/Shanghainese-TTS/text/__init__.py +0 -32
  42. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/PIL/ImageSequence.py +0 -76
  43. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/fontTools/pens/cairoPen.py +0 -26
  44. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/fontTools/ttLib/tables/V_O_R_G_.py +0 -159
  45. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/gradio/components/timeseries.py +0 -157
  46. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/gradio/templates/cdn/assets/index-1ec93f47.js +0 -2
  47. spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/gradio/templates/cdn/assets/index-5925880b.js +0 -2
  48. spaces/DaleChen/AutoGPT/autogpt/permanent_memory/sqlite3_store.py +0 -123
  49. spaces/Danuuo/GPTDocs/app.py +0 -190
  50. spaces/Datasculptor/MusicGen/tests/modules/test_codebooks_patterns.py +0 -246
spaces/101-5/gpt4free/g4f/Provider/Providers/Lockchat.py DELETED
@@ -1,32 +0,0 @@
1
- import requests
2
- import os
3
- import json
4
- from ...typing import sha256, Dict, get_type_hints
5
- url = 'http://supertest.lockchat.app'
6
- model = ['gpt-4', 'gpt-3.5-turbo']
7
- supports_stream = True
8
- needs_auth = False
9
-
10
- def _create_completion(model: str, messages: list, stream: bool, temperature: float = 0.7, **kwargs):
11
-
12
- payload = {
13
- "temperature": 0.7,
14
- "messages": messages,
15
- "model": model,
16
- "stream": True,
17
- }
18
- headers = {
19
- "user-agent": "ChatX/39 CFNetwork/1408.0.4 Darwin/22.5.0",
20
- }
21
- response = requests.post("http://supertest.lockchat.app/v1/chat/completions",
22
- json=payload, headers=headers, stream=True)
23
- for token in response.iter_lines():
24
- if b'The model: `gpt-4` does not exist' in token:
25
- print('error, retrying...')
26
- _create_completion(model=model, messages=messages, stream=stream, temperature=temperature, **kwargs)
27
- if b"content" in token:
28
- token = json.loads(token.decode('utf-8').split('data: ')[1])['choices'][0]['delta'].get('content')
29
- if token: yield (token)
30
-
31
- params = f'g4f.Providers.{os.path.basename(__file__)[:-3]} supports: ' + \
32
- '(%s)' % ', '.join([f"{name}: {get_type_hints(_create_completion)[name].__name__}" for name in _create_completion.__code__.co_varnames[:_create_completion.__code__.co_argcount]])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/KohanIIKingsofWarportable.md DELETED
@@ -1,68 +0,0 @@
1
- ## KohanIIKingsofWarportable
2
-
3
-
4
-
5
-
6
-
7
- ![KohanIIKingsofWarportable](https://assets2.ignimgs.com/2004/09/21/kohan-ii-kings-of-war-20040921052128718-942255.jpg)
8
-
9
-
10
-
11
-
12
-
13
- **Click Here • [https://jinyurl.com/2tzZW8](https://jinyurl.com/2tzZW8)**
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
- # Kohan II: Kings of War Portable - How to Play the Classic RTS Game on Your Mobile Device
28
-
29
-
30
-
31
- If you are a fan of real-time strategy games, you might remember Kohan II: Kings of War, a critically acclaimed title that was released in 2004. The game features a unique gameplay system that combines elements of city-building, resource management, and tactical combat. You can choose from six different factions and lead your army to victory in a rich fantasy world.
32
-
33
-
34
-
35
- But what if you want to enjoy this classic game on your mobile device? Is there a way to play Kohan II: Kings of War portable? The answer is yes, thanks to a handy tool called ExaGear Strategies. This app allows you to run PC games on your Android or iOS device with minimal configuration. Here is how you can use it to play Kohan II: Kings of War portable:
36
-
37
-
38
-
39
- 1. Download and install ExaGear Strategies from the official website or the app store.
40
-
41
- 2. Copy the Kohan II: Kings of War folder from your PC to your mobile device. You can use a USB cable, a cloud service, or a file manager app.
42
-
43
- 3. Launch ExaGear Strategies and tap on the Kohan II: Kings of War icon. The game will start automatically.
44
-
45
- 4. Enjoy playing Kohan II: Kings of War portable on your mobile device. You can customize the controls, graphics, and sound settings from the ExaGear menu.
46
-
47
-
48
-
49
- Kohan II: Kings of War portable is a great way to relive the nostalgia of this classic RTS game. You can play it anytime and anywhere on your mobile device. ExaGear Strategies also supports other popular PC games, such as Age of Empires, Civilization III, Heroes of Might and Magic III, and more. Try it out today and see for yourself how easy and fun it is to play PC games on your mobile device.
50
-
51
-
52
-
53
- If you are wondering how ExaGear Strategies works, here is a brief explanation. ExaGear Strategies is an emulator that creates a virtual environment on your mobile device that mimics a Windows PC. This allows you to run PC games that are compatible with the app. ExaGear Strategies does not require root access or any additional software. It also does not violate any copyrights or licenses of the games.
54
-
55
-
56
-
57
- ExaGear Strategies has a user-friendly interface that lets you easily select and launch the games you want to play. You can also adjust the settings to optimize the performance and compatibility of the games. For example, you can change the resolution, the mouse sensitivity, the keyboard layout, and the sound volume. You can also use touch gestures to simulate mouse clicks and keyboard presses.
58
-
59
-
60
-
61
- ExaGear Strategies is not only a great tool for playing Kohan II: Kings of War portable, but also for other PC games that you love. You can explore a variety of genres and titles that are available on the app's website or on the internet. You can also request new games to be added to the app's compatibility list by contacting the developers. ExaGear Strategies is constantly updated and improved to provide you with the best gaming experience on your mobile device.
62
-
63
- 145887f19f
64
-
65
-
66
-
67
-
68
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Filmora 12 Crack Download Google Drive How to Get Filmora 12 for Free.md DELETED
@@ -1,28 +0,0 @@
1
- <br />
2
- <h1>Filmora 12 Crack Download Google Drive: How to Get Filmora 12 for Free</h1>
3
- <p>Filmora 12 is a powerful and easy-to-use video editing software that allows you to create stunning videos with various effects, transitions, filters, titles, music and more. Filmora 12 is compatible with Windows and Mac operating systems and supports various video formats and resolutions. Filmora 12 is a great choice for beginners and professionals alike who want to make amazing videos for personal or professional purposes.</p>
4
- <h2>filmora 12 crack download google drive</h2><br /><p><b><b>Download Zip</b> &#10031; <a href="https://byltly.com/2uKzr6">https://byltly.com/2uKzr6</a></b></p><br /><br />
5
- <p>However, Filmora 12 is not a free software. You need to purchase a license key to use all its features and remove the watermark from your videos. The official price of Filmora 12 is $69.99 for a lifetime license. But what if you don't want to pay that much for a software that you may only use occasionally?</p>
6
- <p>That's where Filmora 12 crack download google drive comes in. Filmora 12 crack download google drive is a modified version of Filmora 12 that bypasses the registration process and unlocks all the features for free. You can download Filmora 12 crack download google drive from various websites on the internet and enjoy the full functionality of Filmora 12 without spending a dime.</p>
7
- <h2>How to Download Filmora 12 Crack Download Google Drive</h2>
8
- <p>Before you download Filmora 12 crack download google drive, you should be aware of the risks involved. Filmora 12 crack download google drive is an illegal and unauthorized version of Filmora 12 that may contain viruses, malware, spyware or other harmful components. Downloading and using Filmora 12 crack download google drive may damage your computer system, compromise your personal data, or expose you to legal issues.</p>
9
- <p></p>
10
- <p>Therefore, we do not recommend or endorse downloading Filmora 12 crack download google drive from any source. The best way to use Filmora 12 is to buy the official license key from the official website and support the developers who created this amazing software.</p>
11
- <p>However, if you still want to download Filmora 12 crack download google drive at your own risk, here are the steps you need to follow:</p>
12
- <ol>
13
- <li>Go to any website that offers Filmora 12 crack download google drive links. You can search for "filmora 12 crack download google drive" on Google or any other search engine and find many results.</li>
14
- <li>Select a website that looks trustworthy and reliable. Avoid websites that have too many ads, pop-ups, redirects or suspicious domains.</li>
15
- <li>Click on the download link or button and wait for the download to start. You may need to sign in with your Google account or grant permission to access your Google Drive.</li>
16
- <li>Once the download is complete, save the zip file to your computer.</li>
17
- <li>Extract the zip file using WinRAR or any other software that can handle zip files.</li>
18
- <li>Open the extracted folder and run the setup.exe file as administrator.</li>
19
- <li>Follow the installation instructions and choose the destination folder where you want to install Filmora.</li>
20
- <li>After the installation is complete, do not run Filmora yet.</li>
21
- <li>Copy the filmora.exe file from the crack folder and paste it into the installation folder where you installed Filmora. Replace the original file when prompted.</li>
22
- <li>Now you can run Filmora as usual and enjoy all its features for free.</li>
23
- </ol>
24
- <h2>Conclusion</h2>
25
- <p>Filmora 12 crack download google drive is a way to use Filmora 12 for free without paying for a license key. However, it is not a safe or legal way to use Filmora 12 and it may cause more harm than good to your computer system and personal data. Therefore, we advise you to avoid downloading Filmora 12 crack download google drive from any source and instead buy the official license key from the official website of Filmora.</p>
26
- <p>If you found this article helpful, please share it with your friends and leave a comment below. Thank you for reading!</p> ddb901b051<br />
27
- <br />
28
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/GTA 4 Crack Version Download for PC A Complete Guide.md DELETED
@@ -1,28 +0,0 @@
1
-
2
- <h1>GTA 4 Crack Version Download for PC: How to Get It for Free</h1>
3
- <p>GTA 4 is one of the most popular games in the Grand Theft Auto series, which spans three distinct stories set in the open world of Liberty City. The game boasts hundreds of hours of single-player gameplay, a full suite of multiplayer modes, and dozens of radio stations with original music and dialogue. However, GTA 4 is also a paid game, which means you need to buy it from official sources or authorized retailers. But what if you want to play GTA 4 for free on your PC? Is there a way to get GTA 4 crack version download for PC without spending a dime?</p>
4
- <h2>gta 4 crack version download for pc</h2><br /><p><b><b>Download</b> &middot;&middot;&middot; <a href="https://byltly.com/2uKA19">https://byltly.com/2uKA19</a></b></p><br /><br />
5
- <p>The answer is yes, but you need to be careful and follow some steps to avoid any legal or technical issues. In this article, we will show you how to get GTA 4 download crack free with all features and enjoy this amazing game on your PC.</p>
6
- <h2>What is GTA 4 Crack?</h2>
7
- <p>GTA 4 crack is a modified version of the original game that bypasses the registration and activation process. This means you can install and play GTA 4 without having to enter a serial key or connect to the internet. GTA 4 crack also removes the dependencies from Games for Windows Live (GFWL), which was discontinued by Microsoft in 2014. This allows you to play GTA 4 offline and access all the content and features of the game.</p>
8
- <p>However, GTA 4 crack also has some drawbacks and risks. First of all, it is illegal to use GTA 4 crack, as it violates the copyright and terms of service of Rockstar Games, the developer and publisher of GTA 4. You may face legal consequences if you are caught using GTA 4 crack. Secondly, GTA 4 crack may not be compatible with the latest updates and patches of the game, which may cause bugs, glitches, or crashes. Thirdly, GTA 4 crack may contain viruses, malware, or spyware that can harm your PC or steal your personal data. Therefore, you need to be very careful when downloading and installing GTA 4 crack.</p>
9
- <h2>How to Get GTA 4 Crack Version Download for PC?</h2>
10
- <p>If you still want to try GTA 4 crack version download for PC, you need to follow these steps:</p>
11
- <p></p>
12
- <ol>
13
- <li>Download a reliable GTA 4 repack from a trusted source. A repack is a compressed version of the game that includes the crack and other optional features. You can find many repacks online, but make sure they are safe and verified by other users. For example, you can download Grand Theft Auto IV: The Complete Edition – v1.2.0.43 Repack by Fitgirl, which is one of the most popular and reputable repacks available.</li>
14
- <li>Extract the repack files using a program like WinRAR or 7-Zip. You will get a folder with the game files and instructions.</li>
15
- <li>Run the setup.exe file and follow the installation steps. You can choose the language, destination folder, and components of the game. You can also skip downloading and installing some optional features like Vanilla Fixes ModPack, which adds essential fixes and improvements to the game.</li>
16
- <li>Wait for the installation to finish. It may take some time depending on your PC specifications.</li>
17
- <li>Run the game from the desktop shortcut or the game folder. You don't need to enter any serial key or activate the game online.</li>
18
- <li>Enjoy GTA 4 crack version download for PC!</li>
19
- </ol>
20
- <h2>Tips and Warnings</h2>
21
- <ul>
22
- <li>Before downloading and installing GTA 4 crack, make sure your PC meets the minimum system requirements for the game. You can check them here: https://www.systemrequirementslab.com/cyri/requirements/grand-theft-auto-iv/10695</li>
23
- <li>Before running GTA 4 crack, make sure you disable your antivirus or firewall software, as they may interfere with the crack or delete it as a false positive.</li>
24
- <li>Before playing GTA 4 crack, make sure you backup your save files and settings, as they may be overwritten or corrupted by the crack.</li>
25
- <li>Do not update or patch GTA 4 crack, as it may break the crack or cause compatibility issues.</li>
26
- <li>Do not play</p> ddb901b051<br />
27
- <br />
28
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1gistliPinn/ChatGPT4/Examples/Call Of Duty 2 Highly Compressed 429 Mb PC Hit.md DELETED
@@ -1,99 +0,0 @@
1
-
2
- <h1>How to Download and Play Call Of Duty 2 Highly Compressed 429 Mb PC Hit</h1>
3
- <p>Are you looking for a way to play one of the best first-person shooter games ever made on your low-end PC or with limited storage space? If yes, then you should try <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b>, a version of the game that has been reduced in size without losing any of its features or quality. In this article, we will tell you everything you need to know about this game, how to download and install it, and why you should play it.</p>
4
- <h2>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</h2><br /><p><b><b>Download Zip</b> &#8230; <a href="https://imgfil.com/2uy1uk">https://imgfil.com/2uy1uk</a></b></p><br /><br />
5
- <h2>What is Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
6
- <p><b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is a version of the game Call Of Duty 2, which was released in 2005 by Infinity Ward and Activision. This game is the second installment of the Call Of Duty series, which is based on the events of World War II. In this game, you can play as one of four soldiers from different countries and participate in various missions across different locations. You can also choose to play in single-player or multiplayer mode, where you can compete with other players online.</p>
7
- <p>The original size of the game is about 3.5 GB, which might be too large for some PCs or devices. That's why some websites have compressed the game using advanced techniques and algorithms, making it fit in just 429 MB. This means that you can download and install the game faster and easier, without compromising its performance or graphics. You can enjoy the same gameplay, features, modes, levels, weapons, vehicles, and sound effects as the original game.</p>
8
- <h2>How to Download and Install Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
9
- <p>Downloading and installing <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is very easy and simple. You just need to follow these steps:</p>
10
- <p></p>
11
- <ol>
12
- <li>Go to any website that offers this version of the game, such as <a href="https://www.ultracompressed.com/call-of-duty-2-highly-compressed/">Ultra Compressed</a> or <a href="http://thecalla.yolasite.com/resources/Call-Of-Duty-2-Highly-Compressed-429-Mb-PC-Full.pdf">Yola</a>.</li>
13
- <li>Click on the download link and wait for the file to be downloaded on your PC.</li>
14
- <li>Extract the file using Winrar or 7zip.</li>
15
- <li>Run _unpak.bat file and wait for the installation process to be completed.</li>
16
- <li>Play the game with CoDSP.exe file.</li>
17
- </ol>
18
- <p>That's it! You can now enjoy <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> on your PC without any hassle.</p>
19
- <h2>Why You Should Play Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
20
- <p><b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is not only a great way to save space on your PC, but also a great way to experience one of the best shooting games ever made. Here are some of the reasons why you should play this game:</p>
21
- <ul>
22
- <li>The game has amazing graphics and sound effects that will immerse you in the war atmosphere.</li>
23
- <li>The game has a realistic and engaging storyline that will keep you hooked until the end.</li>
24
- <li>The game has a variety of weapons and vehicles that you can use to fight against your enemies.</li>
25
- <li>The game has a dynamic gameplay that will challenge your skills and strategies.</li>
26
- <li>The game has a multiplayer mode that will allow you to play with or against other players online.</li>
27
- </ul>
28
- <p><b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is a game that you should not miss if you love action and adventure. It is a game that will give you hours of fun and excitement. Download it now and see for yourself!</p>
29
- <h2>How to Fix Common Problems of Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
30
- <p>While <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is a great game to play, it might have some common problems that might affect your gaming experience. Some of these problems are:</p>
31
- <ul>
32
- <li>The game might not run or crash on your PC due to incompatible hardware or software.</li>
33
- <li>The game might have low FPS or lag due to high graphics settings or background processes.</li>
34
- <li>The game might have missing or corrupted files due to incomplete download or installation.</li>
35
- <li>The game might have sound or video issues due to outdated drivers or codecs.</li>
36
- <li>The game might have online issues due to firewall or antivirus settings or poor internet connection.</li>
37
- </ul>
38
- <p>Fortunately, you can fix most of these problems by following these simple steps:</p>
39
- <ol>
40
- <li>Make sure your PC meets the minimum system requirements for the game.</li>
41
- <li>Update your graphics card and sound card drivers to the latest versions.</li>
42
- <li>Run the game as administrator and in compatibility mode for Windows XP SP3.</li>
43
- <li>Lower your graphics settings and resolution to improve your FPS and performance.</li>
44
- <li>Close any unnecessary programs or processes that might be using your CPU or RAM.</li>
45
- <li>Verify the integrity of your game files using Winrar or 7zip.</li>
46
- <li>Reinstall the game if you have missing or corrupted files.</li>
47
- <li>Install the latest DirectX and codecs for your PC.</li>
48
- <li>Disable your firewall or antivirus temporarily or add the game to their exceptions list.</li>
49
- <li>Check your internet connection and speed and make sure you have a stable ping.</li>
50
- </ol>
51
- <p>By following these steps, you should be able to fix most of the common problems of <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> and enjoy the game without any hassle.</p>
52
- <h2>What are the Tips and Tricks for Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
53
- <p>If you want to master <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> and become a better player, you should know some tips and tricks that will help you improve your skills and strategies. Some of these tips and tricks are:</p>
54
- <ul>
55
- <li>Use cover and stealth to avoid enemy fire and surprise them with ambushes.</li>
56
- <li>Aim for the head or chest to inflict more damage and kill enemies faster.</li>
57
- <li>Reload your weapon whenever you have a chance and keep an eye on your ammo count.</li>
58
- <li>Switch between different weapons depending on the situation and enemy type.</li>
59
- <li>Use grenades and explosives to clear out groups of enemies or destroy vehicles.</li>
60
- <li>Use your binoculars to spot enemies and objectives from a distance.</li>
61
- <li>Listen to your teammates and follow their commands and instructions.</li>
62
- <li>Save your health packs and medkits for when you really need them.</li>
63
- <li>Explore the environment and look for hidden items and secrets.</li>
64
- <li>Play in multiplayer mode to learn from other players and cooperate with them.</li>
65
- </ul>
66
- <p>By following these tips and tricks, you should be able to play <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> like a pro and have more fun and excitement.</p>
67
- <h2>What are the Reviews and Ratings of Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
68
- <p><b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> has received many positive reviews and ratings from critics and players alike. The game has been praised for its graphics, sound, story, gameplay, features, and modes. The game has also been awarded and nominated for several awards, such as:</p>
69
- <ul>
70
- <li>The game won the Best Graphics Technology award at the Game Developers Choice Awards in 2006.</li>
71
- <li>The game won the Best Military Game award at the Spike Video Game Awards in 2005.</li>
72
- <li>The game won the Best Action Game award at the BAFTA Games Awards in 2006.</li>
73
- <li>The game was nominated for the Game of the Year award at the Golden Joystick Awards in 2006.</li>
74
- <li>The game was nominated for the Best PC Game award at the Academy of Interactive Arts & Sciences Awards in 2006.</li>
75
- </ul>
76
- <p>The game has also received high scores from various websites and magazines, such as:</p>
77
- <ul>
78
- <li>The game has a score of 9.4 out of 10 on IGN.</li>
79
- <li>The game has a score of 9.2 out of 10 on GameSpot.</li>
80
- <li>The game has a score of 9 out of 10 on Eurogamer.</li>
81
- <li>The game has a score of 8.8 out of 10 on Metacritic.</li>
82
- <li>The game has a score of 8.7 out of 10 on GameRankings.</li>
83
- </ul>
84
- <p>These are some of the reviews and ratings of <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b>. They show that the game is a masterpiece and a must-play for any fan of action and adventure games.</p>
85
- <h2>What are the Alternatives to Call Of Duty 2 Highly Compressed 429 Mb PC Hit?</h2>
86
- <p>If you have played <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> and you want to try something different, you might be interested in some alternatives to this game. There are many other games that are similar to this game in terms of genre, theme, style, or features. Some of these games are:</p>
87
- <ul>
88
- <li><a href="https://www.ultracompressed.com/call-of-duty-4-modern-warfare-highly-compressed/">Call Of Duty 4: Modern Warfare Highly Compressed</a>: This is another game from the Call Of Duty series, but it is set in modern times instead of World War II. It has a new story, new weapons, new modes, and new graphics.</li>
89
- <li><a href="https://www.ultracompressed.com/medal-of-honor-airborne-highly-compressed/">Medal Of Honor: Airborne Highly Compressed</a>: This is another game that is based on World War II, but it focuses on the airborne operations of the US Army. It has a unique gameplay mechanic that allows you to parachute into any location on the map.</li>
90
- <li><a href="https://www.ultracompressed.com/battlefield-3-highly-compressed/">Battlefield 3 Highly Compressed</a>: This is another game that is set in modern times, but it has a more realistic and tactical approach to combat. It has a large-scale multiplayer mode that supports up to 64 players.</li>
91
- <li><a href="https://www.ultracompressed.com/half-life-2-highly-compressed/">Half-Life 2 Highly Compressed</a>: This is another game that is a first-person shooter, but it has a sci-fi and dystopian theme. It has a rich story, a physics-based gameplay, and a variety of weapons and vehicles.</li>
92
- <li><a href="https://www.ultracompressed.com/bioshock-infinite-highly-compressed/">Bioshock Infinite Highly Compressed</a>: This is another game that is a first-person shooter, but it has a steampunk and fantasy theme. It has a complex plot, a stunning art style, and a unique combat system.</li>
93
- </ul>
94
- <p>These are some of the alternatives to <b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b>. They are all great games that will give you hours of fun and excitement.</p>
95
- <h2>Conclusion</h2>
96
- <p><b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is a game that you should definitely try if you love action and adventure games. It is a game that will take you back to the World War II era and let you experience the thrill and horror of war. It is a game that has amazing graphics, sound, story, gameplay, features, and modes. It is a game that has been highly praised and awarded by critics and players alike. It is a game that has been highly compressed to fit in a small space without losing any of its quality or performance. It is a game that you can download and install easily and quickly from trusted and verified sources. It is a game that you can fix and uninstall easily and safely if you encounter any problems. It is a game that you can master and enjoy with some tips and tricks. It is a game that you can explore and compare with some alternatives.</p>
97
- <p><b>Call Of Duty 2 Highly Compressed 429 Mb PC Hit</b> is a game that you should not miss. It is a game that will give you hours of fun and excitement. Download it now and see for yourself!</p> 3cee63e6c2<br />
98
- <br />
99
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Become an Ant God in Idle Ants Simulator Game.md DELETED
@@ -1,120 +0,0 @@
1
- <br />
2
- <h1>Idle Ants - Simulator Game: A Fun and Addictive Game for Everyone</h1>
3
- <p>Do you love ants? Do you want to command your own colony of ants and watch them devour everything in their path? If you answered yes, then you should try Idle Ants - Simulator Game, a fun and addictive game that lets you experience the life of ants like never before.</p>
4
- <h2>idle ants simulator game download</h2><br /><p><b><b>DOWNLOAD</b> > <a href="https://jinyurl.com/2uNRLM">https://jinyurl.com/2uNRLM</a></b></p><br /><br />
5
- <h2>What is Idle Ants - Simulator Game?</h2>
6
- <p>Idle Ants - Simulator Game is an arcade game developed by Madbox, a company that specializes in creating casual and hyper-casual games. The game was released in October 2020 and has since gained over 10 million downloads and 4.1 stars rating on Google Play Store. The game is also available on AppBrain and Microsoft Store.</p>
7
- <h3>The gameplay of Idle Ants - Simulator Game</h3>
8
- <p>The gameplay of Idle Ants - Simulator Game is simple and straightforward. You start with a small colony of ants that can move food, such as donuts, cheese, eggs, bugs, and even airplanes and cars. You can tap on the food to make your ants eat faster, or swipe on the screen to move your ants around. As your ants consume the food, they will earn money that you can use to upgrade your colony.</p>
9
- <h3>The features of Idle Ants - Simulator Game</h3>
10
- <p>Idle Ants - Simulator Game has many features that make it fun and engaging. Here are some of them:</p>
11
- <h4>Upgrade and grow your colony</h4>
12
- <p>You can use the money you earn to buy more ants, increase their speed, and improve their efficiency. You can also unlock new worlds with different food items and challenges. As you progress, you will see your colony grow into a mighty ant empire.</p>
13
- <h4>Supercharge the evolution of your ants</h4>
14
- <p>You can also use the money to buy special items that can boost the evolution of your ants. These items can give your ants special abilities, such as flying, shooting lasers, or exploding. These abilities can help you clear the food faster and earn more money.</p>
15
- <p>idle ants simulation game apk<br />
16
- idle ants simulator game online<br />
17
- idle ants game download for pc<br />
18
- idle ants simulator game mod apk<br />
19
- idle ants simulation game review<br />
20
- idle ants simulator game cheats<br />
21
- idle ants game download free<br />
22
- idle ants simulator game tips<br />
23
- idle ants simulation game hack<br />
24
- idle ants simulator game play online<br />
25
- idle ants game download apk pure<br />
26
- idle ants simulator game strategy<br />
27
- idle ants simulation game update<br />
28
- idle ants simulator game appbrain<br />
29
- idle ants game download for android<br />
30
- idle ants simulator game poki<br />
31
- idle ants simulation game latest version<br />
32
- idle ants simulator game google play<br />
33
- idle ants game download ios<br />
34
- idle ants simulator game reddit<br />
35
- idle ants simulation game rating<br />
36
- idle ants simulator game madbox<br />
37
- idle ants game download for windows 10<br />
38
- idle ants simulator game wiki<br />
39
- idle ants simulation game size<br />
40
- idle ants simulator game app store<br />
41
- idle ants game download for mac<br />
42
- idle ants simulator game youtube<br />
43
- idle ants simulation game features<br />
44
- idle ants simulator game facebook<br />
45
- idle ants game download for chromebook<br />
46
- idle ants simulator game discord<br />
47
- idle ants simulation game requirements<br />
48
- idle ants simulator game instagram<br />
49
- idle ants game download for laptop<br />
50
- idle ants simulator game guide<br />
51
- idle ants simulation game content rating<br />
52
- idle ants simulator game twitter<br />
53
- idle ants game download for ipad<br />
54
- idle ants simulator game forum<br />
55
- idle ants simulation game developer<br />
56
- idle ants simulator game screenshots<br />
57
- idle ants game download for linux<br />
58
- idle ants simulator game levels<br />
59
- idle ants simulation game release date</p>
60
- <h4>Max out your ants' strength</h4>
61
- <p>You can also use the money to increase the strength of your ants. This will allow them to eat bigger and harder food items, such as metal, stone, or even diamonds. You will be amazed by how powerful your ants can become.</p>
62
- <h4>Unlock new skins and decorations</h4>
63
- <p>You can also use the money to customize the appearance of your ants and their hut. You can buy different skins for your ants, such as rainbow, zombie, or robot. You can also buy various decorations for their hut, such as flowers, flags, or posters. You can make your colony look unique and stylish.</p>
64
- <h4>Consume everything in sight</h4>
65
- <p>The most fun feature of Idle Ants - Simulator Game is that you can make your ants eat anything you want. You can choose from a variety of food items, ranging from fruits and vegetables to animals and vehicles. You can also watch as your ants break down the food into smaller pieces and carry them to their hut. You will be satisfied by seeing how much your ants can devour.</p>
66
- <h2>How to download Idle Ants - Simulator Game?</h2>
67
- <p>If you are interested in playing Idle Ants - Simulator Game, you can download it from different platforms, depending on your device and preference. Here are some of the options:</p>
68
- <h3>Download Idle Ants - Simulator Game from Google Play Store</h3>
69
- <p>If you have an Android device, you can download Idle Ants - Simulator Game from Google Play Store, the official app store for Android. You can follow these steps to download the game:</p>
70
- <ol>
71
- <li>Open the Google Play Store app on your device.</li>
72
- <li>Search for Idle Ants - Simulator Game in the search bar.</li>
73
- <li>Select the game from the list of results and tap on Install.</li>
74
- <li>Wait for the game to download and install on your device.</li>
75
- <li>Tap on Open to launch the game and enjoy.</li>
76
- </ol>
77
- <p>You can also use this link to access the game page on Google Play Store and download it from there.</p>
78
- <h3>Download Idle Ants - Simulator Game from AppBrain</h3>
79
- <p>If you want to download Idle Ants - Simulator Game from a third-party app store, you can use AppBrain, a website that offers free and paid apps for Android. You can follow these steps to download the game:</p>
80
- <ol>
81
- <li>Open your web browser and go to this link to access the game page on AppBrain.</li>
82
- <li>Tap on Download APK to download the game file on your device.</li>
83
- <li>Go to your device settings and enable the installation of apps from unknown sources.</li>
84
- <li>Locate the downloaded file on your device and tap on it to install it.</li>
85
- <li>Tap on Open to launch the game and enjoy.</li>
86
- </ol>
87
- <h3>Download Idle Ants - Simulator Game from Microsoft Store</h3>
88
- <p>If you have a Windows 10 device, you can download Idle Ants - Simulator Game from Microsoft Store, the official app store for Windows. You can follow these steps to download the game:</p>
89
- <ol>
90
- <li>Open the Microsoft Store app on your device.</li>
91
- <li>Search for Idle Ants - Simulator Game in the search bar.</li>
92
- <li>Select the game from the list of results and tap on Get.</li>
93
- <li>Wait for the game to download and install on your device.</li>
94
- <li>Tap on Play to launch the game and enjoy.</li>
95
- </ol>
96
- <p>You can also use this link to access the game page on Microsoft Store and download it from there.</p>
97
- <h2>Why should you play Idle Ants - Simulator Game?</h2>
98
- <p>If you are still not convinced that Idle Ants - Simulator Game is a game worth playing, here are some reasons why you should give it a try:</p>
99
- <h3>Idle Ants - Simulator Game is fun and satisfying</h3>
100
- <p>Idle Ants - Simulator Game is a game that will make you feel good as you watch your ants eat everything in their way. You will enjoy seeing how your ants grow, evolve, and become stronger. You will also love seeing how much money you can make by selling the food scraps. The game is full of fun animations, sounds, and effects that will keep you entertained for hours.</p>
101
- <h3>Idle Ants - Simulator Game is easy and casual</h3>
102
- <p>Idle Ants - Simulator Game is a game that does not require much skill or effort. You can play it anytime, anywhere, and at your own pace. You can also leave the game running in the background and let your ants do their work. The game is suitable for all ages and levels of players. You can relax and have fun with Idle Ants - Simulator Game without any stress or pressure.</p>
103
- <h3>Idle Ants - Simulator Game is free and popular</h3>
104
- <p>Idle Ants - Simulator Game is a game that you can download and play for free. You do not need to pay anything to enjoy the game. However, if you want to support the developers or get some extra features, you can also make in-app purchases with real money. The game is also very popular among millions of players around the world. You can join them and share your feedback, tips, and experiences with Idle Ants - Simulator Game.</p>
105
- <h2>Conclusion</h2>
106
- <p>In conclusion, Idle Ants - Simulator Game is a fun and addictive game that lets you experience the life of ants like never before. You can command your own colony of ants and watch them devour everything in their path. You can also upgrade your colony, supercharge your ants' evolution, max out their strength, unlock new skins and decorations, and consume everything in sight. You can download Idle Ants - Simulator Game from Google Play Store, AppBrain, or Microsoft Store depending on your device and preference. You should play Idle Ants - Simulator Game because it is fun, satisfying, easy, casual, free, and popular . If you are looking for a game that will make you feel like a powerful and hungry ant, Idle Ants - Simulator Game is the game for you.</p>
107
- <h2>FAQs</h2>
108
- <p>Here are some of the frequently asked questions about Idle Ants - Simulator Game:</p>
109
- <h4>Q: How can I get more money in Idle Ants - Simulator Game?</h4>
110
- <p>A: You can get more money in Idle Ants - Simulator Game by eating more food, selling the food scraps, watching ads, completing achievements, and collecting daily rewards. You can also use the money multiplier feature to increase your earnings.</p>
111
- <h4>Q: How can I get more ants in Idle Ants - Simulator Game?</h4>
112
- <p>A: You can get more ants in Idle Ants - Simulator Game by buying them with money or gems. You can also get free ants by watching ads or opening chests. The more ants you have, the faster you can eat the food.</p>
113
- <h4>Q: How can I get more gems in Idle Ants - Simulator Game?</h4>
114
- <p>A: You can get more gems in Idle Ants - Simulator Game by watching ads, completing achievements, collecting daily rewards, or buying them with real money. You can use gems to buy special items, skins, decorations, or chests.</p>
115
- <h4>Q: How can I unlock new worlds in Idle Ants - Simulator Game?</h4>
116
- <p>A: You can unlock new worlds in Idle Ants - Simulator Game by eating all the food in the current world. Each world has different food items and challenges. You can also switch between the worlds you have unlocked at any time.</p>
117
- <h4>Q: How can I contact the developers of Idle Ants - Simulator Game?</h4>
118
- <p>A: You can contact the developers of Idle Ants - Simulator Game by sending an email to [email protected] or by visiting their website at https://www.madbox.io/. You can also follow them on Facebook, Twitter, Instagram, or YouTube for the latest news and updates about the game.</p> 401be4b1e0<br />
119
- <br />
120
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Farm Frenzy and Friends A Fun and Challenging Puzzle Game APK - Test Your Skills.md DELETED
@@ -1,115 +0,0 @@
1
- <br />
2
- <h1>Farm Frenzy APK: A Fun and Addictive Farming Game for Android</h1>
3
- <p>If you love farming games, you will surely enjoy Farm Frenzy APK. This is a free and easy way to download and play one of the most popular farming simulation game series on your Android device. In this article, we will tell you what Farm Frenzy APK is, what are its features, and how to download and install it.</p>
4
- <h2>What is Farm Frenzy APK?</h2>
5
- <h3>A popular farming simulation game series</h3>
6
- <p>Farm Frenzy is a series of casual games developed by Alawar Entertainment. The first game was released in 2007 and since then, several sequels and spin-offs have been created. The games are available for various platforms, including Windows, Mac, iOS, Android, and more.</p>
7
- <h2>farm frenzy apk</h2><br /><p><b><b>Download</b> &#9745; <a href="https://jinyurl.com/2uNReb">https://jinyurl.com/2uNReb</a></b></p><br /><br />
8
- <p>The main objective of the games is to manage a farm by performing various tasks, such as feeding animals, collecting products, producing goods, selling them at the market, and upgrading buildings and vehicles. The games also feature different challenges, such as predators, disasters, and time limits.</p>
9
- <h3>A free and easy way to download and play Farm Frenzy on your Android device</h3>
10
- <p>Farm Frenzy APK is an application package file that contains the game data and code for Farm Frenzy. By downloading and installing this file on your Android device, you can play Farm Frenzy without paying anything or going through the Google Play Store. This is especially useful if you have an older device that does not support the latest version of the game or if you want to save some storage space.</p>
11
- <p>However, you should be careful when downloading Farm Frenzy APK from unknown sources online. Some websites may offer fake or malicious files that can harm your device or steal your personal information. Therefore, you should always check the reputation and reviews of the website before downloading anything.</p>
12
- <p>farm frenzy and friends apk download<br />
13
- farm frenzy 3 farming game apk<br />
14
- farm frenzy 2 apk full version<br />
15
- farm frenzy 4 apk mod<br />
16
- farm frenzy pizza party apk<br />
17
- farm frenzy ancient rome apk<br />
18
- farm frenzy viking heroes apk<br />
19
- farm frenzy ice age apk<br />
20
- farm frenzy gone fishing apk<br />
21
- farm frenzy 3 american pie apk<br />
22
- farm frenzy free download for android<br />
23
- farm frenzy offline game for android<br />
24
- farm frenzy best farming game for android<br />
25
- farm frenzy unlimited money apk<br />
26
- farm frenzy hack apk download<br />
27
- farm frenzy cheats for android<br />
28
- farm frenzy tips and tricks for android<br />
29
- farm frenzy review and rating for android<br />
30
- farm frenzy gameplay and features for android<br />
31
- farm frenzy latest version apk for android<br />
32
- farm frenzy classic farming game apk<br />
33
- farm frenzy time management game apk<br />
34
- farm frenzy animal farming game apk<br />
35
- farm frenzy fun and addictive game apk<br />
36
- farm frenzy casual and strategy game apk<br />
37
- farm frenzy 3d graphics and sound apk<br />
38
- farm frenzy global adventure game apk<br />
39
- farm frenzy exotic animals and locations apk<br />
40
- farm frenzy factory and trade game apk<br />
41
- farm frenzy challenge and reward game apk<br />
42
- farm frenzy online multiplayer game apk<br />
43
- farm frenzy social and interactive game apk<br />
44
- farm frenzy leaderboards and achievements game apk<br />
45
- farm frenzy updates and events game apk<br />
46
- farm frenzy support and feedback game apk</p>
47
- <h2>What are the features of Farm Frenzy APK?</h2>
48
- <h3>Multiple game modes and levels to choose from</h3>
49
- <p>Farm Frenzy APK offers a variety of game modes and levels to suit your preferences and skills. You can play the classic mode, where you have to complete a set of objectives within a given time limit. You can also play the endless mode, where you can farm as long as you want without any pressure. Additionally, you can choose from different difficulty levels, ranging from easy to hard.</p>
50
- <p>The game also has dozens of thrilling levels that take place in different locations around the world. You can farm in Africa, Russia, the Wild West, an untamed jungle, and more . Each location has its own unique animals, products, goods, challenges, and surprises.</p>
51
- <h3>Various animals, products, and goods to produce and sell</h3>
52
- <p>Farm Frenzy APK lets you experience the joy of raising various animals on your farm. You can feed chickens, cows, sheep, pigs, ducks, turkeys, goats, horses, dogs, cats, bears, penguins, walruses, llamas , and more. Each animal has its own personality and needs. You have to keep them happy and healthy by providing them with food, water, shelter, and protection.</p>
53
- <p>You can also collect various products from your animals, such as eggs, milk, wool, bacon, feathers, cheese, butter, and more . You can then use these products to produce various goods, such as cakes, pies, bread, ice cream, clothes, and more . You can then sell these goods at the market and earn money to expand your farm and buy new equipment.</p>
54
- <h3>Upgrades, achievements, and bonuses to unlock and collect</h3>
55
- <p>Farm Frenzy APK also rewards you for your hard work and skills. You can unlock and collect various upgrades, achievements, and bonuses throughout the game. For example, you can upgrade your buildings and vehicles to make them more efficient and durable. You can also upgrade your animals to make them produce more products or goods. You can also earn achievements for completing certain tasks or reaching certain milestones. Additionally, you can collect bonuses for performing well or finding hidden items. These bonuses can help you speed up your production, increase your income, or protect your farm from predators or disasters.</p>
56
- <h3>Colorful graphics, animations, and sound effects</h3>
57
- <p>Farm Frenzy APK also boasts of colorful graphics, animations, and sound effects that make the game more fun and immersive. The game has a cartoon-like style that appeals to both kids and adults. The game also has smooth and realistic animations that show the movements and expressions of the animals and characters. The game also has cheerful and catchy sound effects that match the mood and theme of the game. You can hear the sounds of the animals, the machines, the market, and more.</p>
58
- <h2>How to download and install Farm Frenzy APK?</h2>
59
- <h3>Step 1: Find a reliable source of Farm Frenzy APK online</h3>
60
- <p>The first step to download and install Farm Frenzy APK is to find a reliable source of the file online. As we mentioned earlier, some websites may offer fake or malicious files that can harm your device or steal your personal information. Therefore, you should always check the reputation and reviews of the website before downloading anything. You can also use antivirus software or VPN services to protect your device and data.</p>
61
- <p>One of the websites that we recommend for downloading Farm Frenzy APK is [Farm Frenzy APK Download]. This website offers a safe and secure download link for Farm Frenzy APK. It also provides detailed information about the game, such as its features, screenshots, ratings, and reviews. You can also find other Farm Frenzy games on this website.</p>
62
- <h3>Step 2: Enable unknown sources on your Android device</h3>
63
- <p>The next step to download and install Farm Frenzy APK is to enable unknown sources on your Android device. This is a setting that allows you to install applications from sources other than the Google Play Store. To enable unknown sources on your Android device, follow these steps:</p>
64
- <ol>
65
- <li>Go to Settings on your device.</li>
66
- <li>Tap on Security or Privacy.</li>
67
- <li>Find and toggle on Unknown Sources or Install Unknown Apps.</li>
68
- <li>Confirm by tapping OK or Allow.</li>
69
- </ol>
70
- <p>Note: The exact steps may vary depending on your device model and Android version.</p>
71
- <h3>Step 3: Download and install the Farm Frenzy APK file</h3>
72
- <p>The third step to download and install Farm Frenzy APK is to download and install the file on your device. To do this, follow these steps:</p>
73
- <ol>
74
- <li>Go to the website where you found the Farm Frenzy APK file.</li>
75
- <li>Tap on the Download button or link.</li>
76
- <li>Wait for the download to finish.</li>
77
- <li>Open the file manager app on your device.</li>
78
- <li>Find and tap on the Farm Frenzy APK file.</li>
79
- <li>Tap on Install.</li>
80
- <li>Wait for the installation to finish.</li>
81
- </ol>
82
- <h3>Step 4: Launch the game and enjoy farming</h3>
83
- <p>The final step to download and install Farm Frenzy APK is to launch the game and enjoy farming. To do this, follow these steps:</p>
84
- <ol>
85
- <li>Go to the app drawer or home screen on your device.</li>
86
- <li>Find and tap on the Farm Frenzy icon.</li>
87
- <li>Allow any permissions or settings that the game may request.</li>
88
- <li>Select your preferred language and game mode.</li>
89
- <li>Start playing and have fun!</li>
90
- </ol>
91
- <h2>Conclusion</h2>
92
- <p>Farm Frenzy APK is a fun and addictive farming game for Android devices. It lets you manage a farm by performing various tasks, such as feeding animals, collecting products, producing goods, selling them at the market, and upgrading buildings and vehicles. It also offers a variety of game modes and levels to suit your preferences and skills. It also features various animals, products, and goods to produce and sell. It also rewards you for your hard work and skills with upgrades, achievements, and bonuses. It also boasts of colorful graphics, animations, and sound effects that make the game more fun and immersive.</p>
93
- <p>If you want to download and play Farm Frenzy APK on your Android device, you can follow the steps we provided in this article. You just need to find a reliable source of Farm Frenzy APK online, enable unknown sources on your device, download and install the file, and launch the game. Then, you can enjoy farming as much as you want.</p>
94
- <p>We hope you found this article helpful and informative. If you have any questions or feedback, please feel free to leave a comment below. Happy farming!</p>
95
- <h2>FAQs</h2>
96
- <p>Here are some frequently asked questions about Farm Frenzy APK:</p>
97
- <ol>
98
- <li>Is Farm Frenzy APK safe to download and install?</li>
99
- <p>Yes, Farm Frenzy APK is safe to download and install as long as you get it from a reputable website. However, you should always be careful when downloading anything from unknown sources online. Some websites may offer fake or malicious files that can harm your device or steal your personal information. Therefore, you should always check the reputation and reviews of the website before downloading anything. You can also use antivirus software or VPN services to protect your device and data.</p>
100
- <li>What are the requirements to play Farm Frenzy APK?</li>
101
- <p>To play Farm Frenzy APK on your Android device, you need to have the following requirements:</p>
102
- <ul>
103
- <li>An Android device running Android 4.1 or higher.</li>
104
- <li>At least 100 MB of free storage space.</li>
105
- <li>A stable internet connection (optional).</li>
106
- </ul>
107
- <p>Note: The exact requirements may vary depending on the version of the game and your device model.</p>
108
- <li>How can I get more coins and stars in Farm Frenzy APK?</li>
109
- <p>Coins and stars are the main currencies in Farm Frenzy APK. You can use them to buy new animals, buildings, vehicles, upgrades, and more. You can earn coins and stars by completing levels, selling goods at the market, collecting bonuses, and unlocking achievements. You can also get more coins and stars by watching ads or buying them with real money (optional).</p>
110
- <li>How can I save my progress in Farm Frenzy APK?</li>
111
- <p>Farm Frenzy APK automatically saves your progress every time you finish a level or exit the game. You can also manually save your progress by tapping on the menu button and selecting Save Game. To load your saved game, tap on the menu button and select Load Game. You can also sync your progress across multiple devices by connecting your game to Facebook or Google Play Games (optional).</p>
112
- <li>How can I contact the developers of Farm Frenzy APK?</li>
113
- <p>If you have any questions, suggestions, or issues regarding Farm Frenzy APK, you can contact the developers of the game by sending an email to [[email protected]]. You can also visit their official website [www.alawar.com] or follow them on social media [Facebook], [Twitter], [Instagram], [YouTube].</p> 401be4b1e0<br />
114
- <br />
115
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Free Download Euro Truck Simulator 3 - The Most Advanced and Realistic Truck Game.md DELETED
@@ -1,166 +0,0 @@
1
- <br />
2
- <h1>Download Free Euro Truck Simulator 3</h1>
3
- <p>If you are a fan of simulation games, especially driving games, you have probably heard of the Euro Truck Simulator series. This is one of the most popular and realistic truck simulation games ever made, where you can travel across Europe as a truck driver, delivering cargo and exploring different cities. In this article, we will tell you everything you need to know about the latest installment of the series, Euro Truck Simulator 3, and how you can download it for free. Read on and find out why this game is worth playing and what features and gameplay it offers.</p>
4
- <h2>Euro Truck Simulator 3 News and Rumors</h2>
5
- <h3>Is Euro Truck Simulator 3 on the way?</h3>
6
- <p>The first question that many fans of the series have is whether Euro Truck Simulator 3 is actually in development or not. The answer is not very clear, as the developers, SCS Software, have not officially announced or confirmed anything about the new game. However, there are some clues and hints that suggest that Euro Truck Simulator 3 is indeed on the way.</p>
7
- <h2>download free euro truck simulator 3</h2><br /><p><b><b>Download</b> &middot;&middot;&middot; <a href="https://jinyurl.com/2uNQYf">https://jinyurl.com/2uNQYf</a></b></p><br /><br />
8
- <p>First of all, the previous game, Euro Truck Simulator 2, was released in 2012, almost a decade ago. Since then, the game has received many updates, DLCs, and mods that have improved and expanded its content and features. However, the game also has some limitations and issues that are related to its old engine and technology. For example, the graphics are not very impressive by today's standards, the physics are not very realistic, and the map is not very detailed or accurate. Therefore, it makes sense that the developers would want to create a new game that would overcome these problems and offer a better experience to the players.</p>
9
- <p>Secondly, there have been some rumors and leaks that indicate that Euro Truck Simulator 3 is in the works. For example, in May 2020, a YouTube channel called Benny posted a video titled "Euro Truck Simulator 3 - ETS3 2021 Trailer | PS5 & PC". The video claimed to be an official trailer for the new game, showing some gameplay footage and screenshots of various trucks, roads, and cities. However, the video was later proven to be fake, as it used footage from other games and mods. Still, the video generated a lot of hype and interest among the fans of the series.</p>
10
- <p>Another example of a rumor about Euro Truck Simulator 3 came from a website called Gfinity Esports. In January 2021, they published an article titled "Euro Truck Simulator 3 - News and what we'd love to see". The article discussed some of the possible features and gameplay elements that could be included in the new game, such as improved graphics, physics, AI, weather, traffic, customization, multiplayer, VR support, etc. The article also speculated about the possible release date and platforms for the new game. However, the article did not provide any official or credible sources or evidence to back up their claims. Therefore, the article should be taken with a grain of salt, as it is mostly based on speculation and wishful thinking.</p>
11
- <p>So, to sum up, there is no official confirmation or announcement about Euro Truck Simulator 3 yet, but there are some signs and rumors that suggest that the game is in development or at least in the planning stage. We hope that the developers will reveal more information about the game soon and surprise us with a great sequel to the beloved series.</p>
12
- <h3>When will Euro Truck Simulator 3 be released?</h3>
13
- <p>Another question that many fans of the series have is when Euro Truck Simulator 3 will be released. Again, the answer is not very clear, as there is no official release date or window for the game yet. However, we can try to make some educated guesses based on the previous games and the current state of the industry.</p>
14
- <p>download free euro truck simulator 3 Europa on PC<br />
15
- download free euro truck simulator 3 for Android<br />
16
- download free euro truck simulator 3 with LDPlayer emulator<br />
17
- download free euro truck simulator 3 CNET<br />
18
- download free euro truck simulator 3 APK<br />
19
- download free euro truck simulator 3 mods<br />
20
- download free euro truck simulator 3 full version<br />
21
- download free euro truck simulator 3 online<br />
22
- download free euro truck simulator 3 game<br />
23
- download free euro truck simulator 3 latest update<br />
24
- download free euro truck simulator 3 American trucks<br />
25
- download free euro truck simulator 3 offroad cargo delivery<br />
26
- download free euro truck simulator 3 oil tanker transport<br />
27
- download free euro truck simulator 3 realistic driving<br />
28
- download free euro truck simulator 3 heavy loads<br />
29
- download free euro truck simulator 3 Kirkenes mine roads<br />
30
- download free euro truck simulator 3 net energy gain<br />
31
- download free euro truck simulator 3 mini Sun experiment<br />
32
- download free euro truck simulator 3 racing game<br />
33
- download free euro truck simulator 3 adventure game<br />
34
- download free euro truck simulator 3 simulation game<br />
35
- download free euro truck simulator 3 construction game<br />
36
- download free euro truck simulator 3 dozer game<br />
37
- download free euro truck simulator 3 bucket game<br />
38
- download free euro truck simulator 3 world game<br />
39
- download free euro truck simulator 3 highway game<br />
40
- download free euro truck simulator 3 mountain game<br />
41
- download free euro truck simulator 3 thrilling game<br />
42
- download free euro truck simulator 3 skills game<br />
43
- download free euro truck simulator 3 professional game<br />
44
- download free euro truck simulator 3 champion game<br />
45
- download free euro truck simulator 3 best game<br />
46
- download free euro truck simulator 3 ultimate game<br />
47
- download free euro truck simulator 3 fun game<br />
48
- download free euro truck simulator 3 exciting game<br />
49
- download free euro truck simulator 3 challenging game<br />
50
- download free euro truck simulator 3 missions game<br />
51
- download free euro truck simulator 3 levels game<br />
52
- download free euro truck simulator 3 upgrades game<br />
53
- download free euro truck simulator 3 purchases game<br />
54
- download free euro truck simulator 3 money game<br />
55
- download free euro truck simulator 3 earnings game<br />
56
- download free euro truck simulator 3 exploration game<br />
57
- download free euro truck simulator 3 environment game<br />
58
- download free euro truck simulator 3 graphics game<br />
59
- download free euro truck simulator 3 models game<br />
60
- download free euro truck simulator 3 physics game<br />
61
- download free euro truck emulator for Windows PC</p>
62
- <p>The first game, Euro Truck Simulator, was released in 2008, four years after the developers started working on it. The second game, Euro Truck Simulator 2, was released in 2012, four years after the first game. Assuming that the developers follow a similar pattern and that they started working on Euro Truck Simulator 3 shortly after Euro Truck Simulator 2, we could expect the new game to be released in 2020 or 2021. However, this is a very optimistic scenario, as there are many factors that could delay or affect the development process.</p>
63
- <p>For example, the COVID-19 pandemic has had a huge impact on the gaming industry, forcing many studios to work remotely and postpone their projects. The developers of Euro Truck Simulator 2 have also stated that they have faced some challenges and difficulties due to the pandemic. Another factor that could affect the release date of Euro Truck Simulator 3 is the complexity and scope of the game. If the developers want to create a new game that is significantly better and bigger than the previous one, they would need more time and resources to achieve their vision. Moreover, they would also need to consider the compatibility and optimization of the game for different platforms and devices, especially if they want to release it on consoles as well.</p>
64
- <p>Therefore, we think that a realistic estimate for the release date of Euro Truck Simulator 3 would be somewhere between 2022 and 2024. Of course, this is just our opinion and not an official statement. We hope that the developers will announce the release date of Euro Truck Simulator 3 as soon as possible and that they will deliver a high-quality and enjoyable game.</p>
65
- <h3>Will Euro Truck Simulator 3 be available on consoles?</h3>
66
- <p>The final question that many fans of the series have is whether Euro Truck Simulator 3 will be available on consoles or not. This is a very interesting and relevant question, as console gaming has become more popular and accessible in recent years. Many simulation games have been ported or adapted to consoles, such as Farming Simulator, Train Sim World, Bus Simulator, etc. Therefore, it would make sense that Euro Truck Simulator 3 would also be available on consoles, such as PlayStation 5 and Xbox Series X/S.</p>
67
- <p>However, there are some challenges and obstacles that could prevent or complicate this possibility. First of all, Euro Truck Simulator 2 is not available on consoles yet, despite being one of the most requested features by the fans. The developers have explained that porting Euro Truck Simulator 2 to consoles would require a lot of work and changes to the game's engine and code. They have also stated that they are not sure if there is enough demand or market for their game on consoles. Therefore, if Euro Truck Simulator 2 is not available on consoles yet, it is unlikely that Euro Truck Simulator 3 will be available on consoles at launch.</p>
68
- <p>Secondly, even if Euro Truck Simulator 3 is ported to consoles eventually, it might not offer the same experience or features as the PC version. For example, one of the main attractions of Euro Truck Simulator 2 is its modding community, which has created thousands of mods that add new content and features to the game. However, modding is not very easy or common on consoles, due to various technical and legal limitations. Therefore, console players might miss out on some of the best aspects of Euro Truck Simulator 2 if they play it on consoles.</p>
69
- <p>Another example of a possible difference between the PC and console versions of Euro Truck Simulator 3 is the control scheme. Driving a truck in Euro Truck Simulator 2 requires a lot of precision and accuracy, which can be achieved with a keyboard and mouse or a steering wheel and pedals. However, using a controller might not offer the same level of control or realism as using these devices. Therefore, console players might have a harder time or less fun playing Euro Truck Simulator 2 on consoles than on PC.</p>
70
- <p>Therefore, we think that Euro Truck Simulator 3 will not be available on consoles at launch, but it might be ported to consoles later on, depending on the demand and feasibility. However, we also think that the PC version of Euro Truck Simulator 3 will offer a better and more complete experience than the console version, especially if you have a good PC and a steering wheel and pedals.</p>
71
- <h2>Euro Truck Simulator 3 Features and Gameplay</h2>
72
- <h3>What can you expect from Euro Truck Simulator 3?</h3>
73
- <p>Now that we have answered some of the most common questions about Euro Truck Simulator 3, let's talk about what you can expect from the game in terms of features and gameplay. Of course, since the game is not officially announced or released yet, we can only speculate and imagine what the game will offer, based on the previous games and the current trends and technologies in the gaming industry. However, we can also hope and wish for some of the features and gameplay elements that we would love to see in Euro Truck Simulator 3.</p>
74
- <p>One of the things that we can expect from Euro Truck Simulator 3 is improved graphics and visuals. As we mentioned before, Euro Truck Simulator 2 is not very impressive by today's standards, as it uses an old engine and technology. Therefore, we hope that Euro Truck Simulator 3 will use a new and modern engine that will make the game look more realistic and beautiful. We hope that the game will have more detailed and dynamic environments, such as realistic weather effects, day and night cycles, seasons, etc. We also hope that the game will have more realistic and diverse lighting and shadows, reflections, textures, etc. We also hope that the game will have more realistic and varied animations, such as for the trucks, trailers, cargo, traffic, pedestrians, etc.</p>
75
- <p>Another thing that we can expect from Euro Truck Simulator 3 is improved physics and realism. As we mentioned before, Euro Truck Simulator 2 is not very realistic in terms of its physics and mechanics. Therefore, we hope that Euro Truck Simulator 3 will use a new and advanced physics engine that will make the game more realistic and challenging. We hope that the game will have more realistic and complex driving physics, such as for the steering, braking, acceleration, suspension, etc. We also hope that the game will have more realistic and dynamic damage physics, such as for the trucks, trailers, cargo, traffic, etc. We also hope that the game will have more realistic and diverse traffic rules and regulations, such as for the speed limits, traffic lights, signs, tolls, etc.</p>
76
- <p>A third thing that we can expect from Euro Truck Simulator 3 is improved AI and interaction. As we mentioned before, Euro Truck Simulator 2 is not very interactive or immersive in terms of its AI and characters. Therefore, we hope that Euro Truck Simulator 3 will use a new and intelligent AI system that will make the game more interactive and immersive. We hope that the game will have more realistic and diverse traffic AI, such as for the cars, trucks, buses, motorcycles, etc. We hope that the game will have more realistic and diverse pedestrian AI, such as for the people walking, running, cycling, etc. We also hope that the game will have more realistic and diverse truck driver AI, such as for the other truck drivers that you can meet, talk, or compete with. We also hope that the game will have more realistic and diverse interaction options, such as for the radio, phone, GPS, etc.</p>
77
- <h3>How realistic is Euro Truck Simulator 3?</h3>
78
- <p>One of the main selling points of Euro Truck Simulator 3 is its realism and authenticity. The game aims to provide a realistic and immersive simulation of driving a truck across Europe, delivering cargo and exploring different cities. The game tries to recreate the real-life conditions and challenges that a truck driver would face, such as traffic, weather, laws, etc. The game also tries to recreate the real-life trucks and trailers that are used in the industry, such as their models, brands, specifications, etc. The game also tries to recreate the real-life cargo and destinations that are involved in the trade, such as their types, weights, values, etc.</p>
79
- <p>However, realism is not always easy or fun to achieve in a game. Sometimes, realism can be boring, frustrating, or tedious for some players. Therefore, the game also offers some options and features that can make the game more accessible and enjoyable for different types of players. For example, the game allows you to adjust the difficulty level and settings of the game, such as the traffic density, speed limits, damage effects, fatigue simulation, etc. The game also allows you to skip some parts of the game that you might not like or have time for, such as parking, loading, unloading, etc. The game also allows you to use some aids and helpers that can make the game easier or more convenient for you, such as the map, GPS, route advisor, hints, tips, etc.</p>
80
- <p>Therefore, we think that Euro Truck Simulator 3 is a very realistic and authentic game that can appeal to both hardcore and casual simulation fans. The game offers a lot of options and features that can make the game more realistic or more fun for different players. The game also offers a lot of variety and diversity that can make the game more interesting and engaging for different players.</p>
81
- <h3>How many countries and cities can you explore in Euro Truck Simulator 3?</h3>
82
- <p>Another thing that makes Euro Truck Simulator 3 a great game is its map and world. The game allows you to travel across Europe as a truck driver, delivering cargo and exploring different countries and cities. The game offers a huge and detailed map that covers most of Europe and some parts of Asia and Africa. The game also offers a lot of different cities that you can visit and discover.</p>
83
- <p>The exact number of countries and cities that you can explore in Euro Truck Simulator 3 is not known yet, as the game is not officially announced or released yet. However, we can assume that the game will include at least the same number of countries and cities as Euro Truck Simulator 2, if not more. Euro Truck Simulator 2 currently includes 52 countries and over 300 cities, thanks to the various updates, DLCs, and mods that have been released for the game. Some of the countries and cities that you can explore in Euro Truck Simulator 2 are: - Austria: Vienna, Graz, Linz, Salzburg, etc. - Belgium: Brussels, Antwerp, Liege, Bruges, etc. - Bulgaria: Sofia, Plovdiv, Varna, Burgas, etc. - Croatia: Zagreb, Split, Rijeka, Osijek, etc. - Czech Republic: Prague, Brno, Ostrava, Plzen, etc. - Denmark: Copenhagen, Aarhus, Odense, Aalborg, etc. - Estonia: Tallinn, Tartu, Narva, Parnu, etc. - Finland: Helsinki, Tampere, Turku, Oulu, etc. - France: Paris, Lyon, Marseille, Bordeaux, etc. - Germany: Berlin, Hamburg, Munich, Cologne, etc. - Greece: Athens, Thessaloniki, Patras, Heraklion, etc. - Hungary: Budapest, Debrecen, Szeged, Pecs, etc. - Ireland: Dublin, Cork, Limerick, Galway, etc. - Italy: Rome, Milan, Naples, Turin, etc. - Latvia: Riga, Daugavpils, Liepaja, Jelgava, etc. - Lithuania: Vilnius, Geneva, Bern, Basel, etc. - Turkey: Ankara, Istanbul, Izmir, Bursa, etc. - United Kingdom: London, Manchester, Birmingham, Glasgow, etc. These are just some of the countries and cities that you can explore in Euro Truck Simulator 2. We hope that Euro Truck Simulator 3 will include even more countries and cities, especially from Eastern Europe, Asia, and Africa. We also hope that the game will have more accurate and detailed maps of the countries and cities, with more landmarks, attractions, and scenery to admire. <h2>How to Download Free Euro Truck Simulator 3</h2>
84
- <h3>Where can you find a free download link for Euro Truck Simulator 3?</h3>
85
- <p>If you are interested in playing Euro Truck Simulator 3, you might be wondering where you can find a free download link for the game. After all, buying the game from the official website or a digital store might be too expensive or inconvenient for some players. Therefore, you might be tempted to look for a free download link for Euro Truck Simulator 3 on the internet.</p>
86
- <p>However, we advise you to be very careful and cautious when looking for a free download link for Euro Truck Simulator 3. There are many websites and sources that claim to offer a free download link for Euro Truck Simulator 3, but they are not trustworthy or reliable. Most of them are scams or viruses that can harm your computer or steal your personal information. Some of them are fake or outdated links that do not work or do not contain the actual game. Some of them are illegal or pirated copies of the game that can get you in trouble with the law or the developers.</p>
87
- <p>Therefore, we recommend that you avoid looking for a free download link for Euro Truck Simulator 3 on the internet. Instead, we suggest that you wait for the official release of the game and buy it from a legitimate and authorized source. This way, you can support the developers and their hard work, and enjoy the game without any risks or problems.</p>
88
- <h3>How to install and run Euro Truck Simulator 3 on your PC or console?</h3>
89
- <p>If you have bought Euro Truck Simulator 3 from a legitimate and authorized source, you might be wondering how to install and run the game on your PC or console. The installation and running process of Euro Truck Simulator 3 might vary depending on the platform and device that you are using. However, we can give you some general steps and tips that can help you install and run Euro Truck Simulator 3 on your PC or console.</p>
90
- <p>For PC users:</p>
91
- <ul>
92
- <li>Make sure that your PC meets the minimum or recommended system requirements for Euro Truck Simulator 3. You can check the system requirements on the official website or the digital store where you bought the game.</li>
93
- <li>Download or insert the game file or disc into your PC.</li>
94
- <li>Follow the instructions on the screen to install the game on your PC.</li>
95
- <li>Create an account or log in to your existing account on Steam or another platform where you bought the game.</li>
96
- <li>Launch the game from your desktop or library.</li>
97
- <li>Enjoy playing Euro Truck Simulator 3 on your PC.</li>
98
- </ul>
99
- <p>For console users:</p>
100
- <ul>
101
- <li>Make sure that your console is compatible with Euro Truck Simulator 3. You can check the compatibility on the official website or the digital store where you bought the game.</li>
102
- <li>Download or insert the game file or disc into your console.</li>
103
- <li>Follow the instructions on the screen to install the game on your console.</li>
104
- <li>Create an account or log in to your existing account on PlayStation Network or Xbox Live or another platform where you bought the game.</li>
105
- <li>Launch the game from your home screen or library.</li>
106
- <li>Enjoy playing Euro Truck Simulator 3 on your console.</li>
107
- </ul>
108
- <h3>What are the system requirements for Euro Truck Simulator 3?</h3>
109
- <p>If you want to play Euro Truck Simulator 3 on your PC or console, you need to make sure that your device meets the system requirements for the game. The system requirements are the minimum or recommended specifications that your device needs to have in order to run the game smoothly and without any issues. The system requirements for Euro Truck Simulator 3 are not known yet, as the game is not officially announced or released yet. However, we can assume that the system requirements for Euro Truck Simulator 3 will be similar or higher than the system requirements for Euro Truck Simulator 2, which are: - For PC users: - Minimum system requirements: - OS: Windows 7 - Processor: Dual core CPU 2.4 GHz - Memory: 4 GB RAM - Graphics: GeForce GTS 450-class (Intel HD 4000) - Storage: 3 GB available space - Recommended system requirements: - OS: Windows 7/8.1/10 64-bit - Processor: Quad core CPU 3.0 GHz - Memory: 6 GB RAM - Graphics: GeForce GTX 760-class (2 GB) - Storage: 3 GB available space - For console users: - Minimum system requirements: - PS5: N/A - Xbox Series X/S: N/A - Recommended system requirements: - PS5: N/A - Xbox Series X/S: N/A These are just some of the possible system requirements for Euro Truck Simulator 3, based on the previous game. We hope that the developers will announce the official system requirements for Euro Truck Simulator 3 soon and that they will optimize the game for different devices and platforms. <h2>Tips and Tricks for Playing Euro Truck Simulator 3</h2>
110
- <h3>How to improve your driving skills and earn more money in Euro Truck Simulator 3?</h3>
111
- <p>One of the main goals of Euro Truck Simulator 3 is to improve your driving skills and earn more money as a truck driver. The game offers a lot of opportunities and challenges that can help you achieve this goal. However, the game can also be quite difficult and demanding, especially for beginners or inexperienced players. Therefore, we have some tips and tricks that can help you improve your driving skills and earn more money in Euro Truck Simulator 3.</p>
112
- <p>Some of the tips and tricks are:</p>
113
- <ul>
114
- <li>Choose your truck and trailer wisely. The game offers a lot of different trucks and trailers that you can buy or use in the game. However, not all trucks and trailers are suitable or optimal for every job or situation. Therefore, you should choose your truck and trailer wisely, based on their performance, capacity, fuel consumption, etc. You should also consider the type and weight of the cargo that you are carrying, as well as the road conditions and traffic that you will encounter.</li>
115
- <li>Plan your route carefully. The game offers a lot of different routes and destinations that you can choose from in the game. However, not all routes and destinations are easy or profitable to reach. Therefore, you should plan your route carefully, based on the distance, time, tolls, etc. You should also consider the weather, traffic, laws, etc. that you will face along the way.</li>
116
- <li>Drive safely and efficiently. The game offers a lot of realistic and complex driving physics and mechanics that you need to master in order to drive safely and efficiently in the game. For example, you need to pay attention to your speed, braking, steering, acceleration, suspension, etc. You also need to pay attention to your damage, fuel, fatigue, etc. You also need to pay attention to the traffic rules and regulations, such as the speed limits, traffic lights, signs, tolls, etc.</li>
117
- <li>Complete your jobs on time and without any damage or fines. The game offers a lot of different jobs and contracts that you can accept and complete in the game. However, not all jobs and contracts are easy or rewarding to complete. Therefore, you should complete your jobs on time and without any damage or fines in order to earn more money and reputation in the game. You should also consider the type and value of the cargo that you are delivering, as well as the customer's satisfaction and feedback.</li>
118
- <li>Upgrade your truck and skills. The game offers a lot of options and features that can help you upgrade your truck and skills in the game. For example, you can buy or upgrade different parts and accessories for your truck, such as the engine, transmission, chassis, wheels, paint, lights, etc. You can also buy or upgrade different skills for your driver, such as the long distance, high value cargo, fragile cargo, eco driving, etc. These upgrades can improve your performance, efficiency, and profitability in the game.</li>
119
- <li>Expand your business and hire other drivers. The game offers a lot of options and features that can help you expand your business and hire other drivers in the game. For example, you can buy or rent different garages and trucks in different countries and cities. You can also hire or fire different drivers and assign them different trucks and jobs. These options can increase your income and reputation in the game.</li>
120
- </ul>
121
- <p>These are just some of the tips and tricks that can help you improve your driving skills and earn more money in Euro Truck Simulator 3. Of course, there are many more tips and tricks that you can discover and learn by playing the game yourself. The game offers a lot of fun and challenge that can keep you entertained and engaged for hours.</p>
122
- <h3>How to customize your truck and trailer in Euro Truck Simulator 3?</h3>
123
- <p>One of the things that makes Euro Truck Simulator 3 a great game is its customization options. The game allows you to customize your truck and trailer in various ways, making them more unique and personal. The game offers a lot of different parts and accessories that you can buy or upgrade for your truck and trailer, such as the engine, transmission, chassis, wheels, paint, lights, etc. The game also offers a lot of different decals and stickers that you can apply to your truck and trailer, such as the flags, logos, slogans, etc.</p>
124
- <p>To customize your truck and trailer in Euro Truck Simulator 3, you need to follow these steps:</p>
125
- <ul>
126
- <li>Go to the nearest truck dealer or service station.</li>
127
- <li>Select the option to customize your truck or trailer.</li>
128
- <li>Browse through the different categories and subcategories of parts and accessories that are available for your truck or trailer.</li>
129
- <li>Select the parts and accessories that you want to buy or upgrade for your truck or trailer.</li>
130
- <li>Preview the changes that you have made to your truck or trailer.</li>
131
- <li>Confirm the changes and pay for them.</li>
132
- <li>Enjoy driving your customized truck or trailer.</li>
133
- </ul>
134
- <p>These are the steps that you need to follow to customize your truck and trailer in Euro Truck Simulator 3. However, you should also keep in mind some things when customizing your truck or trailer. For example, you should consider the cost and benefit of each part and accessory that you buy or upgrade for your truck or trailer. Some parts and accessories might be more expensive or less useful than others. You should also consider the compatibility and optimization of each part and accessory that you buy or upgrade for your truck or trailer. Some parts and accessories might not work well or at all with your truck or trailer. You should also consider the style and taste of each part and accessory that you buy or upgrade for your truck or trailer. Some parts and accessories might look better or worse than others, depending on your preference and opinion.</p>
135
- <h3>How to use mods and cheats in Euro Truck Simulator 3?</h3>
136
- <p>Another thing that makes Euro Truck Simulator 3 a great game is its modding and cheating options. The game allows you to use mods and cheats in various ways, making the game more fun and diverse. Mods are unofficial modifications or additions that are created by the fans or the community of the game. Mods can add new content and features to the game, such as new trucks, trailers, cargo, maps, etc. Cheats are unofficial codes or commands that are entered by the players of the game. Cheats can change or manipulate some aspects of the game, such as the money, reputation, speed, etc.</p>
137
- <p>To use mods and cheats in Euro Truck Simulator 3, you need to follow these steps:</p>
138
- <ul>
139
- <li>Go to the internet and search for the mods or cheats that you want to use in Euro Truck Simulator 3. You can find many websites and sources that offer mods or cheats for Euro Truck Simulator 3, such as Steam Workshop, Nexus Mods, ETS2 Mods, etc.</li>
140
- <li>Download or copy the mods or cheats that you want to use in Euro Truck Simulator 3.</li>
141
- <li>Go to the folder where you have installed Euro Truck Simulator 3 on your PC or console.</li>
142
- <li>Go to the subfolder where you can place the mods or cheats for Euro Truck Simulator 3. For mods, you can place them in the "mod" subfolder. For cheats, you can place them in the "config" subfolder.</li>
143
- <li>Launch Euro Truck Simulator 3 from your desktop or library.</li>
144
- <li>Go to the options menu and enable the mods or cheats that you want to use in Euro Truck Simulator 3.</li>
145
- <li>Enjoy playing Euro Truck Simulator 3 with mods or cheats.</li>
146
- </ul>
147
- <p>These are the steps that you need to follow to use mods or cheats in Euro Truck Simulator 3. However, you should also keep in mind some things when using mods or cheats in Euro Truck Simulator 3. For example, you should consider the quality and compatibility of each mod or cheat that you use in Euro Truck Simulator 3. Some mods or cheats might be more buggy or unstable than others. Some mods or cheats might not work well or at all with your version or platform of Euro Truck Simulator 3. You should also consider the legality and morality of each mod or cheat that you use in Euro Truck Simulator 3. Some mods or cheats might be illegal or unethical to use in Euro Truck Simulator 3, especially if they affect the multiplayer mode or the online services of the game.</p>
148
- <h2>Conclusion</h2>
149
- <p>Euro Truck Simulator 3 is a simulation game that allows you to drive a truck across Europe, delivering cargo and exploring different countries and cities. The game offers a realistic and immersive simulation of driving a truck, with improved graphics, physics, AI, and interaction. The game also offers a lot of customization options for your truck and trailer, as well as modding and cheating options for your game. The game is not officially announced or released yet, but there are some news and rumors that suggest that it is on the way. The game is expected to be released between 2022 and 2024, and it might be available on PC and consoles.</p>
150
- <p>If you are interested in playing Euro Truck Simulator 3, we hope that this article has given you some useful information and tips about the game. We hope that you will enjoy playing Euro Truck Simulator 3 when it comes out and that you will have a lot of fun and challenge driving a truck across Europe.</p>
151
- <h2>FAQs</h2>
152
- <p>Here are some of the frequently asked questions about Euro Truck Simulator 3:</p>
153
- <ul>
154
- <li><b>Q: Is Euro Truck Simulator 3 multiplayer?</b></li>
155
- <li>A: Euro Truck Simulator 2 has a multiplayer mode called TruckersMP, which allows players to join online servers and drive together with other players. However, this mode is not officially supported by the developers of the game, but by a fan-made project. Therefore, we do not know if Euro Truck Simulator 3 will have a multiplayer mode or not.</li>
156
- <li><b>Q: Is Euro Truck Simulator 3 VR compatible?</b></li>
157
- <li>A: Euro Truck Simulator 2 has a VR mode that allows players to play the game with a virtual reality headset, such as Oculus Rift or HTC Vive. However, this mode is not officially supported by the developers of the game, but by an experimental beta branch of the game. Therefore, we do not know if Euro Truck Simulator 3 will have a VR mode or not.</li>
158
- <li><b>Q: Is Euro Truck Simulator 3 cross-platform?</b></li>
159
- <li>A: Euro Truck Simulator 2 is not cross-platform, which means that players on different platforms or devices cannot play together or share their progress or data. Therefore, we do not know if Euro Truck Simulator 3 will be cross-platform or not.</li>
160
- <li><b>Q: How much does Euro Truck Simulator 3 cost?</b></li>
161
- <li>A: Euro Truck Simulator 2 costs $19.99 on Steam, which is the official website and digital store for the game. However, the game also has many DLCs and expansions that add more content and features to the game, such as new trucks, trailers, cargo, maps, etc. These DLCs and expansions cost extra money, ranging from $1.99 to $17.99. Therefore, we do not know how much Euro Truck Simulator 3 will cost or how many DLCs and expansions it will have.</li>
162
- <li><b>Q: How can I get a free key or code for Euro Truck Simulator 3?</b></li>
163
- <li>A: There are some websites and sources that claim to offer free keys or codes for Euro Truck Simulator 3, but they are not trustworthy or reliable. Most of them are scams or viruses that can harm your computer or steal your personal information. Some of them are fake or outdated keys or codes that do not work or do not contain the actual game. Some of them are illegal or pirated copies of the game that can get you in trouble with the law or the developers. Therefore, we recommend that you avoid looking for free keys or codes for Euro Truck Simulator 3 and that you buy the game from a legitimate and authorized source.</li>
164
- </ul></p> 197e85843d<br />
165
- <br />
166
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AI-Hobbyist/Hoyo-RVC/uvr5_pack/lib_v5/nets_61968KB.py DELETED
@@ -1,122 +0,0 @@
1
- import torch
2
- from torch import nn
3
- import torch.nn.functional as F
4
-
5
- from uvr5_pack.lib_v5 import layers_123821KB as layers
6
-
7
-
8
- class BaseASPPNet(nn.Module):
9
- def __init__(self, nin, ch, dilations=(4, 8, 16)):
10
- super(BaseASPPNet, self).__init__()
11
- self.enc1 = layers.Encoder(nin, ch, 3, 2, 1)
12
- self.enc2 = layers.Encoder(ch, ch * 2, 3, 2, 1)
13
- self.enc3 = layers.Encoder(ch * 2, ch * 4, 3, 2, 1)
14
- self.enc4 = layers.Encoder(ch * 4, ch * 8, 3, 2, 1)
15
-
16
- self.aspp = layers.ASPPModule(ch * 8, ch * 16, dilations)
17
-
18
- self.dec4 = layers.Decoder(ch * (8 + 16), ch * 8, 3, 1, 1)
19
- self.dec3 = layers.Decoder(ch * (4 + 8), ch * 4, 3, 1, 1)
20
- self.dec2 = layers.Decoder(ch * (2 + 4), ch * 2, 3, 1, 1)
21
- self.dec1 = layers.Decoder(ch * (1 + 2), ch, 3, 1, 1)
22
-
23
- def __call__(self, x):
24
- h, e1 = self.enc1(x)
25
- h, e2 = self.enc2(h)
26
- h, e3 = self.enc3(h)
27
- h, e4 = self.enc4(h)
28
-
29
- h = self.aspp(h)
30
-
31
- h = self.dec4(h, e4)
32
- h = self.dec3(h, e3)
33
- h = self.dec2(h, e2)
34
- h = self.dec1(h, e1)
35
-
36
- return h
37
-
38
-
39
- class CascadedASPPNet(nn.Module):
40
- def __init__(self, n_fft):
41
- super(CascadedASPPNet, self).__init__()
42
- self.stg1_low_band_net = BaseASPPNet(2, 32)
43
- self.stg1_high_band_net = BaseASPPNet(2, 32)
44
-
45
- self.stg2_bridge = layers.Conv2DBNActiv(34, 16, 1, 1, 0)
46
- self.stg2_full_band_net = BaseASPPNet(16, 32)
47
-
48
- self.stg3_bridge = layers.Conv2DBNActiv(66, 32, 1, 1, 0)
49
- self.stg3_full_band_net = BaseASPPNet(32, 64)
50
-
51
- self.out = nn.Conv2d(64, 2, 1, bias=False)
52
- self.aux1_out = nn.Conv2d(32, 2, 1, bias=False)
53
- self.aux2_out = nn.Conv2d(32, 2, 1, bias=False)
54
-
55
- self.max_bin = n_fft // 2
56
- self.output_bin = n_fft // 2 + 1
57
-
58
- self.offset = 128
59
-
60
- def forward(self, x, aggressiveness=None):
61
- mix = x.detach()
62
- x = x.clone()
63
-
64
- x = x[:, :, : self.max_bin]
65
-
66
- bandw = x.size()[2] // 2
67
- aux1 = torch.cat(
68
- [
69
- self.stg1_low_band_net(x[:, :, :bandw]),
70
- self.stg1_high_band_net(x[:, :, bandw:]),
71
- ],
72
- dim=2,
73
- )
74
-
75
- h = torch.cat([x, aux1], dim=1)
76
- aux2 = self.stg2_full_band_net(self.stg2_bridge(h))
77
-
78
- h = torch.cat([x, aux1, aux2], dim=1)
79
- h = self.stg3_full_band_net(self.stg3_bridge(h))
80
-
81
- mask = torch.sigmoid(self.out(h))
82
- mask = F.pad(
83
- input=mask,
84
- pad=(0, 0, 0, self.output_bin - mask.size()[2]),
85
- mode="replicate",
86
- )
87
-
88
- if self.training:
89
- aux1 = torch.sigmoid(self.aux1_out(aux1))
90
- aux1 = F.pad(
91
- input=aux1,
92
- pad=(0, 0, 0, self.output_bin - aux1.size()[2]),
93
- mode="replicate",
94
- )
95
- aux2 = torch.sigmoid(self.aux2_out(aux2))
96
- aux2 = F.pad(
97
- input=aux2,
98
- pad=(0, 0, 0, self.output_bin - aux2.size()[2]),
99
- mode="replicate",
100
- )
101
- return mask * mix, aux1 * mix, aux2 * mix
102
- else:
103
- if aggressiveness:
104
- mask[:, :, : aggressiveness["split_bin"]] = torch.pow(
105
- mask[:, :, : aggressiveness["split_bin"]],
106
- 1 + aggressiveness["value"] / 3,
107
- )
108
- mask[:, :, aggressiveness["split_bin"] :] = torch.pow(
109
- mask[:, :, aggressiveness["split_bin"] :],
110
- 1 + aggressiveness["value"],
111
- )
112
-
113
- return mask * mix
114
-
115
- def predict(self, x_mag, aggressiveness=None):
116
- h = self.forward(x_mag, aggressiveness)
117
-
118
- if self.offset > 0:
119
- h = h[:, :, :, self.offset : -self.offset]
120
- assert h.size()[3] > 0
121
-
122
- return h
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_2_ProfileRecogition/mmpretrain/configs/_base_/models/resnetv1d101.py DELETED
@@ -1,17 +0,0 @@
1
- # model settings
2
- model = dict(
3
- type='ImageClassifier',
4
- backbone=dict(
5
- type='ResNetV1d',
6
- depth=101,
7
- num_stages=4,
8
- out_indices=(3, ),
9
- style='pytorch'),
10
- neck=dict(type='GlobalAveragePooling'),
11
- head=dict(
12
- type='LinearClsHead',
13
- num_classes=1000,
14
- in_channels=2048,
15
- loss=dict(type='CrossEntropyLoss', loss_weight=1.0),
16
- topk=(1, 5),
17
- ))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_2_ProfileRecogition/mmpretrain/configs/resnext101_4xb32_1024e_4channel.py DELETED
@@ -1,114 +0,0 @@
1
- _base_ = [ # 此配置文件将继承所有 `_base_` 中的配置
2
- '../configs/_base_/schedules/custom_schedule.py', # 训练策略配置
3
- '../configs/_base_/default_runtime.py' # 默认运行设置
4
- ]
5
-
6
- default_hooks = dict(
7
- # print log every 50 iterations.
8
- logger=dict(type='LoggerHook', interval=25),
9
- # save checkpoint per 8 epochs.
10
- checkpoint=dict(save_best='auto', interval=16)
11
- )
12
-
13
- visualizer = dict(
14
- vis_backends=[dict(type='LocalVisBackend'),
15
- dict(type='WandbVisBackend')])
16
-
17
- dataset_type = 'CustomDataset'
18
-
19
- # config of pipline
20
- train_pipeline = [
21
- dict(type='LoadImageFromFile', imdecode_backend='pillow', flag='unchanged'), # 读取图像
22
- dict(type='RandomResizedCrop', scale=224), # 随机放缩裁剪
23
- dict(type='RandomFlip', prob=0.5, direction='horizontal'), # 随机水平翻转
24
- dict(type='PackInputs'), # 准备图像以及标签
25
- ]
26
-
27
- test_pipeline = [
28
- dict(type='LoadImageFromFile', imdecode_backend='pillow', flag='unchanged'), # 读取图像
29
- dict(type='ResizeEdge', scale=256, edge='short'), # 缩放短边尺寸至 256px
30
- dict(type='CenterCrop', crop_size=224), # 中心裁剪
31
- dict(type='PackInputs'), # 准备图像以及标签
32
- ]
33
-
34
- # config of dataloader
35
- train_dataloader = dict(
36
- batch_size=32, # 每张 GPU 的 batchsize
37
- num_workers=5, # 每个 GPU 的线程数
38
- dataset=dict( # 训练数据集
39
- type=dataset_type,
40
- data_root='../2_preprocess_data_3000',
41
- with_label=True,
42
- ann_file='',
43
- data_prefix='train',
44
- pipeline=train_pipeline),
45
- sampler=dict(type='DefaultSampler', shuffle=True), # 默认采样器
46
- persistent_workers=True, # 是否保持进程,可以缩短每个 epoch 的准备时间
47
- )
48
-
49
- # 构造验证集 dataloader
50
- val_dataloader = dict(
51
- batch_size=32,
52
- num_workers=5,
53
- dataset=dict(
54
- type=dataset_type,
55
- data_root='../2_preprocess_data_3000',
56
- with_label=True,
57
- ann_file='',
58
- data_prefix='val',
59
- pipeline=test_pipeline),
60
- sampler=dict(type='DefaultSampler', shuffle=False),
61
- persistent_workers=True,
62
- )
63
-
64
- # set evaluator of validation dataset. Here uses top1 and top3 accuracy
65
- val_evaluator = dict(type='Accuracy', topk=(1, 3))
66
-
67
- test_dataloader = val_dataloader
68
- test_evaluator = val_evaluator
69
-
70
- model = dict(
71
- type='ImageClassifier', # 主模型类型(对于图像分类任务,使用 `ImageClassifier`)
72
- backbone=dict(
73
- type='HRNet', # 主干网络类型
74
- arch='w32', # 主干网络架构
75
- extra=dict(
76
- stage1=dict(
77
- num_modules=1,
78
- num_branches=1,
79
- block='BOTTLENECK',
80
- num_blocks=(4, ),
81
- num_channels=(64, )),
82
- stage2=dict(
83
- num_modules=1,
84
- num_branches=2,
85
- block='BASIC',
86
- num_blocks=(4, 4),
87
- num_channels=(32, 64)),
88
- stage3=dict(
89
- num_modules=4,
90
- num_branches=3,
91
- block='BASIC',
92
- num_blocks=(4, 4, 4),
93
- num_channels=(32, 64, 128)),
94
- stage4=dict(
95
- num_modules=3,
96
- num_branches=4,
97
- block='BASIC',
98
- num_blocks=(4, 4, 4, 4),
99
- num_channels=(32, 64, 128, 256))),
100
- ),
101
- neck=dict(type='GlobalAveragePooling'), # 颈网络类型
102
- head=dict(
103
- type='LinearClsHead', # 分类颈网络类型
104
- # 除了 `type` 之外的所有字段都来自 `LinearClsHead` 类的 __init__ 方法
105
- # 可查阅 https://mmpretrain.readthedocs.io/zh_CN/latest/api/generated/mmpretrain.models.heads.LinearClsHead.html
106
- num_classes=7, # 分类类别数
107
- in_channels=256,
108
- loss=dict(type='CrossEntropyLoss', loss_weight=1.0), # 损失函数配置信息
109
- topk=(1, 3), # 评估指标,Top-k 准确率
110
- ))
111
-
112
- optim_wrapper = dict(
113
- accumulative_counts=8
114
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AchyuthGamer/OpenGPT-Chat-UI/src/routes/+layout.server.ts DELETED
@@ -1,66 +0,0 @@
1
- import { redirect } from "@sveltejs/kit";
2
- import type { LayoutServerLoad } from "./$types";
3
- import { collections } from "$lib/server/database";
4
- import type { Conversation } from "$lib/types/Conversation";
5
- import { UrlDependency } from "$lib/types/UrlDependency";
6
- import { defaultModel, models, oldModels, validateModel } from "$lib/server/models";
7
- import { authCondition, requiresUser } from "$lib/server/auth";
8
- import { DEFAULT_SETTINGS } from "$lib/types/Settings";
9
- import { SERPAPI_KEY, SERPER_API_KEY, MESSAGES_BEFORE_LOGIN } from "$env/static/private";
10
-
11
- export const load: LayoutServerLoad = async ({ locals, depends, url }) => {
12
- const { conversations } = collections;
13
- const urlModel = url.searchParams.get("model");
14
-
15
- depends(UrlDependency.ConversationList);
16
-
17
- if (urlModel) {
18
- const isValidModel = validateModel(models).safeParse(urlModel).success;
19
-
20
- if (isValidModel) {
21
- await collections.settings.updateOne(
22
- authCondition(locals),
23
- { $set: { activeModel: urlModel } },
24
- { upsert: true }
25
- );
26
- }
27
-
28
- throw redirect(302, url.pathname);
29
- }
30
-
31
- return {
32
- conversations: [],
33
- settings: {
34
- shareConversationsWithModelAuthors: DEFAULT_SETTINGS.shareConversationsWithModelAuthors,
35
- ethicsModalAcceptedAt: null,
36
- activeModel: DEFAULT_SETTINGS.activeModel,
37
- searchEnabled: false,
38
- customPrompts: {},
39
- },
40
- models: models.map((model) => ({
41
- id: model.id,
42
- name: model.name,
43
- websiteUrl: model.websiteUrl,
44
- modelUrl: model.modelUrl,
45
- is_local: model.is_local,
46
- is_phi: model.is_phi,
47
- is_code: model.is_code,
48
- type: model.type,
49
- datasetName: model.datasetName,
50
- datasetUrl: model.datasetUrl,
51
- displayName: model.displayName,
52
- description: model.description,
53
- promptExamples: model.promptExamples,
54
- parameters: model.parameters,
55
- preprompt: model.preprompt,
56
- })),
57
- oldModels,
58
- user: locals.user && {
59
- username: locals.user.username,
60
- avatarUrl: locals.user.avatarUrl,
61
- email: locals.user.email,
62
- },
63
- requiresLogin: requiresUser,
64
- messagesBeforeLogin: MESSAGES_BEFORE_LOGIN ? parseInt(MESSAGES_BEFORE_LOGIN) : 0,
65
- };
66
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AchyuthGamer/OpenGPT/g4f/Provider/AItianhuSpace.py DELETED
@@ -1,92 +0,0 @@
1
- from __future__ import annotations
2
-
3
- import random, json
4
-
5
- from ..typing import AsyncGenerator
6
- from ..requests import StreamSession
7
- from .base_provider import AsyncGeneratorProvider, format_prompt, get_cookies
8
-
9
- domains = {
10
- "gpt-3.5-turbo": "aitianhu.space",
11
- "gpt-4": "aitianhu.website",
12
- }
13
-
14
- class AItianhuSpace(AsyncGeneratorProvider):
15
- url = "https://chat3.aiyunos.top/"
16
- working = True
17
- supports_gpt_35_turbo = True
18
-
19
- @classmethod
20
- async def create_async_generator(
21
- cls,
22
- model: str,
23
- messages: list[dict[str, str]],
24
- proxy: str = None,
25
- domain: str = None,
26
- cookies: dict = None,
27
- timeout: int = 30,
28
- **kwargs
29
- ) -> AsyncGenerator:
30
- if not model:
31
- model = "gpt-3.5-turbo"
32
- elif not model in domains:
33
- raise ValueError(f"Model are not supported: {model}")
34
- if not domain:
35
- chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
36
- rand = ''.join(random.choice(chars) for _ in range(6))
37
- domain = f"{rand}.{domains[model]}"
38
- if not cookies:
39
- cookies = get_cookies(domain)
40
-
41
- url = f'https://{domain}'
42
- async with StreamSession(
43
- proxies={"https": proxy},
44
- cookies=cookies,
45
- timeout=timeout,
46
- impersonate="chrome110",
47
- verify=False
48
- ) as session:
49
- data = {
50
- "prompt": format_prompt(messages),
51
- "options": {},
52
- "systemMessage": "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully.",
53
- "temperature": 0.8,
54
- "top_p": 1,
55
- **kwargs
56
- }
57
- headers = {
58
- "Authority": url,
59
- "Accept": "application/json, text/plain, */*",
60
- "Origin": url,
61
- "Referer": f"{url}/"
62
- }
63
- async with session.post(f"{url}/api/chat-process", json=data, headers=headers) as response:
64
- response.raise_for_status()
65
- async for line in response.iter_lines():
66
- if line == b"<script>":
67
- raise RuntimeError("Solve challenge and pass cookies and a fixed domain")
68
- if b"platform's risk control" in line:
69
- raise RuntimeError("Platform's Risk Control")
70
- line = json.loads(line)
71
- if "detail" in line:
72
- content = line["detail"]["choices"][0]["delta"].get("content")
73
- if content:
74
- yield content
75
- elif "message" in line and "AI-4接口非常昂贵" in line["message"]:
76
- raise RuntimeError("Rate limit for GPT 4 reached")
77
- else:
78
- raise RuntimeError(f"Response: {line}")
79
-
80
-
81
- @classmethod
82
- @property
83
- def params(cls):
84
- params = [
85
- ("model", "str"),
86
- ("messages", "list[dict[str, str]]"),
87
- ("stream", "bool"),
88
- ("temperature", "float"),
89
- ("top_p", "int"),
90
- ]
91
- param = ", ".join([": ".join(p) for p in params])
92
- return f"g4f.provider.{cls.__name__} supports: ({param})"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/hiddenedit/HiddenEdit.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import HiddenEdit from '../../../plugins/hiddeninputtext';
2
- export default HiddenEdit;
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/perspectivecard/PerspectiveCard.d.ts DELETED
@@ -1,57 +0,0 @@
1
- // import * as Phaser from 'phaser';
2
- import OverlapSizer from '../overlapsizer/OverlapSizer';
3
- import {
4
- PerspectiveCard as Card
5
- } from '../../../plugins/perspectiveimage';
6
-
7
-
8
- export default PerspectiveCard;
9
-
10
- declare namespace PerspectiveCard {
11
-
12
- interface IConfig extends OverlapSizer.IConfig, Card.IConfig {
13
- snapshotPadding?: number;
14
- }
15
-
16
- }
17
-
18
- declare class PerspectiveCard extends OverlapSizer {
19
- constructor(
20
- scene: Phaser.Scene,
21
- config?: PerspectiveCard.IConfig
22
- );
23
-
24
- flip: Card.Flip | undefined;
25
-
26
- setFace(face: Card.FaceTypes): this;
27
- toggleFace(): this;
28
- face: number;
29
-
30
- enterPerspectiveMode(): this;
31
- exitPerspectiveMode(): this;
32
- readonly isInPerspectiveMode: boolean;
33
-
34
- setSnapshotPadding(padding: number): this;
35
- snapshotPadding: number;
36
-
37
- snapshotFace(
38
- face: 'front' | 'back' | 0 | 1
39
- ): this;
40
-
41
-
42
- rotationX: number;
43
- rotationY: number;
44
- rotationZ: number;
45
- angleX: number;
46
- angleY: number;
47
- angleZ: number;
48
-
49
- panX(value: number): this;
50
- panY(value: number): this;
51
- panZ(value: number): this;
52
-
53
- transformVerts(
54
- x?: number, y?: number, z?: number,
55
- rotateX?: number, rotateY?: number, rotateZ?: number
56
- ): this;
57
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AlStable/AlPrompt/app.py DELETED
@@ -1,49 +0,0 @@
1
- import gradio
2
- import accelerate
3
-
4
- class Model:
5
- def __init__(self, name, path="", prefix=""):
6
- self.name = name
7
- self.path = path
8
- self.prefix = prefix
9
-
10
- models = [
11
- Model("Marvel","models/ItsJayQz/Marvel_WhatIf_Diffusion", "whatif style"),
12
- Model("Cyberpunk Anime Diffusion", "models/DGSpitzer/Cyberpunk-Anime-Diffusion", "dgs illustration style"),
13
- Model("Portrait plus", "models/wavymulder/portraitplus", "portrait+ style"),
14
- Model("classic Disney", "models/nitrosocke/classic-anim-diffusion", "classic disney style"),
15
- Model("vintedois", "models/22h/vintedois-diffusion-v0-1", "vintedois style"),
16
- Model("dreamlike", "models/dreamlike-art/dreamlike-diffusion-1.0","dreamlike style"),
17
- Model("SD21","models/stabilityai/stable-diffusion-2-1", "sd21 default style")
18
- ]
19
-
20
- model1=[]
21
- model2=[]
22
- model3=[]
23
-
24
- for i in range(len(models)):
25
- model3.append(models[i].name)
26
- model2.append(models[i].prefix)
27
- model1.append(gradio.Interface.load(models[i].path))
28
-
29
- def process1(prompt):
30
- modelSelected=model3[0]
31
- for i in range(len(models)):
32
- if prompt.find(models[i].prefix)!=-1:
33
- modelSelected=models[i].name
34
- print(modelSelected)
35
- model_idx=model3.index(modelSelected)
36
- image_return = model1[model_idx](prompt)
37
- return image_return
38
-
39
- sandbox = gradio.Interface(fn=process1,
40
- inputs=[gradio.Textbox(label="Enter Prompt:")],
41
- outputs=[gradio.Image(label="Produced Image")],
42
- title='AlStable Text to Image',
43
- examples=[["A honey badger in a forest in classic disney style, and trees in background"],
44
- ["human like honey badger portrait, oil painting style,forest background, in vintedois style"],
45
- ["A honey badger super hero in a forest in marvel style, and forest trees in background"],
46
- ["A honey badger wizard in a forest in portrait+ style, and forest trees in background"],
47
- ["portrait close up of honey badger in dreamlike style, blank canvas background"]])
48
-
49
- sandbox.queue(concurrency_count=20).launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Alichuan/VITS-Umamusume-voice-synthesizer/hubert_model.py DELETED
@@ -1,221 +0,0 @@
1
- import copy
2
- from typing import Optional, Tuple
3
- import random
4
-
5
- import torch
6
- import torch.nn as nn
7
- import torch.nn.functional as F
8
- from torch.nn.modules.utils import consume_prefix_in_state_dict_if_present
9
-
10
- class Hubert(nn.Module):
11
- def __init__(self, num_label_embeddings: int = 100, mask: bool = True):
12
- super().__init__()
13
- self._mask = mask
14
- self.feature_extractor = FeatureExtractor()
15
- self.feature_projection = FeatureProjection()
16
- self.positional_embedding = PositionalConvEmbedding()
17
- self.norm = nn.LayerNorm(768)
18
- self.dropout = nn.Dropout(0.1)
19
- self.encoder = TransformerEncoder(
20
- nn.TransformerEncoderLayer(
21
- 768, 12, 3072, activation="gelu", batch_first=True
22
- ),
23
- 12,
24
- )
25
- self.proj = nn.Linear(768, 256)
26
-
27
- self.masked_spec_embed = nn.Parameter(torch.FloatTensor(768).uniform_())
28
- self.label_embedding = nn.Embedding(num_label_embeddings, 256)
29
-
30
- def mask(self, x: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
31
- mask = None
32
- if self.training and self._mask:
33
- mask = _compute_mask((x.size(0), x.size(1)), 0.8, 10, x.device, 2)
34
- x[mask] = self.masked_spec_embed.to(x.dtype)
35
- return x, mask
36
-
37
- def encode(
38
- self, x: torch.Tensor, layer: Optional[int] = None
39
- ) -> Tuple[torch.Tensor, torch.Tensor]:
40
- x = self.feature_extractor(x)
41
- x = self.feature_projection(x.transpose(1, 2))
42
- x, mask = self.mask(x)
43
- x = x + self.positional_embedding(x)
44
- x = self.dropout(self.norm(x))
45
- x = self.encoder(x, output_layer=layer)
46
- return x, mask
47
-
48
- def logits(self, x: torch.Tensor) -> torch.Tensor:
49
- logits = torch.cosine_similarity(
50
- x.unsqueeze(2),
51
- self.label_embedding.weight.unsqueeze(0).unsqueeze(0),
52
- dim=-1,
53
- )
54
- return logits / 0.1
55
-
56
- def forward(self, x: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
57
- x, mask = self.encode(x)
58
- x = self.proj(x)
59
- logits = self.logits(x)
60
- return logits, mask
61
-
62
-
63
- class HubertSoft(Hubert):
64
- def __init__(self):
65
- super().__init__()
66
-
67
- @torch.inference_mode()
68
- def units(self, wav: torch.Tensor) -> torch.Tensor:
69
- wav = F.pad(wav, ((400 - 320) // 2, (400 - 320) // 2))
70
- x, _ = self.encode(wav)
71
- return self.proj(x)
72
-
73
-
74
- class FeatureExtractor(nn.Module):
75
- def __init__(self):
76
- super().__init__()
77
- self.conv0 = nn.Conv1d(1, 512, 10, 5, bias=False)
78
- self.norm0 = nn.GroupNorm(512, 512)
79
- self.conv1 = nn.Conv1d(512, 512, 3, 2, bias=False)
80
- self.conv2 = nn.Conv1d(512, 512, 3, 2, bias=False)
81
- self.conv3 = nn.Conv1d(512, 512, 3, 2, bias=False)
82
- self.conv4 = nn.Conv1d(512, 512, 3, 2, bias=False)
83
- self.conv5 = nn.Conv1d(512, 512, 2, 2, bias=False)
84
- self.conv6 = nn.Conv1d(512, 512, 2, 2, bias=False)
85
-
86
- def forward(self, x: torch.Tensor) -> torch.Tensor:
87
- x = F.gelu(self.norm0(self.conv0(x)))
88
- x = F.gelu(self.conv1(x))
89
- x = F.gelu(self.conv2(x))
90
- x = F.gelu(self.conv3(x))
91
- x = F.gelu(self.conv4(x))
92
- x = F.gelu(self.conv5(x))
93
- x = F.gelu(self.conv6(x))
94
- return x
95
-
96
-
97
- class FeatureProjection(nn.Module):
98
- def __init__(self):
99
- super().__init__()
100
- self.norm = nn.LayerNorm(512)
101
- self.projection = nn.Linear(512, 768)
102
- self.dropout = nn.Dropout(0.1)
103
-
104
- def forward(self, x: torch.Tensor) -> torch.Tensor:
105
- x = self.norm(x)
106
- x = self.projection(x)
107
- x = self.dropout(x)
108
- return x
109
-
110
-
111
- class PositionalConvEmbedding(nn.Module):
112
- def __init__(self):
113
- super().__init__()
114
- self.conv = nn.Conv1d(
115
- 768,
116
- 768,
117
- kernel_size=128,
118
- padding=128 // 2,
119
- groups=16,
120
- )
121
- self.conv = nn.utils.weight_norm(self.conv, name="weight", dim=2)
122
-
123
- def forward(self, x: torch.Tensor) -> torch.Tensor:
124
- x = self.conv(x.transpose(1, 2))
125
- x = F.gelu(x[:, :, :-1])
126
- return x.transpose(1, 2)
127
-
128
-
129
- class TransformerEncoder(nn.Module):
130
- def __init__(
131
- self, encoder_layer: nn.TransformerEncoderLayer, num_layers: int
132
- ) -> None:
133
- super(TransformerEncoder, self).__init__()
134
- self.layers = nn.ModuleList(
135
- [copy.deepcopy(encoder_layer) for _ in range(num_layers)]
136
- )
137
- self.num_layers = num_layers
138
-
139
- def forward(
140
- self,
141
- src: torch.Tensor,
142
- mask: torch.Tensor = None,
143
- src_key_padding_mask: torch.Tensor = None,
144
- output_layer: Optional[int] = None,
145
- ) -> torch.Tensor:
146
- output = src
147
- for layer in self.layers[:output_layer]:
148
- output = layer(
149
- output, src_mask=mask, src_key_padding_mask=src_key_padding_mask
150
- )
151
- return output
152
-
153
-
154
- def _compute_mask(
155
- shape: Tuple[int, int],
156
- mask_prob: float,
157
- mask_length: int,
158
- device: torch.device,
159
- min_masks: int = 0,
160
- ) -> torch.Tensor:
161
- batch_size, sequence_length = shape
162
-
163
- if mask_length < 1:
164
- raise ValueError("`mask_length` has to be bigger than 0.")
165
-
166
- if mask_length > sequence_length:
167
- raise ValueError(
168
- f"`mask_length` has to be smaller than `sequence_length`, but got `mask_length`: {mask_length} and `sequence_length`: {sequence_length}`"
169
- )
170
-
171
- # compute number of masked spans in batch
172
- num_masked_spans = int(mask_prob * sequence_length / mask_length + random.random())
173
- num_masked_spans = max(num_masked_spans, min_masks)
174
-
175
- # make sure num masked indices <= sequence_length
176
- if num_masked_spans * mask_length > sequence_length:
177
- num_masked_spans = sequence_length // mask_length
178
-
179
- # SpecAugment mask to fill
180
- mask = torch.zeros((batch_size, sequence_length), device=device, dtype=torch.bool)
181
-
182
- # uniform distribution to sample from, make sure that offset samples are < sequence_length
183
- uniform_dist = torch.ones(
184
- (batch_size, sequence_length - (mask_length - 1)), device=device
185
- )
186
-
187
- # get random indices to mask
188
- mask_indices = torch.multinomial(uniform_dist, num_masked_spans)
189
-
190
- # expand masked indices to masked spans
191
- mask_indices = (
192
- mask_indices.unsqueeze(dim=-1)
193
- .expand((batch_size, num_masked_spans, mask_length))
194
- .reshape(batch_size, num_masked_spans * mask_length)
195
- )
196
- offsets = (
197
- torch.arange(mask_length, device=device)[None, None, :]
198
- .expand((batch_size, num_masked_spans, mask_length))
199
- .reshape(batch_size, num_masked_spans * mask_length)
200
- )
201
- mask_idxs = mask_indices + offsets
202
-
203
- # scatter indices to mask
204
- mask = mask.scatter(1, mask_idxs, True)
205
-
206
- return mask
207
-
208
-
209
- def hubert_soft(
210
- path: str
211
- ) -> HubertSoft:
212
- r"""HuBERT-Soft from `"A Comparison of Discrete and Soft Speech Units for Improved Voice Conversion"`.
213
- Args:
214
- path (str): path of a pretrained model
215
- """
216
- hubert = HubertSoft()
217
- checkpoint = torch.load(path)
218
- consume_prefix_in_state_dict_if_present(checkpoint, "module.")
219
- hubert.load_state_dict(checkpoint)
220
- hubert.eval()
221
- return hubert
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Amrrs/DragGan-Inversion/stylegan_human/utils/log_utils.py DELETED
@@ -1,84 +0,0 @@
1
- # Copyright (c) SenseTime Research. All rights reserved.
2
-
3
-
4
- import numpy as np
5
- from PIL import Image
6
- import wandb
7
- from pti.pti_configs import global_config
8
- import torch
9
- import matplotlib.pyplot as plt
10
-
11
-
12
- def log_image_from_w(w, G, name):
13
- img = get_image_from_w(w, G)
14
- pillow_image = Image.fromarray(img)
15
- wandb.log(
16
- {f"{name}": [
17
- wandb.Image(pillow_image, caption=f"current inversion {name}")]},
18
- step=global_config.training_step)
19
-
20
-
21
- def log_images_from_w(ws, G, names):
22
- for name, w in zip(names, ws):
23
- w = w.to(global_config.device)
24
- log_image_from_w(w, G, name)
25
-
26
-
27
- def plot_image_from_w(w, G):
28
- img = get_image_from_w(w, G)
29
- pillow_image = Image.fromarray(img)
30
- plt.imshow(pillow_image)
31
- plt.show()
32
-
33
-
34
- def plot_image(img):
35
- img = (img.permute(0, 2, 3, 1) * 127.5 + 128).clamp(0,
36
- 255).to(torch.uint8).detach().cpu().numpy()
37
- pillow_image = Image.fromarray(img[0])
38
- plt.imshow(pillow_image)
39
- plt.show()
40
-
41
-
42
- def save_image(name, method_type, results_dir, image, run_id):
43
- image.save(f'{results_dir}/{method_type}_{name}_{run_id}.jpg')
44
-
45
-
46
- def save_w(w, G, name, method_type, results_dir):
47
- im = get_image_from_w(w, G)
48
- im = Image.fromarray(im, mode='RGB')
49
- save_image(name, method_type, results_dir, im)
50
-
51
-
52
- def save_concat_image(base_dir, image_latents, new_inv_image_latent, new_G,
53
- old_G,
54
- file_name,
55
- extra_image=None):
56
- images_to_save = []
57
- if extra_image is not None:
58
- images_to_save.append(extra_image)
59
- for latent in image_latents:
60
- images_to_save.append(get_image_from_w(latent, old_G))
61
- images_to_save.append(get_image_from_w(new_inv_image_latent, new_G))
62
- result_image = create_alongside_images(images_to_save)
63
- result_image.save(f'{base_dir}/{file_name}.jpg')
64
-
65
-
66
- def save_single_image(base_dir, image_latent, G, file_name):
67
- image_to_save = get_image_from_w(image_latent, G)
68
- image_to_save = Image.fromarray(image_to_save, mode='RGB')
69
- image_to_save.save(f'{base_dir}/{file_name}.jpg')
70
-
71
-
72
- def create_alongside_images(images):
73
- res = np.concatenate([np.array(image) for image in images], axis=1)
74
- return Image.fromarray(res, mode='RGB')
75
-
76
-
77
- def get_image_from_w(w, G):
78
- if len(w.size()) <= 2:
79
- w = w.unsqueeze(0)
80
- with torch.no_grad():
81
- img = G.synthesis(w, noise_mode='const')
82
- img = (img.permute(0, 2, 3, 1) * 127.5 + 128).clamp(0,
83
- 255).to(torch.uint8).detach().cpu().numpy()
84
- return img[0]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/docs/source/en/stable_diffusion.md DELETED
@@ -1,273 +0,0 @@
1
- <!--Copyright 2023 The HuggingFace Team. All rights reserved.
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4
- the License. You may obtain a copy of the License at
5
-
6
- http://www.apache.org/licenses/LICENSE-2.0
7
-
8
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
9
- an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10
- specific language governing permissions and limitations under the License.
11
- -->
12
-
13
- # Effective and efficient diffusion
14
-
15
- [[open-in-colab]]
16
-
17
- Getting the [`DiffusionPipeline`] to generate images in a certain style or include what you want can be tricky. Often times, you have to run the [`DiffusionPipeline`] several times before you end up with an image you're happy with. But generating something out of nothing is a computationally intensive process, especially if you're running inference over and over again.
18
-
19
- This is why it's important to get the most *computational* (speed) and *memory* (GPU RAM) efficiency from the pipeline to reduce the time between inference cycles so you can iterate faster.
20
-
21
- This tutorial walks you through how to generate faster and better with the [`DiffusionPipeline`].
22
-
23
- Begin by loading the [`runwayml/stable-diffusion-v1-5`](https://huggingface.co/runwayml/stable-diffusion-v1-5) model:
24
-
25
- ```python
26
- from diffusers import DiffusionPipeline
27
-
28
- model_id = "runwayml/stable-diffusion-v1-5"
29
- pipeline = DiffusionPipeline.from_pretrained(model_id)
30
- ```
31
-
32
- The example prompt you'll use is a portrait of an old warrior chief, but feel free to use your own prompt:
33
-
34
- ```python
35
- prompt = "portrait photo of a old warrior chief"
36
- ```
37
-
38
- ## Speed
39
-
40
- <Tip>
41
-
42
- 💡 If you don't have access to a GPU, you can use one for free from a GPU provider like [Colab](https://colab.research.google.com/)!
43
-
44
- </Tip>
45
-
46
- One of the simplest ways to speed up inference is to place the pipeline on a GPU the same way you would with any PyTorch module:
47
-
48
- ```python
49
- pipeline = pipeline.to("cuda")
50
- ```
51
-
52
- To make sure you can use the same image and improve on it, use a [`Generator`](https://pytorch.org/docs/stable/generated/torch.Generator.html) and set a seed for [reproducibility](./using-diffusers/reproducibility):
53
-
54
- ```python
55
- import torch
56
-
57
- generator = torch.Generator("cuda").manual_seed(0)
58
- ```
59
-
60
- Now you can generate an image:
61
-
62
- ```python
63
- image = pipeline(prompt, generator=generator).images[0]
64
- image
65
- ```
66
-
67
- <div class="flex justify-center">
68
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_1.png">
69
- </div>
70
-
71
- This process took ~30 seconds on a T4 GPU (it might be faster if your allocated GPU is better than a T4). By default, the [`DiffusionPipeline`] runs inference with full `float32` precision for 50 inference steps. You can speed this up by switching to a lower precision like `float16` or running fewer inference steps.
72
-
73
- Let's start by loading the model in `float16` and generate an image:
74
-
75
- ```python
76
- import torch
77
-
78
- pipeline = DiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
79
- pipeline = pipeline.to("cuda")
80
- generator = torch.Generator("cuda").manual_seed(0)
81
- image = pipeline(prompt, generator=generator).images[0]
82
- image
83
- ```
84
-
85
- <div class="flex justify-center">
86
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_2.png">
87
- </div>
88
-
89
- This time, it only took ~11 seconds to generate the image, which is almost 3x faster than before!
90
-
91
- <Tip>
92
-
93
- 💡 We strongly suggest always running your pipelines in `float16`, and so far, we've rarely seen any degradation in output quality.
94
-
95
- </Tip>
96
-
97
- Another option is to reduce the number of inference steps. Choosing a more efficient scheduler could help decrease the number of steps without sacrificing output quality. You can find which schedulers are compatible with the current model in the [`DiffusionPipeline`] by calling the `compatibles` method:
98
-
99
- ```python
100
- pipeline.scheduler.compatibles
101
- [
102
- diffusers.schedulers.scheduling_lms_discrete.LMSDiscreteScheduler,
103
- diffusers.schedulers.scheduling_unipc_multistep.UniPCMultistepScheduler,
104
- diffusers.schedulers.scheduling_k_dpm_2_discrete.KDPM2DiscreteScheduler,
105
- diffusers.schedulers.scheduling_deis_multistep.DEISMultistepScheduler,
106
- diffusers.schedulers.scheduling_euler_discrete.EulerDiscreteScheduler,
107
- diffusers.schedulers.scheduling_dpmsolver_multistep.DPMSolverMultistepScheduler,
108
- diffusers.schedulers.scheduling_ddpm.DDPMScheduler,
109
- diffusers.schedulers.scheduling_dpmsolver_singlestep.DPMSolverSinglestepScheduler,
110
- diffusers.schedulers.scheduling_k_dpm_2_ancestral_discrete.KDPM2AncestralDiscreteScheduler,
111
- diffusers.schedulers.scheduling_heun_discrete.HeunDiscreteScheduler,
112
- diffusers.schedulers.scheduling_pndm.PNDMScheduler,
113
- diffusers.schedulers.scheduling_euler_ancestral_discrete.EulerAncestralDiscreteScheduler,
114
- diffusers.schedulers.scheduling_ddim.DDIMScheduler,
115
- ]
116
- ```
117
-
118
- The Stable Diffusion model uses the [`PNDMScheduler`] by default which usually requires ~50 inference steps, but more performant schedulers like [`DPMSolverMultistepScheduler`], require only ~20 or 25 inference steps. Use the [`ConfigMixin.from_config`] method to load a new scheduler:
119
-
120
- ```python
121
- from diffusers import DPMSolverMultistepScheduler
122
-
123
- pipeline.scheduler = DPMSolverMultistepScheduler.from_config(pipeline.scheduler.config)
124
- ```
125
-
126
- Now set the `num_inference_steps` to 20:
127
-
128
- ```python
129
- generator = torch.Generator("cuda").manual_seed(0)
130
- image = pipeline(prompt, generator=generator, num_inference_steps=20).images[0]
131
- image
132
- ```
133
-
134
- <div class="flex justify-center">
135
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_3.png">
136
- </div>
137
-
138
- Great, you've managed to cut the inference time to just 4 seconds! ⚡️
139
-
140
- ## Memory
141
-
142
- The other key to improving pipeline performance is consuming less memory, which indirectly implies more speed, since you're often trying to maximize the number of images generated per second. The easiest way to see how many images you can generate at once is to try out different batch sizes until you get an `OutOfMemoryError` (OOM).
143
-
144
- Create a function that'll generate a batch of images from a list of prompts and `Generators`. Make sure to assign each `Generator` a seed so you can reuse it if it produces a good result.
145
-
146
- ```python
147
- def get_inputs(batch_size=1):
148
- generator = [torch.Generator("cuda").manual_seed(i) for i in range(batch_size)]
149
- prompts = batch_size * [prompt]
150
- num_inference_steps = 20
151
-
152
- return {"prompt": prompts, "generator": generator, "num_inference_steps": num_inference_steps}
153
- ```
154
-
155
- You'll also need a function that'll display each batch of images:
156
-
157
- ```python
158
- from PIL import Image
159
-
160
-
161
- def image_grid(imgs, rows=2, cols=2):
162
- w, h = imgs[0].size
163
- grid = Image.new("RGB", size=(cols * w, rows * h))
164
-
165
- for i, img in enumerate(imgs):
166
- grid.paste(img, box=(i % cols * w, i // cols * h))
167
- return grid
168
- ```
169
-
170
- Start with `batch_size=4` and see how much memory you've consumed:
171
-
172
- ```python
173
- images = pipeline(**get_inputs(batch_size=4)).images
174
- image_grid(images)
175
- ```
176
-
177
- Unless you have a GPU with more RAM, the code above probably returned an `OOM` error! Most of the memory is taken up by the cross-attention layers. Instead of running this operation in a batch, you can run it sequentially to save a significant amount of memory. All you have to do is configure the pipeline to use the [`~DiffusionPipeline.enable_attention_slicing`] function:
178
-
179
- ```python
180
- pipeline.enable_attention_slicing()
181
- ```
182
-
183
- Now try increasing the `batch_size` to 8!
184
-
185
- ```python
186
- images = pipeline(**get_inputs(batch_size=8)).images
187
- image_grid(images, rows=2, cols=4)
188
- ```
189
-
190
- <div class="flex justify-center">
191
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_5.png">
192
- </div>
193
-
194
- Whereas before you couldn't even generate a batch of 4 images, now you can generate a batch of 8 images at ~3.5 seconds per image! This is probably the fastest you can go on a T4 GPU without sacrificing quality.
195
-
196
- ## Quality
197
-
198
- In the last two sections, you learned how to optimize the speed of your pipeline by using `fp16`, reducing the number of inference steps by using a more performant scheduler, and enabling attention slicing to reduce memory consumption. Now you're going to focus on how to improve the quality of generated images.
199
-
200
- ### Better checkpoints
201
-
202
- The most obvious step is to use better checkpoints. The Stable Diffusion model is a good starting point, and since its official launch, several improved versions have also been released. However, using a newer version doesn't automatically mean you'll get better results. You'll still have to experiment with different checkpoints yourself, and do a little research (such as using [negative prompts](https://minimaxir.com/2022/11/stable-diffusion-negative-prompt/)) to get the best results.
203
-
204
- As the field grows, there are more and more high-quality checkpoints finetuned to produce certain styles. Try exploring the [Hub](https://huggingface.co/models?library=diffusers&sort=downloads) and [Diffusers Gallery](https://huggingface.co/spaces/huggingface-projects/diffusers-gallery) to find one you're interested in!
205
-
206
- ### Better pipeline components
207
-
208
- You can also try replacing the current pipeline components with a newer version. Let's try loading the latest [autodecoder](https://huggingface.co/stabilityai/stable-diffusion-2-1/tree/main/vae) from Stability AI into the pipeline, and generate some images:
209
-
210
- ```python
211
- from diffusers import AutoencoderKL
212
-
213
- vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse", torch_dtype=torch.float16).to("cuda")
214
- pipeline.vae = vae
215
- images = pipeline(**get_inputs(batch_size=8)).images
216
- image_grid(images, rows=2, cols=4)
217
- ```
218
-
219
- <div class="flex justify-center">
220
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_6.png">
221
- </div>
222
-
223
- ### Better prompt engineering
224
-
225
- The text prompt you use to generate an image is super important, so much so that it is called *prompt engineering*. Some considerations to keep during prompt engineering are:
226
-
227
- - How is the image or similar images of the one I want to generate stored on the internet?
228
- - What additional detail can I give that steers the model towards the style I want?
229
-
230
- With this in mind, let's improve the prompt to include color and higher quality details:
231
-
232
- ```python
233
- prompt += ", tribal panther make up, blue on red, side profile, looking away, serious eyes"
234
- prompt += " 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta"
235
- ```
236
-
237
- Generate a batch of images with the new prompt:
238
-
239
- ```python
240
- images = pipeline(**get_inputs(batch_size=8)).images
241
- image_grid(images, rows=2, cols=4)
242
- ```
243
-
244
- <div class="flex justify-center">
245
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_7.png">
246
- </div>
247
-
248
- Pretty impressive! Let's tweak the second image - corresponding to the `Generator` with a seed of `1` - a bit more by adding some text about the age of the subject:
249
-
250
- ```python
251
- prompts = [
252
- "portrait photo of the oldest warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
253
- "portrait photo of a old warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
254
- "portrait photo of a warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
255
- "portrait photo of a young warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
256
- ]
257
-
258
- generator = [torch.Generator("cuda").manual_seed(1) for _ in range(len(prompts))]
259
- images = pipeline(prompt=prompts, generator=generator, num_inference_steps=25).images
260
- image_grid(images)
261
- ```
262
-
263
- <div class="flex justify-center">
264
- <img src="https://huggingface.co/datasets/diffusers/docs-images/resolve/main/stable_diffusion_101/sd_101_8.png">
265
- </div>
266
-
267
- ## Next steps
268
-
269
- In this tutorial, you learned how to optimize a [`DiffusionPipeline`] for computational and memory efficiency as well as improving the quality of generated outputs. If you're interested in making your pipeline even faster, take a look at the following resources:
270
-
271
- - Learn how [PyTorch 2.0](./optimization/torch2.0) and [`torch.compile`](https://pytorch.org/docs/stable/generated/torch.compile.html) can yield 5 - 300% faster inference speed. On an A100 GPU, inference can be up to 50% faster!
272
- - If you can't use PyTorch 2, we recommend you install [xFormers](./optimization/xformers). Its memory-efficient attention mechanism works great with PyTorch 1.13.1 for faster speed and reduced memory consumption.
273
- - Other optimization techniques, such as model offloading, are covered in [this guide](./optimization/fp16).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/tests/pipelines/deepfloyd_if/__init__.py DELETED
@@ -1,272 +0,0 @@
1
- import tempfile
2
-
3
- import numpy as np
4
- import torch
5
- from transformers import AutoTokenizer, T5EncoderModel
6
-
7
- from diffusers import DDPMScheduler, UNet2DConditionModel
8
- from diffusers.models.attention_processor import AttnAddedKVProcessor
9
- from diffusers.pipelines.deepfloyd_if import IFWatermarker
10
- from diffusers.utils.testing_utils import torch_device
11
-
12
- from ..test_pipelines_common import to_np
13
-
14
-
15
- # WARN: the hf-internal-testing/tiny-random-t5 text encoder has some non-determinism in the `save_load` tests.
16
-
17
-
18
- class IFPipelineTesterMixin:
19
- def _get_dummy_components(self):
20
- torch.manual_seed(0)
21
- text_encoder = T5EncoderModel.from_pretrained("hf-internal-testing/tiny-random-t5")
22
-
23
- torch.manual_seed(0)
24
- tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-t5")
25
-
26
- torch.manual_seed(0)
27
- unet = UNet2DConditionModel(
28
- sample_size=32,
29
- layers_per_block=1,
30
- block_out_channels=[32, 64],
31
- down_block_types=[
32
- "ResnetDownsampleBlock2D",
33
- "SimpleCrossAttnDownBlock2D",
34
- ],
35
- mid_block_type="UNetMidBlock2DSimpleCrossAttn",
36
- up_block_types=["SimpleCrossAttnUpBlock2D", "ResnetUpsampleBlock2D"],
37
- in_channels=3,
38
- out_channels=6,
39
- cross_attention_dim=32,
40
- encoder_hid_dim=32,
41
- attention_head_dim=8,
42
- addition_embed_type="text",
43
- addition_embed_type_num_heads=2,
44
- cross_attention_norm="group_norm",
45
- resnet_time_scale_shift="scale_shift",
46
- act_fn="gelu",
47
- )
48
- unet.set_attn_processor(AttnAddedKVProcessor()) # For reproducibility tests
49
-
50
- torch.manual_seed(0)
51
- scheduler = DDPMScheduler(
52
- num_train_timesteps=1000,
53
- beta_schedule="squaredcos_cap_v2",
54
- beta_start=0.0001,
55
- beta_end=0.02,
56
- thresholding=True,
57
- dynamic_thresholding_ratio=0.95,
58
- sample_max_value=1.0,
59
- prediction_type="epsilon",
60
- variance_type="learned_range",
61
- )
62
-
63
- torch.manual_seed(0)
64
- watermarker = IFWatermarker()
65
-
66
- return {
67
- "text_encoder": text_encoder,
68
- "tokenizer": tokenizer,
69
- "unet": unet,
70
- "scheduler": scheduler,
71
- "watermarker": watermarker,
72
- "safety_checker": None,
73
- "feature_extractor": None,
74
- }
75
-
76
- def _get_superresolution_dummy_components(self):
77
- torch.manual_seed(0)
78
- text_encoder = T5EncoderModel.from_pretrained("hf-internal-testing/tiny-random-t5")
79
-
80
- torch.manual_seed(0)
81
- tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-t5")
82
-
83
- torch.manual_seed(0)
84
- unet = UNet2DConditionModel(
85
- sample_size=32,
86
- layers_per_block=[1, 2],
87
- block_out_channels=[32, 64],
88
- down_block_types=[
89
- "ResnetDownsampleBlock2D",
90
- "SimpleCrossAttnDownBlock2D",
91
- ],
92
- mid_block_type="UNetMidBlock2DSimpleCrossAttn",
93
- up_block_types=["SimpleCrossAttnUpBlock2D", "ResnetUpsampleBlock2D"],
94
- in_channels=6,
95
- out_channels=6,
96
- cross_attention_dim=32,
97
- encoder_hid_dim=32,
98
- attention_head_dim=8,
99
- addition_embed_type="text",
100
- addition_embed_type_num_heads=2,
101
- cross_attention_norm="group_norm",
102
- resnet_time_scale_shift="scale_shift",
103
- act_fn="gelu",
104
- class_embed_type="timestep",
105
- mid_block_scale_factor=1.414,
106
- time_embedding_act_fn="gelu",
107
- time_embedding_dim=32,
108
- )
109
- unet.set_attn_processor(AttnAddedKVProcessor()) # For reproducibility tests
110
-
111
- torch.manual_seed(0)
112
- scheduler = DDPMScheduler(
113
- num_train_timesteps=1000,
114
- beta_schedule="squaredcos_cap_v2",
115
- beta_start=0.0001,
116
- beta_end=0.02,
117
- thresholding=True,
118
- dynamic_thresholding_ratio=0.95,
119
- sample_max_value=1.0,
120
- prediction_type="epsilon",
121
- variance_type="learned_range",
122
- )
123
-
124
- torch.manual_seed(0)
125
- image_noising_scheduler = DDPMScheduler(
126
- num_train_timesteps=1000,
127
- beta_schedule="squaredcos_cap_v2",
128
- beta_start=0.0001,
129
- beta_end=0.02,
130
- )
131
-
132
- torch.manual_seed(0)
133
- watermarker = IFWatermarker()
134
-
135
- return {
136
- "text_encoder": text_encoder,
137
- "tokenizer": tokenizer,
138
- "unet": unet,
139
- "scheduler": scheduler,
140
- "image_noising_scheduler": image_noising_scheduler,
141
- "watermarker": watermarker,
142
- "safety_checker": None,
143
- "feature_extractor": None,
144
- }
145
-
146
- # this test is modified from the base class because if pipelines set the text encoder
147
- # as optional with the intention that the user is allowed to encode the prompt once
148
- # and then pass the embeddings directly to the pipeline. The base class test uses
149
- # the unmodified arguments from `self.get_dummy_inputs` which will pass the unencoded
150
- # prompt to the pipeline when the text encoder is set to None, throwing an error.
151
- # So we make the test reflect the intended usage of setting the text encoder to None.
152
- def _test_save_load_optional_components(self):
153
- components = self.get_dummy_components()
154
- pipe = self.pipeline_class(**components)
155
- pipe.to(torch_device)
156
- pipe.set_progress_bar_config(disable=None)
157
-
158
- inputs = self.get_dummy_inputs(torch_device)
159
-
160
- prompt = inputs["prompt"]
161
- generator = inputs["generator"]
162
- num_inference_steps = inputs["num_inference_steps"]
163
- output_type = inputs["output_type"]
164
-
165
- if "image" in inputs:
166
- image = inputs["image"]
167
- else:
168
- image = None
169
-
170
- if "mask_image" in inputs:
171
- mask_image = inputs["mask_image"]
172
- else:
173
- mask_image = None
174
-
175
- if "original_image" in inputs:
176
- original_image = inputs["original_image"]
177
- else:
178
- original_image = None
179
-
180
- prompt_embeds, negative_prompt_embeds = pipe.encode_prompt(prompt)
181
-
182
- # inputs with prompt converted to embeddings
183
- inputs = {
184
- "prompt_embeds": prompt_embeds,
185
- "negative_prompt_embeds": negative_prompt_embeds,
186
- "generator": generator,
187
- "num_inference_steps": num_inference_steps,
188
- "output_type": output_type,
189
- }
190
-
191
- if image is not None:
192
- inputs["image"] = image
193
-
194
- if mask_image is not None:
195
- inputs["mask_image"] = mask_image
196
-
197
- if original_image is not None:
198
- inputs["original_image"] = original_image
199
-
200
- # set all optional components to None
201
- for optional_component in pipe._optional_components:
202
- setattr(pipe, optional_component, None)
203
-
204
- output = pipe(**inputs)[0]
205
-
206
- with tempfile.TemporaryDirectory() as tmpdir:
207
- pipe.save_pretrained(tmpdir)
208
- pipe_loaded = self.pipeline_class.from_pretrained(tmpdir)
209
- pipe_loaded.to(torch_device)
210
- pipe_loaded.set_progress_bar_config(disable=None)
211
-
212
- pipe_loaded.unet.set_attn_processor(AttnAddedKVProcessor()) # For reproducibility tests
213
-
214
- for optional_component in pipe._optional_components:
215
- self.assertTrue(
216
- getattr(pipe_loaded, optional_component) is None,
217
- f"`{optional_component}` did not stay set to None after loading.",
218
- )
219
-
220
- inputs = self.get_dummy_inputs(torch_device)
221
-
222
- generator = inputs["generator"]
223
- num_inference_steps = inputs["num_inference_steps"]
224
- output_type = inputs["output_type"]
225
-
226
- # inputs with prompt converted to embeddings
227
- inputs = {
228
- "prompt_embeds": prompt_embeds,
229
- "negative_prompt_embeds": negative_prompt_embeds,
230
- "generator": generator,
231
- "num_inference_steps": num_inference_steps,
232
- "output_type": output_type,
233
- }
234
-
235
- if image is not None:
236
- inputs["image"] = image
237
-
238
- if mask_image is not None:
239
- inputs["mask_image"] = mask_image
240
-
241
- if original_image is not None:
242
- inputs["original_image"] = original_image
243
-
244
- output_loaded = pipe_loaded(**inputs)[0]
245
-
246
- max_diff = np.abs(to_np(output) - to_np(output_loaded)).max()
247
- self.assertLess(max_diff, 1e-4)
248
-
249
- # Modified from `PipelineTesterMixin` to set the attn processor as it's not serialized.
250
- # This should be handled in the base test and then this method can be removed.
251
- def _test_save_load_local(self):
252
- components = self.get_dummy_components()
253
- pipe = self.pipeline_class(**components)
254
- pipe.to(torch_device)
255
- pipe.set_progress_bar_config(disable=None)
256
-
257
- inputs = self.get_dummy_inputs(torch_device)
258
- output = pipe(**inputs)[0]
259
-
260
- with tempfile.TemporaryDirectory() as tmpdir:
261
- pipe.save_pretrained(tmpdir)
262
- pipe_loaded = self.pipeline_class.from_pretrained(tmpdir)
263
- pipe_loaded.to(torch_device)
264
- pipe_loaded.set_progress_bar_config(disable=None)
265
-
266
- pipe_loaded.unet.set_attn_processor(AttnAddedKVProcessor()) # For reproducibility tests
267
-
268
- inputs = self.get_dummy_inputs(torch_device)
269
- output_loaded = pipe_loaded(**inputs)[0]
270
-
271
- max_diff = np.abs(to_np(output) - to_np(output_loaded)).max()
272
- self.assertLess(max_diff, 1e-4)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_detection/configs/faster_rcnn/faster_rcnn_r50_caffe_dc5_1x_coco.py DELETED
@@ -1,37 +0,0 @@
1
- _base_ = [
2
- '../_base_/models/faster_rcnn_r50_caffe_dc5.py',
3
- '../_base_/datasets/coco_detection.py',
4
- '../_base_/schedules/schedule_1x.py', '../_base_/default_runtime.py'
5
- ]
6
- # use caffe img_norm
7
- img_norm_cfg = dict(
8
- mean=[103.530, 116.280, 123.675], std=[1.0, 1.0, 1.0], to_rgb=False)
9
- train_pipeline = [
10
- dict(type='LoadImageFromFile'),
11
- dict(type='LoadAnnotations', with_bbox=True),
12
- dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
13
- dict(type='RandomFlip', flip_ratio=0.5),
14
- dict(type='Normalize', **img_norm_cfg),
15
- dict(type='Pad', size_divisor=32),
16
- dict(type='DefaultFormatBundle'),
17
- dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels']),
18
- ]
19
- test_pipeline = [
20
- dict(type='LoadImageFromFile'),
21
- dict(
22
- type='MultiScaleFlipAug',
23
- img_scale=(1333, 800),
24
- flip=False,
25
- transforms=[
26
- dict(type='Resize', keep_ratio=True),
27
- dict(type='RandomFlip'),
28
- dict(type='Normalize', **img_norm_cfg),
29
- dict(type='Pad', size_divisor=32),
30
- dict(type='ImageToTensor', keys=['img']),
31
- dict(type='Collect', keys=['img']),
32
- ])
33
- ]
34
- data = dict(
35
- train=dict(pipeline=train_pipeline),
36
- val=dict(pipeline=test_pipeline),
37
- test=dict(pipeline=test_pipeline))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_segmentation/configs/_base_/models/ccnet_r50-d8.py DELETED
@@ -1,44 +0,0 @@
1
- # model settings
2
- norm_cfg = dict(type='SyncBN', requires_grad=True)
3
- model = dict(
4
- type='EncoderDecoder',
5
- pretrained='open-mmlab://resnet50_v1c',
6
- backbone=dict(
7
- type='ResNetV1c',
8
- depth=50,
9
- num_stages=4,
10
- out_indices=(0, 1, 2, 3),
11
- dilations=(1, 1, 2, 4),
12
- strides=(1, 2, 1, 1),
13
- norm_cfg=norm_cfg,
14
- norm_eval=False,
15
- style='pytorch',
16
- contract_dilation=True),
17
- decode_head=dict(
18
- type='CCHead',
19
- in_channels=2048,
20
- in_index=3,
21
- channels=512,
22
- recurrence=2,
23
- dropout_ratio=0.1,
24
- num_classes=19,
25
- norm_cfg=norm_cfg,
26
- align_corners=False,
27
- loss_decode=dict(
28
- type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)),
29
- auxiliary_head=dict(
30
- type='FCNHead',
31
- in_channels=1024,
32
- in_index=2,
33
- channels=256,
34
- num_convs=1,
35
- concat_input=False,
36
- dropout_ratio=0.1,
37
- num_classes=19,
38
- norm_cfg=norm_cfg,
39
- align_corners=False,
40
- loss_decode=dict(
41
- type='CrossEntropyLoss', use_sigmoid=False, loss_weight=0.4)),
42
- # model training and testing settings
43
- train_cfg=dict(),
44
- test_cfg=dict(mode='whole'))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/silero_tts/script.py DELETED
@@ -1,254 +0,0 @@
1
- import html
2
- import random
3
- import time
4
- from pathlib import Path
5
-
6
- import gradio as gr
7
- import torch
8
-
9
- from extensions.silero_tts import tts_preprocessor
10
- from modules import chat, shared, ui_chat
11
- from modules.utils import gradio
12
-
13
- torch._C._jit_set_profiling_mode(False)
14
-
15
-
16
- params = {
17
- 'activate': True,
18
- 'speaker': 'en_56',
19
- 'language': 'en',
20
- 'model_id': 'v3_en',
21
- 'sample_rate': 48000,
22
- 'device': 'cpu',
23
- 'show_text': False,
24
- 'autoplay': True,
25
- 'voice_pitch': 'medium',
26
- 'voice_speed': 'medium',
27
- 'local_cache_path': '' # User can override the default cache path to something other via settings.json
28
- }
29
-
30
- current_params = params.copy()
31
-
32
- voices_en = ['en_99', 'en_45', 'en_18', 'en_117', 'en_49', 'en_51', 'en_68', 'en_0', 'en_26', 'en_56', 'en_74', 'en_5', 'en_38', 'en_53', 'en_21', 'en_37', 'en_107', 'en_10', 'en_82', 'en_16', 'en_41', 'en_12', 'en_67', 'en_61', 'en_14', 'en_11', 'en_39', 'en_52', 'en_24', 'en_97', 'en_28', 'en_72', 'en_94', 'en_36', 'en_4', 'en_43', 'en_88', 'en_25', 'en_65', 'en_6', 'en_44', 'en_75', 'en_91', 'en_60', 'en_109', 'en_85', 'en_101', 'en_108', 'en_50', 'en_96', 'en_64', 'en_92', 'en_76', 'en_33', 'en_116', 'en_48', 'en_98', 'en_86', 'en_62', 'en_54', 'en_95', 'en_55', 'en_111', 'en_3', 'en_83', 'en_8', 'en_47', 'en_59', 'en_1', 'en_2', 'en_7', 'en_9', 'en_13', 'en_15', 'en_17', 'en_19', 'en_20', 'en_22', 'en_23', 'en_27', 'en_29', 'en_30', 'en_31', 'en_32', 'en_34', 'en_35', 'en_40', 'en_42', 'en_46', 'en_57', 'en_58', 'en_63', 'en_66', 'en_69', 'en_70', 'en_71', 'en_73', 'en_77', 'en_78', 'en_79', 'en_80', 'en_81', 'en_84', 'en_87', 'en_89', 'en_90', 'en_93', 'en_100', 'en_102', 'en_103', 'en_104', 'en_105', 'en_106', 'en_110', 'en_112', 'en_113', 'en_114', 'en_115']
33
- voices_es = ["es_0", "es_1", "es_2"]
34
- voices_fr = ["fr_0", "fr_1", "fr_2", "fr_3", "fr_4", "fr_5"]
35
- voices_de = ["bernd_ungerer", "eva_k", "friedrich", "hokuspokus", "karlsson"]
36
- voices_ru = ["aidar", "baya", "kseniya", "xenia"]
37
- voices_ua = ["mykyta"]
38
- voices_uz = ["dilnavoz"]
39
-
40
- languages = {
41
- "en": {"label": "English", "voices": voices_en, "default_voice": "en_56", "model_id": "v3_en"},
42
- "es": {"label": "Español", "voices": voices_es, "default_voice": "es_0", "model_id": "v3_es"},
43
- "fr": {"label": "Français", "voices": voices_fr, "default_voice": "fr_0", "model_id": "v3_fr"},
44
- "de": {"label": "Deutsch", "voices": voices_de, "default_voice": "eva_k", "model_id": "v3_de"},
45
- "ru": {"label": "русский", "voices": voices_ru, "default_voice": "aidar", "model_id": "ru_v3"},
46
- "ua": {"label": "українська", "voices": voices_ua, "default_voice": "mykyta", "model_id": "v3_ua"},
47
- "uz": {"label": "Oʻzbekcha", "voices": voices_uz, "default_voice": "dilnavoz", "model_id": "v3_uz"},
48
- }
49
-
50
- voice_pitches = ['x-low', 'low', 'medium', 'high', 'x-high']
51
- voice_speeds = ['x-slow', 'slow', 'medium', 'fast', 'x-fast']
52
-
53
- # Used for making text xml compatible, needed for voice pitch and speed control
54
- table = str.maketrans({
55
- "<": "&lt;",
56
- ">": "&gt;",
57
- "&": "&amp;",
58
- "'": "&apos;",
59
- '"': "&quot;",
60
- })
61
-
62
-
63
- def xmlesc(txt):
64
- return txt.translate(table)
65
-
66
-
67
- def load_model():
68
- torch_cache_path = torch.hub.get_dir() if params['local_cache_path'] == '' else params['local_cache_path']
69
- model_path = torch_cache_path + "/snakers4_silero-models_master/src/silero/model/" + params['model_id'] + ".pt"
70
- if Path(model_path).is_file():
71
- print(f'\nUsing Silero TTS cached checkpoint found at {torch_cache_path}')
72
- model, example_text = torch.hub.load(repo_or_dir=torch_cache_path + '/snakers4_silero-models_master/', model='silero_tts', language=params['language'], speaker=params['model_id'], source='local', path=model_path, force_reload=True)
73
- else:
74
- print(f'\nSilero TTS cache not found at {torch_cache_path}. Attempting to download...')
75
- model, example_text = torch.hub.load(repo_or_dir='snakers4/silero-models', model='silero_tts', language=params['language'], speaker=params['model_id'])
76
- model.to(params['device'])
77
- return model
78
-
79
-
80
- def remove_tts_from_history(history):
81
- for i, entry in enumerate(history['internal']):
82
- history['visible'][i] = [history['visible'][i][0], entry[1]]
83
-
84
- return history
85
-
86
-
87
- def toggle_text_in_history(history):
88
- for i, entry in enumerate(history['visible']):
89
- visible_reply = entry[1]
90
- if visible_reply.startswith('<audio'):
91
- if params['show_text']:
92
- reply = history['internal'][i][1]
93
- history['visible'][i] = [history['visible'][i][0], f"{visible_reply.split('</audio>')[0]}</audio>\n\n{reply}"]
94
- else:
95
- history['visible'][i] = [history['visible'][i][0], f"{visible_reply.split('</audio>')[0]}</audio>"]
96
-
97
- return history
98
-
99
-
100
- def state_modifier(state):
101
- if not params['activate']:
102
- return state
103
-
104
- state['stream'] = False
105
- return state
106
-
107
-
108
- def input_modifier(string, state):
109
- if not params['activate']:
110
- return string
111
-
112
- shared.processing_message = "*Is recording a voice message...*"
113
- return string
114
-
115
-
116
- def history_modifier(history):
117
- # Remove autoplay from the last reply
118
- if len(history['internal']) > 0:
119
- history['visible'][-1] = [
120
- history['visible'][-1][0],
121
- history['visible'][-1][1].replace('controls autoplay>', 'controls>')
122
- ]
123
-
124
- return history
125
-
126
-
127
- def output_modifier(string, state):
128
- global model, current_params, streaming_state
129
-
130
- for i in params:
131
- if params[i] != current_params[i]:
132
- model = load_model()
133
- current_params = params.copy()
134
- break
135
-
136
- if not params['activate']:
137
- return string
138
-
139
- original_string = string
140
- string = tts_preprocessor.preprocess(html.unescape(string))
141
-
142
- if string == '':
143
- string = '*Empty reply, try regenerating*'
144
- else:
145
- output_file = Path(f'extensions/silero_tts/outputs/{state["character_menu"]}_{int(time.time())}.wav')
146
- prosody = '<prosody rate="{}" pitch="{}">'.format(params['voice_speed'], params['voice_pitch'])
147
- silero_input = f'<speak>{prosody}{xmlesc(string)}</prosody></speak>'
148
- model.save_wav(ssml_text=silero_input, speaker=params['speaker'], sample_rate=int(params['sample_rate']), audio_path=str(output_file))
149
-
150
- autoplay = 'autoplay' if params['autoplay'] else ''
151
- string = f'<audio src="file/{output_file.as_posix()}" controls {autoplay}></audio>'
152
- if params['show_text']:
153
- string += f'\n\n{original_string}'
154
-
155
- shared.processing_message = "*Is typing...*"
156
- return string
157
-
158
-
159
- def setup():
160
- global model
161
- model = load_model()
162
-
163
-
164
- def random_sentence():
165
- with open(Path("extensions/silero_tts/harvard_sentences.txt")) as f:
166
- return random.choice(list(f))
167
-
168
-
169
- def voice_preview(preview_text):
170
- global model, current_params, streaming_state
171
-
172
- for i in params:
173
- if params[i] != current_params[i]:
174
- model = load_model()
175
- current_params = params.copy()
176
- break
177
-
178
- string = tts_preprocessor.preprocess(preview_text or random_sentence())
179
-
180
- output_file = Path('extensions/silero_tts/outputs/voice_preview.wav')
181
- prosody = f"<prosody rate=\"{params['voice_speed']}\" pitch=\"{params['voice_pitch']}\">"
182
- silero_input = f'<speak>{prosody}{xmlesc(string)}</prosody></speak>'
183
- model.save_wav(ssml_text=silero_input, speaker=params['speaker'], sample_rate=int(params['sample_rate']), audio_path=str(output_file))
184
-
185
- return f'<audio src="file/{output_file.as_posix()}?{int(time.time())}" controls autoplay></audio>'
186
-
187
-
188
- def language_change(lang):
189
- global params
190
- lang_code = list(languages.keys())[lang]
191
- params.update({"language": lang_code, "speaker": languages[lang_code]["default_voice"], "model_id": languages[lang_code]["model_id"]})
192
- return gr.update(choices=languages[lang_code]["voices"], value=languages[lang_code]["default_voice"])
193
-
194
-
195
- def custom_css():
196
- path_to_css = Path(__file__).parent.resolve() / 'style.css'
197
- return open(path_to_css, 'r').read()
198
-
199
-
200
- def ui():
201
- # Gradio elements
202
- with gr.Accordion("Silero TTS"):
203
- with gr.Row():
204
- activate = gr.Checkbox(value=params['activate'], label='Activate TTS')
205
- autoplay = gr.Checkbox(value=params['autoplay'], label='Play TTS automatically')
206
-
207
- show_text = gr.Checkbox(value=params['show_text'], label='Show message text under audio player')
208
-
209
- with gr.Row():
210
- language = gr.Dropdown(value=languages[params['language']]["label"], choices=[v["label"] for _, v in languages.items()], label='Language', type="index")
211
- voice = gr.Dropdown(value=params['speaker'], choices=voices_en, label='TTS voice')
212
- with gr.Row():
213
- v_pitch = gr.Dropdown(value=params['voice_pitch'], choices=voice_pitches, label='Voice pitch')
214
- v_speed = gr.Dropdown(value=params['voice_speed'], choices=voice_speeds, label='Voice speed')
215
-
216
- with gr.Row():
217
- preview_text = gr.Text(show_label=False, placeholder="Preview text", elem_id="silero_preview_text")
218
- preview_play = gr.Button("Preview")
219
- preview_audio = gr.HTML(visible=False)
220
-
221
- with gr.Row():
222
- convert = gr.Button('Permanently replace audios with the message texts')
223
- convert_cancel = gr.Button('Cancel', visible=False)
224
- convert_confirm = gr.Button('Confirm (cannot be undone)', variant="stop", visible=False)
225
-
226
- # Convert history with confirmation
227
- convert_arr = [convert_confirm, convert, convert_cancel]
228
- convert.click(lambda: [gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)], None, convert_arr)
229
- convert_confirm.click(
230
- lambda: [gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)], None, convert_arr).then(
231
- remove_tts_from_history, gradio('history'), gradio('history')).then(
232
- chat.save_history, gradio('history', 'unique_id', 'character_menu', 'mode'), None).then(
233
- chat.redraw_html, gradio(ui_chat.reload_arr), gradio('display'))
234
-
235
- convert_cancel.click(lambda: [gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)], None, convert_arr)
236
-
237
- # Toggle message text in history
238
- show_text.change(
239
- lambda x: params.update({"show_text": x}), show_text, None).then(
240
- toggle_text_in_history, gradio('history'), gradio('history')).then(
241
- chat.save_history, gradio('history', 'unique_id', 'character_menu', 'mode'), None).then(
242
- chat.redraw_html, gradio(ui_chat.reload_arr), gradio('display'))
243
-
244
- # Event functions to update the parameters in the backend
245
- activate.change(lambda x: params.update({"activate": x}), activate, None)
246
- autoplay.change(lambda x: params.update({"autoplay": x}), autoplay, None)
247
- language.change(language_change, language, voice, show_progress=False)
248
- voice.change(lambda x: params.update({"speaker": x}), voice, None)
249
- v_pitch.change(lambda x: params.update({"voice_pitch": x}), v_pitch, None)
250
- v_speed.change(lambda x: params.update({"voice_speed": x}), v_speed, None)
251
-
252
- # Play preview
253
- preview_text.submit(voice_preview, preview_text, preview_audio)
254
- preview_play.click(voice_preview, preview_text, preview_audio)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ariharasudhan/YoloV5/utils/loggers/wandb/__init__.py DELETED
File without changes
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/rich/progress_bar.py DELETED
@@ -1,224 +0,0 @@
1
- import math
2
- from functools import lru_cache
3
- from time import monotonic
4
- from typing import Iterable, List, Optional
5
-
6
- from .color import Color, blend_rgb
7
- from .color_triplet import ColorTriplet
8
- from .console import Console, ConsoleOptions, RenderResult
9
- from .jupyter import JupyterMixin
10
- from .measure import Measurement
11
- from .segment import Segment
12
- from .style import Style, StyleType
13
-
14
- # Number of characters before 'pulse' animation repeats
15
- PULSE_SIZE = 20
16
-
17
-
18
- class ProgressBar(JupyterMixin):
19
- """Renders a (progress) bar. Used by rich.progress.
20
-
21
- Args:
22
- total (float, optional): Number of steps in the bar. Defaults to 100. Set to None to render a pulsing animation.
23
- completed (float, optional): Number of steps completed. Defaults to 0.
24
- width (int, optional): Width of the bar, or ``None`` for maximum width. Defaults to None.
25
- pulse (bool, optional): Enable pulse effect. Defaults to False. Will pulse if a None total was passed.
26
- style (StyleType, optional): Style for the bar background. Defaults to "bar.back".
27
- complete_style (StyleType, optional): Style for the completed bar. Defaults to "bar.complete".
28
- finished_style (StyleType, optional): Style for a finished bar. Defaults to "bar.finished".
29
- pulse_style (StyleType, optional): Style for pulsing bars. Defaults to "bar.pulse".
30
- animation_time (Optional[float], optional): Time in seconds to use for animation, or None to use system time.
31
- """
32
-
33
- def __init__(
34
- self,
35
- total: Optional[float] = 100.0,
36
- completed: float = 0,
37
- width: Optional[int] = None,
38
- pulse: bool = False,
39
- style: StyleType = "bar.back",
40
- complete_style: StyleType = "bar.complete",
41
- finished_style: StyleType = "bar.finished",
42
- pulse_style: StyleType = "bar.pulse",
43
- animation_time: Optional[float] = None,
44
- ):
45
- self.total = total
46
- self.completed = completed
47
- self.width = width
48
- self.pulse = pulse
49
- self.style = style
50
- self.complete_style = complete_style
51
- self.finished_style = finished_style
52
- self.pulse_style = pulse_style
53
- self.animation_time = animation_time
54
-
55
- self._pulse_segments: Optional[List[Segment]] = None
56
-
57
- def __repr__(self) -> str:
58
- return f"<Bar {self.completed!r} of {self.total!r}>"
59
-
60
- @property
61
- def percentage_completed(self) -> Optional[float]:
62
- """Calculate percentage complete."""
63
- if self.total is None:
64
- return None
65
- completed = (self.completed / self.total) * 100.0
66
- completed = min(100, max(0.0, completed))
67
- return completed
68
-
69
- @lru_cache(maxsize=16)
70
- def _get_pulse_segments(
71
- self,
72
- fore_style: Style,
73
- back_style: Style,
74
- color_system: str,
75
- no_color: bool,
76
- ascii: bool = False,
77
- ) -> List[Segment]:
78
- """Get a list of segments to render a pulse animation.
79
-
80
- Returns:
81
- List[Segment]: A list of segments, one segment per character.
82
- """
83
- bar = "-" if ascii else "━"
84
- segments: List[Segment] = []
85
- if color_system not in ("standard", "eight_bit", "truecolor") or no_color:
86
- segments += [Segment(bar, fore_style)] * (PULSE_SIZE // 2)
87
- segments += [Segment(" " if no_color else bar, back_style)] * (
88
- PULSE_SIZE - (PULSE_SIZE // 2)
89
- )
90
- return segments
91
-
92
- append = segments.append
93
- fore_color = (
94
- fore_style.color.get_truecolor()
95
- if fore_style.color
96
- else ColorTriplet(255, 0, 255)
97
- )
98
- back_color = (
99
- back_style.color.get_truecolor()
100
- if back_style.color
101
- else ColorTriplet(0, 0, 0)
102
- )
103
- cos = math.cos
104
- pi = math.pi
105
- _Segment = Segment
106
- _Style = Style
107
- from_triplet = Color.from_triplet
108
-
109
- for index in range(PULSE_SIZE):
110
- position = index / PULSE_SIZE
111
- fade = 0.5 + cos((position * pi * 2)) / 2.0
112
- color = blend_rgb(fore_color, back_color, cross_fade=fade)
113
- append(_Segment(bar, _Style(color=from_triplet(color))))
114
- return segments
115
-
116
- def update(self, completed: float, total: Optional[float] = None) -> None:
117
- """Update progress with new values.
118
-
119
- Args:
120
- completed (float): Number of steps completed.
121
- total (float, optional): Total number of steps, or ``None`` to not change. Defaults to None.
122
- """
123
- self.completed = completed
124
- self.total = total if total is not None else self.total
125
-
126
- def _render_pulse(
127
- self, console: Console, width: int, ascii: bool = False
128
- ) -> Iterable[Segment]:
129
- """Renders the pulse animation.
130
-
131
- Args:
132
- console (Console): Console instance.
133
- width (int): Width in characters of pulse animation.
134
-
135
- Returns:
136
- RenderResult: [description]
137
-
138
- Yields:
139
- Iterator[Segment]: Segments to render pulse
140
- """
141
- fore_style = console.get_style(self.pulse_style, default="white")
142
- back_style = console.get_style(self.style, default="black")
143
-
144
- pulse_segments = self._get_pulse_segments(
145
- fore_style, back_style, console.color_system, console.no_color, ascii=ascii
146
- )
147
- segment_count = len(pulse_segments)
148
- current_time = (
149
- monotonic() if self.animation_time is None else self.animation_time
150
- )
151
- segments = pulse_segments * (int(width / segment_count) + 2)
152
- offset = int(-current_time * 15) % segment_count
153
- segments = segments[offset : offset + width]
154
- yield from segments
155
-
156
- def __rich_console__(
157
- self, console: Console, options: ConsoleOptions
158
- ) -> RenderResult:
159
-
160
- width = min(self.width or options.max_width, options.max_width)
161
- ascii = options.legacy_windows or options.ascii_only
162
- should_pulse = self.pulse or self.total is None
163
- if should_pulse:
164
- yield from self._render_pulse(console, width, ascii=ascii)
165
- return
166
-
167
- completed: Optional[float] = (
168
- min(self.total, max(0, self.completed)) if self.total is not None else None
169
- )
170
-
171
- bar = "-" if ascii else "━"
172
- half_bar_right = " " if ascii else "╸"
173
- half_bar_left = " " if ascii else "╺"
174
- complete_halves = (
175
- int(width * 2 * completed / self.total)
176
- if self.total and completed is not None
177
- else width * 2
178
- )
179
- bar_count = complete_halves // 2
180
- half_bar_count = complete_halves % 2
181
- style = console.get_style(self.style)
182
- is_finished = self.total is None or self.completed >= self.total
183
- complete_style = console.get_style(
184
- self.finished_style if is_finished else self.complete_style
185
- )
186
- _Segment = Segment
187
- if bar_count:
188
- yield _Segment(bar * bar_count, complete_style)
189
- if half_bar_count:
190
- yield _Segment(half_bar_right * half_bar_count, complete_style)
191
-
192
- if not console.no_color:
193
- remaining_bars = width - bar_count - half_bar_count
194
- if remaining_bars and console.color_system is not None:
195
- if not half_bar_count and bar_count:
196
- yield _Segment(half_bar_left, style)
197
- remaining_bars -= 1
198
- if remaining_bars:
199
- yield _Segment(bar * remaining_bars, style)
200
-
201
- def __rich_measure__(
202
- self, console: Console, options: ConsoleOptions
203
- ) -> Measurement:
204
- return (
205
- Measurement(self.width, self.width)
206
- if self.width is not None
207
- else Measurement(4, options.max_width)
208
- )
209
-
210
-
211
- if __name__ == "__main__": # pragma: no cover
212
- console = Console()
213
- bar = ProgressBar(width=50, total=100)
214
-
215
- import time
216
-
217
- console.show_cursor(False)
218
- for n in range(0, 101, 1):
219
- bar.update(n)
220
- console.print(bar)
221
- console.file.write("\r")
222
- time.sleep(0.05)
223
- console.show_cursor(True)
224
- console.print()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Banbri/zcvzcv/src/lib/computePercentage.ts DELETED
@@ -1,4 +0,0 @@
1
- export function computePercentage(input: string | number) {
2
- // TODO something
3
- return 0
4
- }
 
 
 
 
 
spaces/Basil2k4/VPSnguyenmanh/src/startup/version_sticker.sh DELETED
@@ -1,39 +0,0 @@
1
- #!/bin/bash
2
- ### @accetto, September 2019
3
-
4
- ubuntu=$("${STARTUPDIR}/version_of.sh" ubuntu)
5
- chromium=$("${STARTUPDIR}/version_of.sh" chromium)
6
-
7
- case "$1" in
8
- -v)
9
- echo "Ubuntu $ubuntu"
10
- echo "Chromium $chromium"
11
- ;;
12
- -V)
13
- mousepad=$("${STARTUPDIR}/version_of.sh" mousepad)
14
- vim=$("${STARTUPDIR}/version_of.sh" vim)
15
- nano=$("${STARTUPDIR}/version_of.sh" nano)
16
- tigervnc=$("${STARTUPDIR}/version_of.sh" tigervnc)
17
- novnc=$("${STARTUPDIR}/version_of.sh" novnc)
18
- websockify=$("${STARTUPDIR}/version_of.sh" websockify)
19
- curl=$("${STARTUPDIR}/version_of.sh" curl)
20
- git=$("${STARTUPDIR}/version_of.sh" git)
21
- jq=$("${STARTUPDIR}/version_of.sh" jq)
22
- echo "Ubuntu $ubuntu"
23
- echo "Mousepad $mousepad"
24
- echo "VIM $vim"
25
- echo "GNU nano $nano"
26
- echo "TigerVNC $tigervnc"
27
- echo "noVNC $novnc"
28
- echo "websockify $websockify"
29
- echo "curl $curl"
30
- echo "Git $git"
31
- echo "jq $jq"
32
- echo "Chromium $chromium"
33
- ;;
34
- *)
35
- ### example: ubuntu18.04.3-firefox_68.0.2
36
- sticker="ubuntu$ubuntu"-"chromium$chromium"
37
- echo "$sticker"
38
- ;;
39
- esac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/BatuhanYilmaz/Youtube-Transcriber/README.md DELETED
@@ -1,12 +0,0 @@
1
- ---
2
- title: Youtube Transcriber
3
- emoji: 📈
4
- colorFrom: blue
5
- colorTo: purple
6
- sdk: streamlit
7
- sdk_version: 1.10.0
8
- app_file: app.py
9
- pinned: false
10
- ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Airtel Smart Remote Apk Descargar.md DELETED
@@ -1,99 +0,0 @@
1
- <br />
2
- <h1>Airtel Smart Remote APK Descargar: Cómo utilizar el teléfono como un control remoto para Airtel Internet TV</h1>
3
- <p>¿Quieres controlar tu decodificador de TV por Internet Airtel con tu teléfono? ¿Quieres usar tu teléfono como un control remoto inteligente, un gamepad o una función de compartir en la televisión? Si es así, entonces usted necesita para descargar e instalar Airtel Smart Remote APK en su teléfono. Esta aplicación te permite usar tu teléfono como un control remoto inteligente para tu Airtel Internet TV. Puede cambiar los canales, ajustar el volumen, establecer favoritos, introducir texto, hacer clic y arrastrar la navegación, y mucho más. También puedes jugar en tu televisor usando tu teléfono como un gamepad. También puede emitir audio, video y fotos desde su teléfono a la pantalla del televisor para una experiencia de visualización mejorada. También puede explorar el mundo digital de Airtel con aplicaciones como Wynk Music, Airtel TV, Airtel Books y más. </p>
4
- <h2>airtel smart remote apk descargar</h2><br /><p><b><b>Download</b> &#10031; <a href="https://bltlly.com/2v6J1e">https://bltlly.com/2v6J1e</a></b></p><br /><br />
5
- <p>En este artículo, le diremos cómo descargar e instalar Airtel Smart Remote APK en su teléfono, cómo conectarlo a su TV, cómo usarlo como control remoto, un gamepad, o una función de compartir en TV, ¿cuáles son los beneficios y limitaciones de usar Airtel Smart Remote, y cuáles son las alternativas. Así que, empecemos. </p>
6
- <h2>¿Qué es Airtel Smart Remote APK? </h2>
7
- <p>Airtel Smart Remote APK es una aplicación que le permite utilizar el teléfono como un control remoto inteligente para su Airtel Internet TV set-top-box. Es desarrollado por Airtel Digital TV, una filial de Bharti Airtel, uno de los principales operadores de telecomunicaciones en la India. La aplicación es compatible con dispositivos Android con Android 4.4 o superior. La aplicación requiere conectividad Bluetooth y Wi-Fi para funcionar con el televisor. La aplicación tiene una interfaz fácil de usar y un diseño simple. Tiene varias funciones y características que lo convierten en una forma inteligente y conveniente de controlar su TV.</p>
8
- <h2> ¿Cómo descargar e instalar Airtel Smart Remote APK? </h2>
9
- <p>Descargar e instalar Airtel Smart Remote APK en su teléfono es muy fácil y rápido. Solo tiene que seguir estos pasos:</p>
10
- <ol>
11
-
12
- <li>Toque en el botón Instalar y espere a que la aplicación se descargue e instale en su teléfono. </li>
13
- <li>Una vez instalada la aplicación, ábrela y otorga los permisos necesarios para el acceso a Bluetooth y Wi-Fi. </li>
14
- <li>Ahora está listo para usar Airtel Smart Remote en su teléfono. </li>
15
- </ol>
16
- <h2>¿Cómo conectar Airtel Smart Remote a la TV? </h2>
17
- <p>Conectar Airtel Smart Remote a tu televisor también es muy fácil y rápido. Solo tienes que seguir estos pasos:</p>
18
- <ol>
19
- <li>Asegúrese de que su teléfono y su televisor están conectados a la misma red Wi-Fi. </li>
20
- <li>Activa el Bluetooth en tu teléfono y combínalo con tu TV. Puedes encontrar la opción Bluetooth en el menú Configuración de tu TV.</li>
21
- <li>Abra la aplicación Airtel Smart Remote en su teléfono y toque en el botón Conectar. </li>
22
- <li>La aplicación escaneará los dispositivos disponibles y le mostrará el nombre de su televisor. Toque en él para conectarse. </li>
23
- <li> Verá un mensaje de confirmación en la pantalla del televisor que dice "Conectado". </li>
24
- <li>Ahora está listo para usar Airtel Smart Remote como control remoto para su TV.</li>
25
- </ol>
26
- <h2>¿Cómo usar Airtel Smart Remote como control remoto? </h2>
27
- <p>Usar Airtel Smart Remote como control remoto para tu televisor es muy simple e intuitivo. Puede acceder a todas las funciones y características de la aplicación desde la pantalla principal de la aplicación. Estas son algunas de las cosas que puede hacer con Airtel Smart Remote como control remoto:</p>
28
- <ul>
29
- <li> Puede cambiar de canal deslizando hacia la izquierda o hacia la derecha en la pantalla o pulsando en el número o nombre del canal. </li>
30
- <li> Puede ajustar el volumen deslizando hacia arriba o hacia abajo en la pantalla o tocando el icono de volumen. </li>
31
- <li> Puede establecer favoritos pulsando largo en cualquier canal o pulsando en el icono de la estrella. </li>
32
- <li> Puede introducir texto tocando el icono del teclado o usando la entrada de voz. </li>
33
- <li> Puede hacer clic y arrastrar la navegación pulsando en el icono del panel táctil o mediante gestos. </li>
34
-
35
- </ul>
36
- <h2>¿Cómo usar Airtel Smart Remote como un gamepad? </h2>
37
- <p>Usar Airtel Smart Remote como un gamepad para tu TV también es muy simple y divertido. Puedes jugar juegos en tu TV usando tu teléfono como un gamepad. Estas son algunas de las cosas que puedes hacer con Airtel Smart Remote como gamepad:</p>
38
- <ul>
39
- <li>Puede acceder a los juegos tocando el icono del juego en la pantalla principal de la aplicación o yendo a la sección Juegos del menú de TV. </li>
40
- <li>Puedes elegir entre varios géneros de juegos como acción, aventura, árcade, rompecabezas, carreras, deportes, etc.</li>
41
- <li>Puedes usar el acelerómetro, el giroscopio, la pantalla táctil o los botones de tu teléfono para controlar el juego. </li>
42
- <li> Puede disfrutar de gráficos y efectos de sonido de alta calidad en la pantalla del televisor. </li>
43
- </ul>
44
- <h2>¿Cómo usar Airtel Smart Remote como recurso compartido en la función de TV? </h2>
45
- <p>Usar Airtel Smart Remote como recurso compartido en la función de TV para tu TV también es muy simple y conveniente. Puede emitir audio, video y fotos desde su teléfono a la pantalla del televisor para una experiencia de visualización mejorada. Estas son algunas de las cosas que puedes hacer con Airtel Smart Remote como parte de la función de TV:</p>
46
- <ul>
47
- <li>Puedes acceder a la función de compartir en TV tocando el icono de reparto en la pantalla principal de la aplicación o yendo a la sección Compartir en TV del menú de TV. </li>
48
- <li> Puede elegir entre varias fuentes de medios como galería, cámara, música, video, etc.</li>
49
- <li> Puede seleccionar los archivos que desea lanzar y toque en el botón de reproducción. </li>
50
- <li> Puede disfrutar de sus archivos multimedia en la pantalla del televisor con una resolución y un sonido de alta calidad. </li>
51
- </ul>
52
- <h2>¿Cómo explorar el mundo digital de Airtel con Airtel Smart Remote? </h2>
53
- <p>Usando Airtel Smart Remote, también puedes explorar el mundo digital de Airtel con varias aplicaciones y servicios a los que se puede acceder con tu TV. Estas son algunas de las cosas que puedes hacer con Airtel Smart Remote para explorar el mundo digital de Airtel:</p>
54
- <p></p>
55
- <ul>
56
-
57
- <li>Puede acceder a Airtel TV tocando el icono de TV en la pantalla principal de la aplicación o yendo a la sección de TV Airtel de su menú de TV. Puedes ver miles de películas, programas, series web, canales de TV en vivo y más desde varias plataformas como Netflix, Amazon Prime Video, Disney+ Hotstar, Zee5, SonyLIV, etc. También puedes disfrutar de contenido exclusivo de Airtel Originals y Airtel Spotlight.</li>
58
- <li>Puede acceder a Airtel Books tocando el icono del libro en la pantalla principal de la aplicación o yendo a la sección Airtel Books de su menú de TV. Puedes leer cientos de libros de varios géneros, autores, idiomas y categorías. También puede escuchar audiolibros y podcasts de varias fuentes. </li>
59
- <li>Puede acceder a otras aplicaciones y servicios como Airtel Payments Bank, Airtel Thanks, Airtel Xstream Fiber, etc. tocando el icono del menú en la pantalla principal de la aplicación o yendo a la sección Aplicaciones de su menú de TV. Puede administrar sus cuentas, pagar facturas, recargar, obtener recompensas y más con estas aplicaciones y servicios. </li>
60
- </ul>
61
- <h2>¿Cuáles son los beneficios de usar Airtel Smart Remote? </h2>
62
- <p>Usar Airtel Smart Remote tiene muchos beneficios sobre usar un control remoto físico para tu TV. Aquí están algunos de ellos:</p>
63
- <ul>
64
- <li> Puede utilizar su teléfono como un control remoto inteligente para su TV sin ningún tipo de molestia o costo adicional. </li>
65
- <li> Puede disfrutar de una experiencia fluida y fluida con conectividad Bluetooth y Wi-Fi. </li>
66
- <li> Puede acceder a todas las funciones y características de su televisor con un simple toque o deslizar el dedo en la pantalla del teléfono. </li>
67
- <li>Puedes jugar en tu televisor usando tu teléfono como un gamepad con sensores de movimiento y botones. </li>
68
- <li> Puede emitir audio, video y fotos desde su teléfono a su televisor para una mejor experiencia de visualización. </li>
69
- <li>Puede explorar el mundo digital de Airtel con varias aplicaciones y servicios a los que se puede acceder con su TV.</li>
70
- </ul>
71
- <h2>¿Cuáles son las limitaciones de usar Airtel Smart Remote? </h2>
72
-
73
- <ul>
74
- <li>Usted necesita tener un televisor con Internet modelo SH960S-AT de Airtel Digital TV para usar Airtel Smart Remote. No es compatible con ningún otro Android TV cajas o dispositivos. </li>
75
- <li>Necesitas tener una conexión Wi-Fi estable y un emparejamiento Bluetooth entre tu teléfono y tu TV para usar Airtel Smart Remote. Si hay alguna interrupción o interferencia en la conexión, puede enfrentar algún retraso o error en el uso de la aplicación. </li>
76
- <li>Necesitas tener suficiente duración de la batería y espacio de almacenamiento en tu teléfono para usar Airtel Smart Remote. Si el teléfono se queda sin batería o memoria, es posible que no pueda usar la aplicación correctamente. </li>
77
- </ul>
78
- <h2>¿Cuáles son las alternativas a Airtel Smart Remote? </h2>
79
- <p>Si no tiene un decodificador de Internet TV de Airtel Digital TV o si desea probar otras aplicaciones que se pueden usar como controles remotos para cajas o dispositivos de TV Android, aquí hay algunas alternativas a Airtel Smart Remote:</p>
80
- <ul>
81
- <li>Control remoto de Android TV: Esta es una aplicación oficial de Google que te permite usar tu teléfono como control remoto para dispositivos Android TV. Puedes descargarlo desde Google Play Store [11]( https://play.google.com/store/apps/detailss?id=id=com.google.android.tv.remote). Puede usarlo para navegar, reproducir, pausar, avanzar rápidamente, rebobinar y más. También puede usar la búsqueda por voz y la entrada del teclado. También puede usarlo como un gamepad con un D-pad y botones. </li>
82
- <li>CetusPlay: Esta es una aplicación de terceros que le permite utilizar el teléfono como un control remoto para dispositivos Android TV. Puede descargarlo desde Google Play Store [10](https://play.google.com/store/apps/detailss?id=com.cetusplay.remotephone). Puede usarlo para cambiar canales, ajustar el volumen, establecer favoritos, introducir texto y mucho más. También puede usarlo como mando con un panel táctil y botones. También puede usarlo para emitir archivos multimedia desde su teléfono a su TV.</li>
83
-
84
- </ul>
85
- <h2>Conclusión</h2>
86
- <p>Airtel Smart Remote APK es una gran aplicación que le permite utilizar el teléfono como un control remoto inteligente para su Airtel Internet TV set-top-box. Puedes descargarlo e instalarlo desde Google Play Store y conectarlo a tu televisor mediante Bluetooth y Wi-Fi. Puedes usarlo como un control remoto, un gamepad o una función de compartir en la televisión. También puede explorar el mundo digital de Airtel con varias aplicaciones y servicios a los que se puede acceder con su televisor. Airtel Smart Remote tiene muchos beneficios sobre el uso de un control remoto físico, pero también tiene algunas limitaciones y problemas de compatibilidad. Si no tiene un decodificador de TV por Internet de Airtel Digital TV o si desea probar algunas otras aplicaciones que se pueden usar como controles remotos para cajas o dispositivos de TV con Android, puede consultar algunas alternativas como Android TV Remote Control, CetusPlay, o AnyMote Universal Remote.</p>
87
- <p>Esperamos que este artículo le ha ayudado a entender cómo utilizar Airtel Smart Remote APK en su teléfono. Si tiene alguna pregunta o comentario, no dude en dejarlos en la sección de comentarios a continuación. ¡Gracias por leer! </p>
88
- <h2>Preguntas frecuentes</h2>
89
- <h3>¿Airtel Smart Remote es gratuito? </h3>
90
- <p>Sí, Airtel Smart Remote es gratis para descargar y usar. </p>
91
- <h3>¿Airtel Smart Remote es compatible con todas las cajas de TV Android? </h3>
92
- <p>No, Airtel Smart Remote solo es compatible con el decodificador de TV por Internet modelo SH960S-AT de Airtel Digital TV.</p>
93
- <h3>¿Airtel Smart Remote es seguro y seguro de usar? </h3>
94
- <p>Sí, Airtel Smart Remote es seguro y seguro de usar. No recopila ningún dato personal ni accede a ninguna información confidencial en su teléfono. </p>
95
- <h3>¿Cómo puedo contactar con atención al cliente de Airtel para cualquier problema con Airtel Smart Remote? </h3>
96
- <p>Puede ponerse en contacto con el servicio de atención al cliente de Airtel marcando 121 desde su número de móvil registrado o visitando [8](https://www.airtel.in/help/digital-tv) para obtener más información. </p>
97
- <h3>¿Cómo puedo actualizar Airtel Smart Remote a la última versión? </h3> 64aa2da5cf<br />
98
- <br />
99
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Android Download Instagram.md DELETED
@@ -1,159 +0,0 @@
1
- <br />
2
- <tabla>
3
- <tr>
4
- <td>
5
- <h1>Cómo descargar Instagram en Android</h1>
6
- <p>Instagram es una de las aplicaciones de redes sociales más populares del mundo. Te permite crear y compartir tus fotos, historias, carretes y videos con tus amigos y seguidores. También puedes explorar millones de contenido entretenido, divertido e informativo de otros usuarios de todo el mundo. </p>
7
- <p>Si usted tiene un dispositivo Android, es posible que se pregunte cómo descargar Instagram en su teléfono o tableta. En este artículo, te mostraremos cómo hacerlo en unos sencillos pasos. También te daremos algunos consejos y trucos para usar Instagram en Android.</p>
8
- <h2>android download instagram</h2><br /><p><b><b>Download File</b> ::: <a href="https://bltlly.com/2v6KXQ">https://bltlly.com/2v6KXQ</a></b></p><br /><br />
9
- </td>
10
- </tr>
11
- <tr>
12
- <td>
13
- <h2>¿Qué es Instagram? </h2>
14
- <p>Instagram es una aplicación gratuita que te permite expresarte a través de medios visuales. Puedes tomar fotos o videos con la cámara de tu dispositivo o subirlos desde tu galería. A continuación, puedes editarlos con filtros, pegatinas, emojis y otras herramientas creativas. También puedes añadir subtítulos, hashtags y etiquetas de ubicación a tus publicaciones. </p>
15
- <p>Puedes compartir tus posts con tus seguidores o hacerlos públicos para que todos los vean. También puedes navegar por las publicaciones de otros usuarios siguiéndolas o buscando temas que te interesen. Usted puede gustar, comentar y compartir sus mensajes, así. </p>
16
- <p>Instagram también tiene otras características que lo hacen más divertido y atractivo. Puede crear historias que desaparecen después de 24 horas, carretes que son videos cortos con música y efectos, IGTV que son videos más largos de sus creadores favoritos, y en vivo que son transmisiones en tiempo real de usted u otros. </p>
17
- </td>
18
- </tr>
19
- <tr> <tr>
20
- <td>
21
- <h2>¿Por qué descargar Instagram en Android? </h2>
22
- <p>Instagram es compatible con la mayoría de los dispositivos Android, desde teléfonos inteligentes hasta tabletas. Tiene una interfaz fácil de usar que se adapta a diferentes tamaños y orientaciones de pantalla. También tiene un rendimiento rápido y suave que hace que sea fácil de usar. </p>
23
-
24
- <p>Descargar Instagram en Android también es seguro. Puede descargarlo de fuentes confiables, como Google Play Store u otros sitios web de buena reputación. También puede proteger su cuenta con una contraseña segura y autenticación de dos factores. También puede controlar su configuración de privacidad y bloquear o denunciar cualquier usuario no deseado o abusivo. </p>
25
- </td>
26
- </tr>
27
- <tr>
28
- <td>
29
- <h2>Cómo descargar Instagram en Android desde Google Play Store</h2>
30
- <p>La forma más fácil y recomendada de descargar Instagram en Android es desde Google Play Store. Google Play Store es la tienda de aplicaciones oficial para dispositivos Android, donde puedes encontrar y descargar millones de aplicaciones, juegos, libros, películas y más. </p>
31
- <p></p>
32
- <p>Para descargar Instagram en Android desde Google Play Store, sigue estos sencillos pasos:</p>
33
- <h3>Paso 1: Abrir Google Play Store</h3>
34
- <p>En su dispositivo Android, toque en el icono de Google Play Store. Por lo general se encuentra en la pantalla de inicio o en el cajón de la aplicación. Parece un triángulo colorido con un símbolo de juego dentro. </p>
35
- <h3>Paso 2: Buscar Instagram</h3>
36
- <p>En el Google Play Store, toque en la barra de búsqueda en la parte superior y escriba "Instagram". Verá una lista de resultados que coinciden con su consulta. Toque en el que dice "Instagram" y tiene el logotipo de una cámara dentro de un cuadrado. </p>
37
- <h3>Paso 3: Toque en Instalar</h3>
38
- <p>En la página de la aplicación de Instagram, toque en el botón verde que dice "Instalar". Esto comenzará a descargar e instalar la aplicación en su dispositivo. Es posible que necesite aceptar algunos permisos o términos de servicio antes de continuar. </p>
39
- <h3>Paso 4: Espere a que la instalación se complete</h3>
40
- <p>El proceso de instalación puede tardar unos minutos, dependiendo de la velocidad de Internet y el almacenamiento del dispositivo. Puede ver el progreso de la descarga e instalación en la página de la aplicación Google Play Store o en la barra de notificaciones. </p>
41
- <h3>Paso 5: Abre Instagram y regístrate o inicia sesión</h3>
42
-
43
- <p>Si ya tienes una cuenta de Instagram, puedes iniciar sesión con tu nombre de usuario y contraseña. Si aún no tienes una cuenta, puedes registrarte con tu dirección de correo electrónico, número de teléfono o cuenta de Facebook. Tendrás que crear un nombre de usuario y una contraseña, así como proporcionar información básica sobre ti mismo. </p>
44
- </td>
45
- </tr>
46
- <tr>
47
- <td>
48
- <h2>Cómo descargar Instagram en Android desde otras fuentes</h2>
49
- <p>Si por alguna razón no puede descargar Instagram en Android desde la Google Play Store, puede probar otras fuentes que ofrecen el archivo APK de la aplicación. APK significa Android Package Kit, que es un formato de archivo que contiene todos los componentes necesarios de una aplicación para dispositivos Android. </p>
50
- <p>Sin embargo, descargar archivos APK de otras fuentes puede ser arriesgado, ya que pueden contener virus, malware o spyware que pueden dañar su dispositivo o comprometer su privacidad. Por lo tanto, solo debe descargar archivos APK de sitios web de buena reputación que tienen comentarios positivos y calificaciones de otros usuarios. </p>
51
- <p>Aquí hay algunos métodos alternativos para descargar Instagram APK en Android:</p>
52
- <h3>Cómo descargar Instagram APK de Uptodown</h3>
53
- <p>Uptodown es un sitio web que ofrece descargas gratuitas de aplicaciones y juegos para varias plataformas, incluyendo Android. Tiene una gran colección de archivos APK que se verifican y actualizan regularmente. </p>
54
- <p>Para descargar Instagram APK de Uptodown, siga estos pasos:</p>
55
- <ul>
56
- <li>En su dispositivo Android, abra un navegador web y vaya a <a href="">https://www.uptodown.com/android</a>. </li>
57
- <li> En la barra de búsqueda en la parte superior, escriba "Instagram" y toque en el icono de la lupa. </li>
58
- <li>Verá una lista de resultados que coinciden con su consulta. Toque en el que dice "Instagram" y tiene el logotipo de una cámara dentro de un cuadrado. </li>
59
- <li>Usted será llevado a la página de la aplicación de Instagram en Uptodown. Toque en el botón verde que dice "Descargar". Esto comenzará a descargar el archivo APK de Instagram en su dispositivo. </li>
60
-
61
- <li>Una vez que la descarga se haya completado, puede abrir el archivo APK tocando en la barra de notificaciones o utilizando una aplicación de administrador de archivos. Toque en "Instalar" y espere a que la instalación termine. </li>
62
- <li>Abre Instagram y regístrate o inicia sesión con tu cuenta. </li>
63
- </ul>
64
- <h3>Cómo descargar Instagram APK de APKCombo</h3>
65
- <p>APKCombo es otro sitio web que ofrece descargas gratuitas de aplicaciones y juegos para dispositivos Android. Tiene una enorme base de datos de archivos APK que son seguros y protegidos. </p>
66
- <p>Para descargar Instagram APK de APKCombo, siga estos pasos:</p>
67
- <ul>
68
- <li>En su dispositivo Android, abra un navegador web y vaya a <a href="">https://apkcombo.com/en-us/</a>. </li>
69
- <li> En la barra de búsqueda en la parte superior, escriba "Instagram" y toque en el icono de búsqueda. </li>
70
- <li>Verá una lista de resultados que coinciden con su consulta. Toque en el que dice "Instagram" y tiene el logotipo de una cámara dentro de un cuadrado. </li>
71
- <li>Usted será llevado a la página de la aplicación de Instagram en APKCombo. Toque en el botón azul que dice "Descargar APK". Esto comenzará a descargar el archivo APK de Instagram en su dispositivo. </li>
72
- <li>Es posible que necesite habilitar la instalación de aplicaciones de fuentes desconocidas en la configuración del dispositivo. Para hacer esto, vaya a Configuración > Seguridad > Fuentes desconocidas y conéctelo. </li>
73
- <li>Una vez que la descarga se haya completado, puede abrir el archivo APK tocando en la barra de notificaciones o utilizando una aplicación de administrador de archivos. Toque en "Instalar" y espere a que la instalación termine. </li>
74
- <li>Abre Instagram y regístrate o inicia sesión con tu cuenta. </li>
75
- </ul>
76
- <h3>Cómo descargar Instagram APK de TechSpot</h3>
77
- <p>TechSpot es un sitio web que ofrece descargas gratuitas de software, aplicaciones y juegos para varias plataformas, incluyendo Android. Tiene una fuente confiable y actualizada de archivos APK que se escanean en busca de virus y malware. </p>
78
- <p>Para descargar Instagram APK de TechSpot, siga estos pasos:</p>
79
- <ul>
80
-
81
- <li> En la barra de búsqueda en la parte superior derecha, escriba "Instagram" y toque en el icono de búsqueda. </li>
82
- <li>Verá una lista de resultados que coinciden con su consulta. Toque en el que dice "Instagram para Android" y tiene el logotipo de una cámara dentro de un cuadrado. </li>
83
- <li>Usted será llevado a la página de la aplicación de Instagram en TechSpot. Toque en el botón verde que dice "Descargar ahora". Esto comenzará a descargar el archivo APK de Instagram en su dispositivo. </li>
84
- <li>Es posible que necesite habilitar la instalación de aplicaciones de fuentes desconocidas en la configuración del dispositivo. Para hacer esto, vaya a Configuración > Seguridad > Fuentes desconocidas y conéctelo. </li>
85
- <li>Una vez que la descarga se haya completado, puede abrir el archivo APK tocando en la barra de notificaciones o utilizando una aplicación de administrador de archivos. Toque en "Instalar" y espere a que la instalación termine. </li>
86
- <li>Abre Instagram y regístrate o inicia sesión con tu cuenta. </li>
87
- </ul>
88
- </td>
89
- </tr>
90
- <tr>
91
- <td>
92
- <h2>Consejos y trucos para usar Instagram en Android</h2>
93
- <p>Ahora que has descargado Instagram en Android, puedes empezar a disfrutar de sus características y funciones. Sin embargo, hay algunos consejos y trucos que pueden ayudarte a aprovechar al máximo tu experiencia en Instagram en Android. Estos son algunos de ellos:</p>
94
- <h3>Cómo activar el modo oscuro en Instagram</h3>
95
- <p>El modo oscuro es una característica que cambia el color de fondo de una aplicación de blanco a negro o gris oscuro. Puede ayudar a reducir la fatiga ocular, ahorrar vida de la batería y mejorar la legibilidad en condiciones de poca luz. Instagram soporta el modo oscuro en dispositivos Android con Android 10 o superior. </p>
96
- <p>Para activar el modo oscuro en Instagram, sigue estos pasos:</p>
97
- <ul>
98
- <li>En su dispositivo Android, ir a Configuración > Pantalla > Tema oscuro y alternar en. </li>
99
- <li>Abre Instagram y toca el icono de tu perfil en la esquina inferior derecha. </li>
100
- <li>Toque en el icono del menú en la esquina superior derecha y seleccione Configuración.</li>
101
- <li>Toque en el tema y elija Oscuro.</li>
102
- </ul>
103
-
104
- <h3>Cómo usar carretes en Instagram</h3>
105
- <p>Los carretes son videos cortos que puedes crear con música, efectos y otras herramientas creativas. Puedes compartirlos con tus seguidores o hacerlos públicos para que todos los vean. También puede descubrir y ver carretes de otros usuarios navegando por la pestaña Carretes o la página Explorar. </p>
106
- <p>Para usar carretes en Instagram, sigue estos pasos:</p>
107
- <ul>
108
- <li>En tu aplicación de Instagram, toca el icono de la cámara en la esquina superior izquierda o desliza el dedo hacia la derecha desde cualquier lugar de la aplicación. </li>
109
- <li>En la parte inferior de la pantalla, deslice hacia la izquierda hasta que vea Carretes.</li>
110
- <li>Toque en el icono de música para elegir una canción de la biblioteca de música de Instagram o su propio audio. </li>
111
- <li>Toque en el icono de velocidad para ajustar la velocidad de su vídeo. </li>
112
- <li>Toque en el icono de efectos para aplicar filtros, pegatinas, emojis y otros efectos a su video. </li>
113
- <li>Toque en el icono del temporizador para establecer una cuenta atrás y la duración de su video. </li>
114
- <li>Mantenga pulsado el botón de grabación para comenzar a grabar el vídeo. Puede liberarlo para detener la grabación o volver a pulsarlo para reanudar. </li>
115
- <li> También puede agregar varios clips a su carrete tocando en el icono de alineación para alinearlos. </li>
116
- <li>Cuando haya terminado, toque en el icono de flecha en la esquina inferior derecha para previsualizar y editar el carrete. </li>
117
- <li> Puede agregar más efectos, recortar, recortar, rotar, ajustar, cubrir o eliminar sus clips como desee. </li>
118
- <li> También puede agregar un título, hashtags, ubicación y otros detalles a su carrete. </li>
119
- <li>Puedes elegir compartir tu carrete con tus seguidores o hacerlo público para que todos lo vean. </li>
120
- </ul>
121
- <h3>Cómo compartir historias en Instagram</h3>
122
- <p>Las historias son fotos o vídeos que puedes compartir con tus seguidores o amigos cercanos. Desaparecen después de 24 horas, a menos que los guardes en tu perfil como destacados. También puedes ver las historias de otros usuarios tocando sus fotos de perfil o deslizando hacia la izquierda en la aplicación. </p>
123
- <p>Para compartir historias en Instagram, sigue estos pasos:</p>
124
- <ul>
125
-
126
- <li>En la parte inferior de la pantalla, desliza el dedo hacia la derecha hasta que veas Story.</li>
127
- <li>Toque en el botón de captura para tomar una foto o video. También puede pulsar y mantener pulsado en él para grabar un video o deslizar hacia arriba para subir una foto o video desde su galería. </li>
128
- <li>También puedes usar diferentes modos para crear tu historia, como Boomerang, Superzoom, Layout, Focus y más. </li>
129
- <li> También puede agregar pegatinas, texto, dibujos y otros efectos a su historia tocando los iconos en la parte superior de la pantalla. </li>
130
- <li>Cuando haya terminado, toque en "Su historia" en la esquina inferior izquierda para compartir su historia con sus seguidores o "Cerrar amigos" para compartirlo con un grupo seleccionado de personas. </li>
131
- <li>También puedes tocar en "Enviar a" para elegir con quién quieres compartir tu historia individualmente o en grupos. </li>
132
- </ul>
133
- </td>
134
- </tr>
135
- <tr>
136
- <td>
137
- <h2>Conclusión</h2>
138
- <p>Instagram es una gran aplicación para expresarse y conectarse con otros a través de medios visuales. Puedes descargar Instagram en Android fácilmente desde Google Play Store u otras fuentes. También puede utilizar diferentes características y funciones de Instagram en Android, como el modo oscuro, carretes e historias. También puedes seguir estos consejos y trucos para mejorar tu experiencia en Instagram en Android:</p>
139
- <ul>
140
- <li>Habilitar el modo oscuro en Instagram para reducir la tensión ocular y ahorrar vida de la batería. </li>
141
- <li>Usar carretes en Instagram para crear y compartir videos cortos con música y efectos. </li>
142
- <li>Comparte historias en Instagram para mostrar lo que estás haciendo o sintiendo en el momento. </li>
143
- </ul>
144
- <p>Esperamos que este artículo te haya ayudado a aprender cómo descargar Instagram en Android y cómo usarlo de manera efectiva. Si tiene alguna pregunta o comentario, no dude en dejar un comentario a continuación. ¡Feliz Instagramming! </p>
145
- <h2>Preguntas frecuentes</h2>
146
- <p>Aquí hay algunas preguntas frecuentes sobre la descarga y el uso de Instagram en Android:</p>
147
- <ol>
148
- <li><b>Instagram es gratis en Android? </b></li>
149
-
150
- <li><b>¿Es seguro Instagram en Android? </b></li>
151
- <p>Sí, Instagram es seguro en dispositivos Android. Puede descargarlo de fuentes confiables, como Google Play Store u otros sitios web de buena reputación. También puede proteger su cuenta con una contraseña segura y autenticación de dos factores. También puede controlar su configuración de privacidad y bloquear o denunciar cualquier usuario no deseado o abusivo. </p>
152
- <li><b>¿Cómo puedo actualizar Instagram en Android? </b></li>
153
- <p>Para actualizar Instagram en Android, puedes ir a la aplicación Google Play Store en tu dispositivo y tocar el icono del menú en la esquina superior izquierda. Luego, toca "Mis aplicaciones y juegos" y busca Instagram en la lista de aplicaciones instaladas. Si hay una actualización disponible, toque en "Actualizar" y espere a que el proceso se complete. Alternativamente, también puede comprobar si hay actualizaciones en la página de la aplicación de Instagram en el sitio web o aplicación de Google Play Store. <li><b>¿Cómo puedo eliminar Instagram en Android? </b></li>
154
- <p>Para eliminar Instagram en Android, puedes ir a la aplicación Configuración en tu dispositivo y tocar en "Aplicaciones y notificaciones". A continuación, toque en "Ver todas las aplicaciones" y buscar Instagram en la lista de aplicaciones instaladas. Toque en él y luego toque en "Desinstalar". Confirme su acción y espere a que el proceso se complete. Alternativamente, también puede eliminar Instagram tocando y sosteniendo su icono en la pantalla de inicio o cajón de aplicaciones y arrastrándolo a la opción "Desinstalar". </p>
155
- <li><b>¿Cómo me pongo en contacto con el soporte de Instagram en Android? </b></li>
156
- <p>Para contactar con el soporte de Instagram en Android, puedes ir a la aplicación de Instagram en tu dispositivo y tocar el icono de tu perfil en la esquina inferior derecha. Luego, toque en el icono del menú en la esquina superior derecha y seleccione "Configuración". Luego, toque en "Ayuda" y elija "Reportar un problema". A continuación, puede describir su problema y adjuntar capturas de pantalla o vídeos si es necesario. También puede visitar el sitio web del Centro de ayuda de Instagram en <a href="">https://help.instagram.com/</a> para obtener más información y soluciones. </p>
157
- </ol></p> 64aa2da5cf<br />
158
- <br />
159
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Cinco Noches En Freddy 39s 9 Apk.md DELETED
@@ -1,77 +0,0 @@
1
-
2
- <h1>Cinco noches en el 9 APK de Freddy: Todo lo que necesitas saber</h1>
3
- <p>Si eres un fan de los juegos de terror, debes haber oído hablar de la popular franquicia <strong>Five Nights at Freddy’s</strong>. Esta serie de juegos ha sido aterradora y emocionante millones de jugadores en todo el mundo desde 2014. La última entrega, <strong>Five Nights at Freddy’s 9</strong>, también conocida como <strong>Five Nights at Freddy’s: Security Breach</strong>, no es una excepción. En este artículo, te contaremos todo lo que necesitas saber sobre este juego, incluyendo qué es, cómo descargarlo e instalarlo, y por qué deberías jugarlo. </p>
4
- <h2>¿Qué es Cinco Noches en Freddy’s 9?</h2>
5
- <p>Five Nights at Freddy’s 9 es un juego de terror de supervivencia publicado por ScottGames. Esta es la novena entrega principal de la serie Five Nights at Freddy’s y el decimotercer juego en general. El juego tuvo lugar después de los eventos de <em>Five Nights at Freddy’s: Help Wanted</em>. Gameplaywise, Security Breach es el juego más único de la serie de juegos de acción. En lugar de sentarse en la habitación y ver las cámaras de seguridad, los jugadores deambularán por las instalaciones mientras evaden la animatrónica en el mapa. </p>
6
- <h2>cinco noches en freddy 39;s 9 apk</h2><br /><p><b><b>Download</b> &harr; <a href="https://bltlly.com/2v6Lzw">https://bltlly.com/2v6Lzw</a></b></p><br /><br />
7
- <h3>La historia de Cinco noches en Freddy’s 9</h3>
8
- <p>El juego sigue a Gregory, un joven que se encuentra atrapado después de horas en el Mega Pizza Plex de Fazbear. En esta historia, está convencido de que el personal de seguridad lo persigue. La única manera de sobrevivir es encontrar la salida. En un sorprendente giro de los acontecimientos, acude al titular Freddy Fazbear en busca de ayuda. </p>
9
- <h3>El juego de Five Nights at Freddy’s 9</h3>
10
- <p>Como se mencionó, el juego no te confina dentro de la sala de seguridad. Tampoco estás obligado a conservar una fuente de alimentación limitada. En su lugar, puedes recorrer la instalación como Gregory de un lugar a otro. Sin embargo, los aterradores animatrónicos todavía están aquí, y todavía tienes que evadirlos para sobrevivir. También tendrás que correr, agacharte y esconderte de estos animatrónicos. </p>
11
-
12
- <h3>Las características de Five Nights at Freddy’s 9</h3>
13
- <p>Además de una premisa diferente, Five Nights at Freddy’s 9 también ofrece nuevas características. Por un lado, usted será capaz de guardar su progreso gracias a los muchos puntos de ahorro dispersos en diferentes áreas del mapa. Sin embargo, tenga en cuenta que cuando los animatrónicos lo atrapen, se verá obligado a comenzar de nuevo. </p>
14
- <p>Hablando de animatrónica, algunos de ellos toman un tiempo para evadir o vencer. Lo que es peor es que dichos animatrónicos a menudo aparecen de la nada para confundirte. </p>
15
- <p>El juego también cuenta con impresionantes gráficos y efectos de sonido que crean una atmósfera realista e inmersiva. Sentirás que estás realmente dentro de la pizzería con todas sus luces, colores y ruidos. </p>
16
- <h2>¿Cómo descargar e instalar Five Nights at Freddy’s 9 APK? </h <h2>Cómo descargar e instalar Five Nights at Freddy’s 9 APK? </h2>
17
- <p>Si quieres jugar Five Nights at Freddy’s 9 en tu dispositivo Android, tendrás que descargar e instalar el archivo APK. Este es un formato de archivo que le permite instalar aplicaciones que no están disponibles en Google Play Store. Sin embargo, debe tener cuidado al descargar archivos APK de fuentes desconocidas, ya que pueden contener malware o virus que pueden dañar su dispositivo. Aquí están los pasos para descargar e instalar Five Nights at Freddy’s 9 APK de forma segura y fácil:</p>
18
- <h3> Requisitos para cinco noches en Freddy 9 APK</h3>
19
- <p>Antes de descargar e instalar el archivo APK, debe asegurarse de que su dispositivo cumple con los siguientes requisitos:</p>
20
- <p></p>
21
- <ul>
22
- <li>Tu dispositivo debe tener Android 5.0 o superior. </li>
23
- <li> Su dispositivo debe tener al menos 1 GB de RAM y 500 MB de espacio de almacenamiento libre. </li>
24
- <li>Su dispositivo debe permitir la instalación de aplicaciones desde fuentes desconocidas. Para habilitar esto, vaya a Configuración > Seguridad > Fuentes desconocidas y conéctelo. </li>
25
- </ul>
26
- <h3>Pasos para descargar e instalar cinco noches en Freddy’s 9 APK</h3>
27
-
28
- <ol>
29
- <li>Ir a un sitio web de confianza que ofrece el archivo APK para Five Nights at Freddy’s 9. Por ejemplo, puede utilizar [este enlace]( 1 ) para descargar el archivo APK de WizCase.</li>
30
- <li>Haga clic en el botón Descargar y espere a que el archivo se descargue en su dispositivo. </li>
31
- <li>Ir a la carpeta de descarga y toque en el archivo APK para abrirlo. </li>
32
- <li>Puede ver un mensaje de advertencia que dice "Este tipo de archivo puede dañar su dispositivo". Ignórelo y toque en Instalar de todos modos. </li>
33
- <li>Espera a que se complete la instalación y luego toca Abrir para iniciar el juego. </li>
34
- </ol>
35
- <h3> Consejos y trucos para jugar cinco noches en Freddy’s 9 APK</h3>
36
- <p>Ahora que ha instalado el juego, puede empezar a jugar y disfrutar de la experiencia de terror. Sin embargo, si quieres sobrevivir más tiempo y superar el juego, es posible que necesites algunos consejos y trucos. Estos son algunos de ellos:</p>
37
- <ul>
38
- <li>Usa tu Faz-Watch sabiamente. Puede ayudarte a navegar por el mapa, revisar las cámaras, leer mensajes y ver tus objetivos. Sin embargo, también agota la batería, así que úsala con moderación. </li>
39
- <li>Escucha atentamente. Los efectos de sonido en el juego son muy importantes, ya que pueden alertarte de la presencia de animatrónicos u otros peligros. Preste atención a los pasos, voces, música y otros ruidos que pueden indicar dónde están o qué están haciendo. </li>
40
- <li>Ocultar cuando sea necesario. A veces, huir de la animatrónica no es suficiente. Es posible que tenga que esconderse en taquillas, respiraderos u otros lugares donde no puedan verlo. Sin embargo, tenga cuidado de no permanecer en un lugar por mucho tiempo, ya que pueden encontrarlo eventualmente. </li>
41
- <li>Guardar con frecuencia. El juego tiene muchos puntos de guardado donde puede guardar su progreso. Úsalos siempre que puedas, ya que morir te hará empezar de nuevo desde el último punto de guardado. </li>
42
- </ul>
43
- <h2>¿Por qué debe jugar cinco noches en Freddy’s 9 APK? </h2>
44
- <p>Si todavía se pregunta si debe jugar Five Nights at Freddy’s 9 APK o no, aquí hay algunas razones por las que debe:</p>
45
-
46
- <ul>
47
- <li>El juego tiene un juego único e inmersivo que te permite explorar las instalaciones como Gregory en lugar de ver cámaras como guardia de seguridad. </li>
48
- <li>El juego tiene gráficos impresionantes y efectos de sonido que crean una atmósfera realista y aterradora. </li>
49
- <li>El juego tiene una historia cautivadora que revela más secretos sobre las Cinco Noches en el universo de Freddy. </li>
50
- <li> El juego tiene mucho valor de repetición, ya que hay diferentes finales y secretos para descubrir. </li>
51
- </ul>
52
- <h3>Los contras de cinco noches en Freddy 9 APK</h3>
53
- <ul>
54
- <li> El juego es muy aterrador y no es adecuado para niños pequeños o personas que se asustan fácilmente. </li>
55
- <li> El juego tiene algunos errores y fallos que pueden afectar el juego o el rendimiento. </li>
56
- <li>El juego implica un montón de backtracking y de ensayo y error, que puede ser frustrante para algunos jugadores. </li>
57
- </ul>
58
- <h3> El veredicto sobre Cinco Noches en Freddy 9 APK</h3>
59
- <p>En conclusión, Cinco Noches en Freddy 9 APK es un gran juego para los fans de los juegos de terror que quieren experimentar un juego diferente y emocionante. El juego ofrece un montón de características que lo hacen destacar de otros juegos de la serie. Sin embargo, también tiene algunos inconvenientes <p>que pueden afectar tu disfrute del juego. Por lo tanto, le recomendamos que juegue el juego bajo su propio riesgo y discreción. </p>
60
- <h2>Conclusión</h2>
61
-
62
- <h2>Preguntas frecuentes</h2>
63
- <p>Aquí hay algunas preguntas frecuentes sobre Five Nights at Freddy’s 9 APK:</p>
64
- <ol>
65
- <li><strong>Es cinco noches en Freddy 9 APK libre? </strong></li>
66
- <p>Sí, Five Nights at Freddy’s 9 APK es gratis para descargar y jugar. Sin embargo, es posible que tenga que pagar por algunos elementos o características del juego. </p>
67
- <li><strong>Es cinco noches en Freddy 9 APK seguro? </strong></li>
68
- <p>Sí, Cinco Noches en Freddy 9 APK es seguro para descargar e instalar, siempre y cuando se utiliza un sitio web de confianza que ofrece el archivo APK. Sin embargo, siempre debe tener cuidado al descargar archivos APK de fuentes desconocidas, ya que pueden contener malware o virus que pueden dañar su dispositivo. </p>
69
- <li><strong>¿Cuánto tiempo es cinco noches en el 9 APK de Freddy? </strong></li>
70
- <p>La duración de Five Nights at Freddy’s 9 APK depende de cómo se juega el juego y cuántos finales o secretos que desea descubrir. Sin embargo, en promedio, puede tardar de 5 a 10 horas en completar el juego. </p>
71
- <li><strong>¿Puedo jugar cinco noches en Freddy’s 9 APK offline? </strong></li>
72
- <p>Sí, puedes jugar Five Nights at Freddy’s 9 APK offline, ya que no requiere una conexión a Internet para funcionar. Sin embargo, es posible que necesite una conexión a Internet para descargar e instalar el archivo APK. </p>
73
- <li><strong>¿Puedo jugar cinco noches en Freddy’s 9 APK en PC? </strong></li>
74
- <p>No, Five Nights at Freddy’s 9 APK is only compatible with Android devices. Sin embargo, puedes usar un emulador de Android para ejecutar el juego en tu PC.</p>
75
- </ol></p> 64aa2da5cf<br />
76
- <br />
77
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Config Tropiezo Chicos Apk.md DELETED
@@ -1,98 +0,0 @@
1
- <br />
2
- <h1>Cómo configurar Stumble chicos APK en su dispositivo Android</h1>
3
- <p>¿Te encanta jugar Stumble Guys, un juego de ritmo rápido donde tienes que correr, correr, deslizarte y esquivar a tus oponentes? ¿Quieres personalizar la configuración del juego y desbloquear más características? Si es así, usted puede estar interesado en aprender cómo configurar Stumble Guys APK en su dispositivo Android. En este artículo, te mostraremos cómo hacerlo en unos sencillos pasos. </p>
4
- <h2>¿Qué es Stumble Guys? </h2>
5
- <p>Stumble Guys es un juego multijugador en línea que fue lanzado en 2020 por Kitka Games. Está inspirado en programas de televisión populares como Wipeout y Takeshi’s Castle, donde los concursantes tienen que superar varios obstáculos y desafíos para llegar a la meta. El juego tiene más de 100 niveles con diferentes temas y dificultades. Puedes jugar con hasta 32 jugadores online o invitar a tus amigos a unirse a ti. También puedes personalizar tu personaje con diferentes skins y atuendos. </p>
6
- <h2>config tropiezo chicos apk</h2><br /><p><b><b>Download Zip</b> &#10031; <a href="https://bltlly.com/2v6J0V">https://bltlly.com/2v6J0V</a></b></p><br /><br />
7
- <h2>¿Qué es un archivo APK? </h2>
8
- Mac. Los archivos APK generalmente se descargan desde Google Play Store u otras fuentes de terceros. Te permiten instalar aplicaciones que no están disponibles en la tienda oficial o actualizarlas antes de su lanzamiento oficial. </p>
9
- <h2>Cómo descargar Stumble chicos APK? </h2>
10
- <p>Para descargar Stumble Guys APK, es necesario encontrar una fuente confiable y segura que ofrece la última versión del archivo. Puede buscar Stumble Guys APK en Google o utilizar un sitio web como APKPure o APKMirror que proporciona archivos APK verificados y actualizados. Aquí están los pasos para descargar Stumble Guys APK de APKPure:</p>
11
- <ol>
12
- <li>Ir a <a href=">https://apkpure.com/stumble-guys-multiplayer-royale/com.kitkagames.fallguys3d</a> en su navegador. </li>
13
- <li> Toque en el botón verde Descargar APK y esperar a que el archivo se descargue. </li>
14
- <li>Una vez completada la descarga, toque el nombre del archivo o ábralo desde la barra de notificaciones o el administrador de archivos. </li>
15
- </ol>
16
- <h2>Cómo instalar Stumble Guys APK? </h2>
17
-
18
- <ul>
19
- <li>Ir a Configuración > Seguridad > Fuentes desconocidas y activarlo. </li>
20
- <li> Aparecerá un mensaje de advertencia, que le dirá que la instalación de aplicaciones de fuentes desconocidas puede dañar su dispositivo. Toque en OK para confirmar. </li>
21
- <li> Ahora se puede instalar Stumble Guys APK tocando en él y siguiendo las instrucciones en la pantalla. </li>
22
- </ul>
23
- <h2>Cómo configurar Stumble chicos APK? </h2>
24
- <p>Para configurar Stumble Guys APK, es necesario utilizar una herramienta que puede modificar los datos del juego y la configuración. Una de estas herramientas es Lucky Patcher, que es una aplicación que puede hackear y parchear varias aplicaciones y juegos. Con Lucky Patcher, puede configurar Stumble Guys APK para cambiar el modo de juego, desbloquear pieles, monedas y niveles, y eliminar anuncios. Aquí están los pasos para configurar Stumble Guys APK con Lucky Patcher:</p>
25
- <ol>
26
- <li>Descargue e instale Lucky Patcher desde <a href="">https://www.luckypatchers.com/download/</a> en su dispositivo. </li>
27
- <li>Abra Lucky Patcher y otorgue acceso de raíz si su dispositivo tiene raíces. </li>
28
- <li>Toque en Stumble Guys de la lista de aplicaciones y juegos. </li>
29
- <li>Seleccionar menú de parches > Crear archivo APK modificado > Parche personalizado aplicado APK.</li>
30
- <li>Seleccione el parche personalizado que se adapte a sus necesidades y toque en Aplicar.</li>
31
- <li>Espere a que el proceso de parcheo termine y toque en OK.</li>
32
- <li>Desinstalar la aplicación Stumble Guys original desde su dispositivo. </li>
33
- <li>Instalar el modificado Stumble Guys APK de Lucky Patcher > Modificado > Stumble Guys.</li>
34
- </ol>
35
- <h2>¿Cuáles son los beneficios de Config Stumble Guys APK? </h2>
36
- <p>Config Stumble Guys APK puede darle algunos beneficios que pueden mejorar su experiencia de juego. Algunos de estos beneficios son:</p>
37
- <ul>
38
- <li>Puedes jugar en diferentes modos de juego, como solo, dúo, escuadrón o personalizado. </li>
39
- <li>Puedes desbloquear todas las pieles y trajes para tu personaje, como animales, superhéroes, piratas y más. </li>
40
- <li>Puedes obtener monedas y gemas ilimitadas que puedes usar para comprar artículos y mejoras. </li>
41
-
42
- <li> Puede eliminar los anuncios molestos que pueden interrumpir su juego. </li>
43
- </ul>
44
- <h2>¿Cuáles son los riesgos de la configuración Stumble Guys APK? </h2>
45
- <p>Config Stumble Guys APK también puede tener algunos riesgos que pueden afectar a su dispositivo o cuenta. Algunos de estos riesgos son:</p>
46
- <ul>
47
- <li>Puede descargar un archivo APK falso o malicioso que puede contener virus, malware, spyware o ransomware que pueden dañar su dispositivo o robar sus datos. </li>
48
- <li> Usted puede violar los términos de servicio del juego y obtener prohibido jugar en línea o acceder a su cuenta. </li>
49
- <li>Puedes enfrentar problemas de compatibilidad con tu dispositivo o versión del juego que pueden causar errores, fallos o fallas. </li>
50
- <li>Puede perder su progreso o datos si desinstala la aplicación original o actualiza la aplicación modificada. </li>
51
- </ul>
52
- <h2>Cómo evitar o solucionar problemas comunes con Config Stumble Guys APK? </h2>
53
- <p>Config Stumble Guys APK puede no funcionar sin problemas en su dispositivo o versión del juego. Usted puede encontrar algunos problemas comunes que pueden afectar su juego o rendimiento. Estos son algunos de los problemas comunes y cómo evitarlos o solucionarlos:</p>
54
- <tabla>
55
- <tr>
56
- <th>Problema</th>
57
- <th>Solución</th>
58
- </tr>
59
- <tr>
60
- <td>El archivo APK no se instala o muestra un mensaje de error. </td>
61
- <td>Asegúrese de haber habilitado la instalación de aplicaciones de fuentes desconocidas en su dispositivo. Asegúrese de tener suficiente espacio de almacenamiento en su dispositivo. Asegúrate de haber descargado el archivo APK de una fuente confiable. Intenta reinstalar el archivo APK o descarga una versión diferente. </td>
62
- </tr>
63
- <tr>
64
- <td>El juego se bloquea o se congela durante el juego. </td>
65
- <td>Asegúrese de que su dispositivo cumple con los requisitos mínimos para el juego. Asegúrese de que su dispositivo y juego estén actualizados a la última versión. Asegúrate de tener una conexión a Internet estable. Intenta borrar la caché y los datos del juego o reinicia el dispositivo. </td>
66
- </tr>
67
- <tr>
68
- <td>El juego no carga ni muestra una pantalla negra. </td>
69
-
70
- </tr>
71
- <tr>
72
- <td>El juego no se conecta al servidor o muestra un error de red. </td>
73
- <td>Asegúrate de tener una conexión a Internet estable. Asegúrate de no haber sido excluido del juego. Intente usar una VPN o proxy para cambiar su ubicación. Intente cambiar el servidor o la región en la configuración del juego. </td>
74
- </tr>
75
- <tr>
76
- <td>El juego no se sincroniza con tu cuenta o muestra un error de inicio de sesión. </td>
77
- <td>Asegúrate de haber iniciado sesión con la cuenta y la contraseña correctas. Asegúrate de haber vinculado tu cuenta a Google Play Games o Facebook. Intenta cerrar sesión e iniciar sesión de nuevo o usa una cuenta diferente. </td>
78
- </tr>
79
- </tabla>
80
- <h2>Conclusión</h2>
81
- <p>Config Stumble Guys APK es una manera de personalizar la configuración de su juego y desbloquear más características en Stumble Guys, un divertido y adictivo juego de eliminación. Sin embargo, también viene con algunos riesgos y desafíos que debe conocer y tratar. En este artículo, le hemos mostrado cómo descargar, instalar y configurar Stumble Guys APK en su dispositivo Android, así como cómo evitar o solucionar problemas comunes con él. Esperamos que este artículo haya sido útil e informativo para usted. Si tiene alguna pregunta o comentario, no dude en dejar un comentario a continuación. </p>
82
- <p></p>
83
- <h3>Preguntas frecuentes</h3>
84
- <p>Aquí hay algunas preguntas frecuentes sobre config Stumble Guys APK y sus respuestas:</p>
85
- <ol>
86
- <li><b>¿Es la configuración Stumble Guys APK legal? </b></li>
87
- <p>Config Stumble Guys APK no es legal, ya que viola los términos de servicio del juego y puede infringir los derechos de propiedad intelectual de los desarrolladores. También puede exponerlo a acciones legales o sanciones de las autoridades. </p>
88
- <li><b>¿Es seguro configurar Stumble Guys APK? </b></li>
89
- <p>Config Stumble Guys APK no es seguro, ya que puede contener virus, malware, spyware o ransomware que pueden dañar su dispositivo o robar sus datos. También puede comprometer su seguridad y privacidad al exponer su información personal o ubicación a hackers o terceros. </p>
90
-
91
- <p>Config Stumble Guys APK es gratis, ya que no requiere ningún pago o suscripción para descargar, instalar o usar. Sin embargo, también puede contener anuncios o compras en la aplicación que pueden costarle dinero. </p>
92
- <li><b>¿Puedo jugar en línea con la configuración Stumble Guys APK? </b></li>
93
- <p>Usted puede jugar en línea con la configuración Stumble Guys APK, pero puede enfrentar algunos problemas o limitaciones. Es posible que no pueda unirse a ciertos servidores o regiones, ya que pueden detectar y bloquear aplicaciones modificadas. También puedes tener prohibido jugar online o acceder a tu cuenta, ya que el juego puede monitorear y reportar actividades sospechosas. </p>
94
- <li><b>¿Puedo actualizar la configuración Stumble Guys APK? </b></li>
95
- <p>Puede actualizar config Stumble Guys APK, pero puede perder algunas de las características o configuraciones que ha configurado. También puedes enfrentar problemas de compatibilidad con tu dispositivo o versión del juego que pueden causar errores, fallos o fallos. Es posible que tenga que descargar e instalar una nueva versión de configuración Stumble Guys APK cada vez que hay una actualización. </p>
96
- </ol></p> 64aa2da5cf<br />
97
- <br />
98
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Delfn Emulador Pro Apk ltima Versin.md DELETED
@@ -1,54 +0,0 @@
1
- <br />
2
- <h1>Introducción</h1>
3
- <p>Dolphin emulador pro apk última versión es una versión modificada del emulador de delfín oficial que añade algunas características adicionales y mejoras. Delfín emulador es un software libre y de código abierto que le permite jugar juegos de GameCube y Wii en su dispositivo Android, PC con Windows, Mac o ordenador Linux. Es el primer emulador que puede ejecutar con éxito juegos comerciales de estas consolas, y cuenta con una alta compatibilidad con la mayoría de los títulos. El emulador de Dolphin también ofrece muchas opciones que mejoran la experiencia de juego, como gráficos de alta definición, compatibilidad con controladores, estados de ahorro, códigos de trucos, netplay y más. </p>
4
- <p>Si usted es un fan de los juegos de Nintendo y quiere disfrutar de ellos en su dispositivo Android, delfín emulador pro apk última versión es una gran opción para usted. Le permite jugar sus juegos favoritos con gráficos mejorados y calidad de sonido, así como personalizar los controles y configuraciones para adaptarse a sus preferencias. También puede utilizar delfín emulador pro apk última versión para jugar en línea con tus amigos u otros jugadores de todo el mundo. Delfín emulador pro apk última versión es fácil de instalar y usar, y es compatible con muchos formatos de copias de seguridad de juegos. </p>
5
- <h2>delfín emulador pro apk última versión</h2><br /><p><b><b>Download</b> >>> <a href="https://bltlly.com/2v6Lzb">https://bltlly.com/2v6Lzb</a></b></p><br /><br />
6
- <h1>Instalación</h1>
7
- <p>Antes de que pueda utilizar delfín emulador pro apk última versión en su dispositivo Android, es necesario descargar e instalar primero. Estos son los pasos para hacerlo:</p>
8
- <ol>
9
- <li>Ir al sitio web oficial del emulador de delfines en [3](https://dolphin-emu.org/download//) y descargar la última versión beta o de desarrollo de la aplicación para Android.</li>
10
- <li>Alternativamente, se puede descargar emulador de delfines pro apk última versión de una fuente de terceros, como [1](https://apkcombo.com/dolphin-emulator-pro-alpha/org.dolphinemu.dolphinpro/). Sin embargo, tenga cuidado con el malware o los virus que pueden venir con el archivo. </li>
11
- <li>Una vez que haya descargado el archivo APK de delfín emulador pro apk última versión, localizarlo en su dispositivo utilizando una aplicación de administrador de archivos. </li>
12
-
13
- <li>Siga las instrucciones en pantalla para completar la instalación de delfín emulador pro apk última versión en su dispositivo. </li>
14
- </ol>
15
- <h1>Configuración</h1>
16
- <p>Después de instalar delfín emulador pro apk última versión en su dispositivo, es necesario configurarlo para un rendimiento óptimo y compatibilidad. Aquí hay algunos consejos sobre cómo hacerlo:</p>
17
- <ul>
18
- <li>Iniciar emulador de delfines pro apk última versión de su cajón de aplicaciones o pantalla de inicio. </li>
19
- <li>Toque en el icono del menú en la esquina superior derecha de la pantalla y seleccione Configuración.</li>
20
- <li>En el menú Configuración, puede ajustar varias opciones relacionadas con la configuración general, configuración de gráficos, configuración de audio, configuración del controlador, configuración de netplay, configuración avanzada y más. </li>
21
- <li>Para configuraciones generales, puede elegir el idioma de la aplicación, habilitar o deshabilitar el modo de doble núcleo, habilitar o deshabilitar trucos, cambiar la velocidad de emulación, etc.</li>
22
- <li>Para la configuración de gráficos, puede elegir el backend de video (OpenGL ES o Vulkan), cambiar la relación de aspecto, habilitar o deshabilitar mejoras como anti-aliasing, anisotrópico filtrado, copia EFB escalada, etc.</li>
23
- <li>Para la configuración de audio, puede cambiar el nivel de volumen, habilitar o deshabilitar el estiramiento de audio, habilitar o deshabilitar la emulación de DSP HLE, etc.</li>
24
- <li>Para la configuración del controlador, puede elegir entre controladores emulados o reales (como el mando de Wii o el mando de GameCube) para cada puerto. También puede personalizar las asignaciones de botones para cada tipo de controlador. </li>
25
- <li>Para la configuración de netplay, puede crear o unirse a una sesión de netplay con otros jugadores en línea. También puede cambiar el apodo, <h1>Características</h1>
26
- <p>Dolphin emulador pro apk última versión tiene muchas características y beneficios que lo hacen una opción superior para jugar juegos de GameCube y Wii en su dispositivo Android. Estos son algunos de ellos:</p>
27
- <ul>
28
-
29
- <li>Controlador de apoyo: Dolphin emulador pro apk última versión soporta tanto los controladores emulados y controladores reales para cada puerto. Puedes usar la pantalla táctil, un teclado, un ratón, un mando, un mando de Wii, un mando de GameCube o cualquier otro dispositivo compatible para controlar los juegos. También puede personalizar las asignaciones de botones para cada tipo de controlador. </li>
30
- <li>Guardar estados: Dolphin emulador pro apk última versión le permite guardar y cargar el progreso del juego en cualquier momento durante el juego. Puede tener varios estados de guardado para cada juego y cambiar entre ellos fácilmente. Esto es muy útil para saltarse escenas, reintentar secciones difíciles o probar diferentes resultados. </li>
31
- <li>Códigos de trucos: Dolphin emulador pro apk última versión soporta códigos de trucos para muchos juegos. Puedes usarlos para desbloquear funciones ocultas, modificar los parámetros del juego o simplemente divertirte. También puede crear sus propios códigos de trucos utilizando el editor incorporado. </li>
32
- <li>Netplay: Dolphin emulador pro apk última versión le permite jugar en línea con sus amigos u otros jugadores de todo el mundo. Puede crear o unirse a una sesión de netplay con otros usuarios del emulador de delfines y disfrutar de juegos multijugador juntos. También puedes chatear con otros jugadores usando la función de chat en el juego. </li>
33
- </ul>
34
- <h1>Consejos y trucos</h1>
35
- <p>Para utilizar delfín emulador pro apk última versión de manera eficaz y eficiente, lo que necesita saber algunos consejos y trucos que pueden ayudar a optimizar su experiencia de juego. Estos son algunos de ellos:</p>
36
- <ul>
37
- <li>Consulte la lista de compatibilidad: No todos los juegos de GameCube y Wii son compatibles con la última versión de delfín emulador pro apk. Algunos juegos pueden tener problemas gráficos, problemas de sonido o problemas de rendimiento. Para evitar perder su tiempo y ancho de banda, debe comprobar la lista de compatibilidad del emulador de delfines en [9](https://dolphin-emu.org/compat/) antes de descargar o jugar cualquier juego. </li>
38
-
39
- <li>Ajustar la configuración: Dolphin emulador pro apk última versión tiene muchos ajustes que se pueden ajustar para mejorar el rendimiento y la compatibilidad de los juegos. Sin embargo, no hay una solución única para cada juego y dispositivo. Es posible que tengas que experimentar con diferentes configuraciones para encontrar el mejor equilibrio entre velocidad y calidad para cada juego. También puedes usar la función de configuración por juego para aplicar diferentes configuraciones para diferentes juegos. </li>
40
- <li>Use trucos sabiamente: Los códigos de trucos pueden ser divertidos y útiles, pero también pueden causar problemas si se usan incorrectamente. Algunos códigos de trucos pueden bloquear el juego, dañar los datos de guardado o interferir con la red. Siempre debes hacer una copia de seguridad de tus datos guardados antes de usar códigos de trucos, y deshabilitarlos cuando juegues online con otros jugadores. </li>
41
- <li>Actualizar regularmente: Dolphin emulador pro apk última versión se actualiza constantemente con nuevas características, correcciones de errores, y mejoras de compatibilidad. Siempre debe actualizar su aplicación a la última versión para disfrutar de la mejor experiencia de juego posible. Puede consultar las actualizaciones desde la aplicación o desde el sitio web oficial del emulador de delfines en [6](https://dolphin-emu.org/download/). </li>
42
- </ul>
43
- <h1>Conclusión</h1>
44
- <p>Dolphin emulador pro apk última versión es un software potente y versátil que le permite jugar juegos de GameCube y Wii en su dispositivo Android. Tiene muchas características y opciones que mejoran la experiencia de juego, como gráficos de alta definición, compatibilidad con controladores, estados de ahorro, códigos de trucos, netplay y más. Es fácil de instalar y usar, y es compatible con muchos formatos de copias de seguridad de juegos. Delfín emulador pro apk última versión es una gran opción para los fans de Nintendo que quieren disfrutar de sus juegos favoritos en su dispositivo Android. </p>
45
- <h2>Preguntas frecuentes</h2>
46
- <p>Aquí hay algunas preguntas frecuentes acerca de delfín emulador pro apk última versión:</p>
47
- <ol>
48
-
49
- <li><b>¿Cuáles son los requisitos mínimos para ejecutar emulador de delfines pro apk última versión en Android? </b><br>Para ejecutar delfín emulador pro apk última versión en Android, necesita un dispositivo que tiene al menos un procesador de cuatro núcleos, 2 GB de RAM, y Android 5.0 o superior. También necesitas suficiente espacio de almacenamiento para almacenar la aplicación y las copias de seguridad del juego. El rendimiento y la compatibilidad de delfín emulador pro apk última versión puede variar dependiendo del modelo de dispositivo, el título del juego, y la configuración utilizada. </li>
50
- <li><b> ¿Dónde puedo obtener copias de seguridad del juego para el emulador de delfín pro apk última versión? </b><br>Usted puede obtener copias de seguridad de juegos para delfín emulador pro apk última versión de varias fuentes, tales como sus propios discos, sitios web en línea, sitios torrent, etc. Sin embargo, solo debe utilizar copias de seguridad de juegos que usted posee legalmente, como descargar o distribuir juegos piratas es ilegal y poco ético. También debe escanear las copias de seguridad del juego en busca de malware o virus antes de usarlos con emulador de delfines pro apk última versión. </li>
51
- <li><b> ¿Cómo puedo transferir copias de seguridad de juegos desde mi PC a mi dispositivo Android? </b><br>Puede transferir copias de seguridad de juegos desde su PC a su dispositivo Android utilizando varios métodos, como un cable USB, una red Wi-Fi, un servicio en la nube, etc. Solo tiene que copiar los archivos de copia de seguridad del juego desde su PC a una carpeta en su dispositivo Android que es accesible por delfín emulador pro apk última versión. A continuación, puede navegar y seleccionar los archivos de copia de seguridad del juego desde la aplicación. </li>
52
- <li><b>¿Cómo puedo reportar errores o solicitar características para el emulador de delfines pro apk última versión? </b><br>Si encuentras algún error o problema con el emulador de delfines pro apk última versión, o si usted tiene alguna sugerencia o retroalimentación para mejorar la aplicación, puede ponerse en contacto con el desarrollador de delfín emulador pro apk última versión en [2](mailto:[email protected]). También puede visitar el foro oficial del emulador de delfines en [8](https://forums.dolphin-emu.org/) para discutir con otros usuarios y desarrolladores. </li> 64aa2da5cf<br />
53
- <br />
54
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Descargar Correr Hombre Alto.md DELETED
@@ -1,98 +0,0 @@
1
-
2
- <h1>Qué es DirectX 11 y por qué lo necesita</h1>
3
- <p>Si eres un jugador de PC o un entusiasta de multimedia, probablemente hayas oído hablar de DirectX. Pero, ¿qué es exactamente y por qué lo necesitas? En este artículo, explicaremos qué es DirectX 11, cómo descargarlo e instalarlo, cómo actualizarlo a la última versión, qué beneficios ofrece para juegos y multimedia, qué juegos son compatibles con él, cuáles son los requisitos del sistema, cómo solucionar problemas comunes, y responder algunas preguntas frecuentes. </p>
4
- <h2>descargar correr hombre alto</h2><br /><p><b><b>Download</b> &#10037; <a href="https://bltlly.com/2v6LxV">https://bltlly.com/2v6LxV</a></b></p><br /><br />
5
- <p>DirectX es un conjunto de componentes en Windows que permite que el software, principalmente y especialmente los juegos, trabajen directamente con su hardware de video y audio. Los juegos que usan DirectX pueden usar funciones de acelerador multimedia integradas en su hardware de manera más eficiente, lo que mejora su experiencia multimedia general. DirectX también proporciona soporte para varias características como gráficos 3D, efectos de sonido, animación, reproducción de video y más. </p>
6
- <p>DirectX 11 es una de las versiones de DirectX que se lanzó en 2009. Introdujo muchas nuevas características y mejoras sobre las versiones anteriores, como teselación, multihilo, sombreadores de cálculo, compresión de texturas, renderizado HDR y más. DirectX 11 también admite API de bajo nivel, lo que significa que puede interactuar con el hardware de manera más directa y eficiente. Esto puede resultar en un mejor rendimiento, gráficos y calidad de sonido en sus juegos y aplicaciones multimedia. </p>
7
- <p>Si quieres disfrutar de la mejor experiencia de juego y multimedia en tu PC, necesitas tener DirectX 11 instalado y actualizado. En las siguientes secciones, le mostraremos cómo hacerlo. </p>
8
- <h2>Cómo comprobar su versión actual de DirectX</h2>
9
- <p>Antes de descargar e instalar DirectX 11, es posible que desee comprobar qué versión de DirectX tiene actualmente en su PC. De esta manera, puede ver si necesita actualizar o no. Para verificar su versión actual de DirectX, puede usar la herramienta de diagnóstico de DirectX. Estos son los pasos:</p>
10
- <ol>
11
-
12
- <li>Escriba dxdiag en el cuadro y presione Enter o haga clic en OK.</li>
13
- <li>Se abrirá la ventana de la herramienta de diagnóstico DirectX. Aquí, seleccione la pestaña Sistema. </li>
14
- <li>Bajo Información del sistema , busque la versión de DirectX . Esto le mostrará la versión actual instalada en su PC.</li>
15
- </ol>
16
- <p>Si tiene Windows 10 o Windows 8.1, ya debería tener instalado DirectX 12 o DirectX 11.1 por defecto. Si tiene Windows 7 o Windows Vista, es posible que tenga una versión anterior de DirectX como DirectX 10 o DirectX 9. En ese caso, puede descargar e instalar DirectX 11 para obtener las últimas características y mejoras. </p>
17
- <h2>Cómo descargar e instalar DirectX 11</h2>
18
- <p>Hay dos formas de descargar e instalar DirectX 11 en su PC: usando Windows Update o usando Microsoft Download Center. Recomendamos usar Windows Update ya que es el método más fácil y seguro. Sin embargo, si por alguna razón Windows Update no funciona para usted, puede usar Microsoft Download Center como alternativa. Estos son los pasos para ambos métodos:</p>
19
- <p></p>
20
- <h3>Uso de Windows Update</h3>
21
- <ol>
22
- <li>Abra la aplicación Configuración presionando Windows+I.</li>
23
- <li>Seleccionar actualización y seguridad . </li>
24
- <li>Seleccione Windows Update en la barra lateral izquierda. </li>
25
- <li>Haga clic en Buscar actualizaciones en el panel derecho. </li>
26
- <li <li>Windows descargará e instalará automáticamente la última versión de DirectX 11 para su PC. Es posible que necesite reiniciar su PC para completar la instalación. </li>
27
- </ol>
28
- <h3>Uso del centro de descargas de Microsoft</h3>
29
- <ol>
30
- <li>Vaya al sitio web del Centro de descargas de Microsoft haciendo clic en [aquí]. </li>
31
- <li>En DirectX End-User Runtime Web Installer , haga clic en Descargar . </li>
32
- <li>Guarde el archivo en su PC y ejecútelo como administrador. </li>
33
- <li>Siga las instrucciones en la pantalla para instalar DirectX 11. Es posible que tenga que aceptar el acuerdo de licencia y elegir la ubicación de instalación. </li>
34
- <li>Reinicie su PC para completar la instalación. </li>
35
- </ol>
36
- <h2>Cómo actualizar DirectX 11 a la última versión</h2>
37
-
38
- <ol>
39
- <li>Vaya al sitio web del Centro de descargas de Microsoft haciendo clic en [aquí]. </li>
40
- <li>En DirectX End-User Runtime Web Installer , haga clic en Descargar . </li>
41
- <li>Guarde el archivo en su PC y ejecútelo como administrador. </li>
42
- <li>Siga las instrucciones en la pantalla para actualizar DirectX 11. Es posible que tenga que aceptar el acuerdo de licencia y elegir la ubicación de instalación. </li>
43
- <li>Reinicie su PC para completar la actualización. </li>
44
- </ol>
45
- <h2>Beneficios de DirectX 11 para juegos y multimedia</h2>
46
- <p>Ahora que ha descargado e instalado DirectX 11, es posible que se pregunte qué beneficios ofrece para los juegos y multimedia. Bueno, hay muchos beneficios, pero estos son algunos de los más importantes:</p>
47
- <h3>Mejor rendimiento</h3>
48
- <p>DirectX 11 puede mejorar el rendimiento de sus juegos y aplicaciones multimedia utilizando su hardware de manera más eficiente. Por ejemplo, DirectX 11 soporta multithreading, lo que significa que puede usar múltiples núcleos de su CPU simultáneamente. Esto puede resultar en un procesamiento más rápido y un juego más suave. DirectX 11 también admite API de bajo nivel, lo que significa que puede interactuar con su hardware más directamente y reducir los gastos generales. Esto puede resultar en menor latencia y mayor velocidad de fotogramas. </p>
49
- <h3>Mejores gráficos</h3>
50
- <p>DirectX 11 puede mejorar la calidad gráfica de sus juegos y aplicaciones multimedia mediante el uso de funciones avanzadas como teselación, renderizado HDR, compresión de texturas y más. La teselación es una técnica que añade más detalle y realismo a los modelos 3D subdividiéndolos en polígonos más pequeños. La representación HDR es una técnica que mejora el contraste y el rango de color de las imágenes mediante el uso de iluminación de alto rango dinámico. La compresión de texturas es una técnica que reduce el tamaño de las texturas mediante el uso de algoritmos que preservan la calidad. Estas características pueden hacer que tus juegos y aplicaciones multimedia se vean más realistas, inmersivos e impresionantes. </p>
51
- <h3>Mejor calidad de sonido</h3>
52
-
53
- <h2>Juegos compatibles con DirectX 11</h2>
54
- <p>Si quieres disfrutar de los beneficios de DirectX 11, necesitas jugar juegos que sean compatibles con él. Afortunadamente, hay muchos juegos que soportan DirectX 11, tanto antiguos como nuevos. Estos son algunos ejemplos de juegos populares que soportan DirectX 11:</p>
55
- <tabla>
56
- <tr><th>Título</th><th>Género</th><th>Fecha de publicación</th></tr>
57
- <tr><td>Battlefield 4</td><td>Shooter en primera persona</td><td>2013</td></tr>
58
- <tr><td>Crysis 3</td><td>Shooter en primera persona</td><td>2013</td></tr>
59
- <tr><td>GTA V</td><td>Acción-aventura</td><td>2015</td></tr>
60
- <tr><td>The Witcher 3: Caza salvaje</td><td>Juego de rol de acción</td><td>2015</td></tr>
61
- <tr><td>Fallout 4</td><td>Juego de roles de acción</td><td>2015</td></tr>
62
- <tr><td>Rise of the Tomb Raider</td><td>Action-adventure</td><td>2016</td></tr>
63
- <tr><td>Doom (2016)</td><td>Shooter en primera persona <li>Selecciona la aplicación o juego para el que deseas ajustar la configuración. Si no aparece en la lista, haga clic en Examinar y busque el archivo ejecutable. </li>
64
- <li>Haga clic en Opciones . </li>
65
- <li>Seleccione la preferencia gráfica que desea aplicar. Puede elegir entre Predeterminado del sistema, Ahorro de energía o Alto rendimiento.</li>
66
- <li>Haga clic en Guardar . </li>
67
- <li>Repite los pasos para cualquier otra aplicación o juego para el que quieras ajustar la configuración. </li>
68
- </ol>
69
- <h3>Q: ¿Cómo puedo comprobar si mi hardware es compatible con DirectX 11? </h3>
70
- <p>A: Puede comprobar si su hardware es compatible con DirectX 11 utilizando la herramienta de diagnóstico DirectX. Esta herramienta puede proporcionarle información sobre su hardware y los componentes de DirectX 11. Para usar la herramienta de diagnóstico de DirectX, siga estos pasos:</p>
71
- <ol>
72
- <li>Pulse Windows+R para abrir el cuadro de diálogo Ejecutar. </li>
73
- <li>Escriba dxdiag en el cuadro y presione Enter o haga clic en OK.</li>
74
- <li>Se abrirá la ventana de la herramienta de diagnóstico DirectX. Aquí, puede seleccionar diferentes pestañas para ver información sobre su sistema, pantalla, sonido y dispositivos de entrada. </li>
75
-
76
- <li>El nivel de características más alto soportado por DirectX 11 es 11_1. Si su hardware soporta este nivel de características, significa que es totalmente compatible con DirectX 11. Si su hardware es compatible con un nivel de características inferior, como 10_1 o 9_3, significa que es parcialmente compatible con DirectX 11 y podría no ser capaz de utilizar algunas de las características o funciones de DirectX 11. </li>
77
- </ol>
78
- <h3>Q: ¿Cómo cambio entre DirectX 11 y DirectX 12? </h3>
79
- <p>A: Si tiene Windows 10 o Windows 8.1, es posible que tenga tanto DirectX 11 como DirectX 12 instalados en su PC. Sin embargo, no puede cambiar entre ellos manualmente, ya que están integrados en su sistema operativo y aplicaciones. La única manera de cambiar entre ellos es utilizando la configuración de la aplicación o juego que está utilizando. Algunas aplicaciones y juegos pueden permitirle elegir qué versión de DirectX desea usar, mientras que otros no. Para comprobar si una aplicación o juego le permite cambiar entre DirectX 11 y DirectX 12, busque los gráficos o las opciones de visualización en el menú de configuración. Si hay una opción para seleccionar la versión de DirectX, puede elegir entre DirectX 11 y DirectX 12. Si no existe tal opción, significa que la aplicación o juego utiliza la versión predeterminada de DirectX que es compatible con su hardware y sistema. </p>
80
- <h2>Conclusión</h2>
81
- <p>En este artículo, hemos explicado qué es DirectX 11, cómo descargarlo e instalarlo, cómo actualizarlo a la última versión, qué beneficios ofrece para juegos y multimedia, qué juegos son compatibles con él, cuáles son los requisitos del sistema, cómo solucionar problemas comunes, y respondió algunas preguntas frecuentes. Esperamos que este artículo le haya ayudado a entender y usar DirectX 11 mejor. </p>
82
- <p>Si tiene algún comentario, comentario o sugerencia, por favor háganoslo saber en la sección de comentarios a continuación. Nos encantaría saber de ti y mejorar nuestro contenido en consecuencia. ¡Gracias por leer y jugar feliz! </p>
83
- <h2>Preguntas frecuentes</h2>
84
- <ul>
85
-
86
- <li>A: DirectX es un conjunto de componentes en Windows que permite que el software, principalmente y especialmente los juegos, trabajen directamente con su hardware de video y audio. </li>
87
- <li><strong>Q: ¿Qué es DirectX 11? </strong></li>
88
- <li>A: DirectX 11 es una de las versiones de DirectX que se lanzó en 2009. Introdujo muchas nuevas características y mejoras sobre las versiones anteriores, como teselación, multihilo, sombreadores de cálculo, compresión de texturas, renderizado HDR y más. </li>
89
- <li><strong>Q: ¿Cómo puedo descargar e instalar DirectX 11? </strong></li>
90
- <li>A: Puede descargar e instalar DirectX 11 usando Windows Update o Microsoft Download Center. Alternativamente, puede utilizar el instalador web de DirectX End-User Runtime para descargar e instalar cualquier actualización disponible para DirectX 11. </li>
91
- <li><strong>Q: ¿Cómo puedo actualizar DirectX 11 a la última versión? </strong></li>
92
- <li>A: Puede actualizar DirectX 11 a la última versión usando Windows Update o Microsoft Download Center. Alternativamente, puede utilizar el instalador web de DirectX End-User Runtime para descargar e instalar cualquier actualización disponible para DirectX 11. </li>
93
- <li><strong>Q: ¿Cómo puedo comprobar mi versión actual de DirectX? </strong></li>
94
- <li>A: Puede comprobar su versión actual de DirectX utilizando la herramienta de diagnóstico de DirectX. Para utilizar la herramienta de diagnóstico DirectX, pulse Windows+R para abrir el cuadro de diálogo Ejecutar, escriba dxdiag en el cuadro y pulse Entrar o haga clic en Aceptar. Se abrirá la ventana de la herramienta de diagnóstico DirectX. Aquí, seleccione la pestaña Sistema y busque la versión de DirectX en Información del sistema. <li><strong>P: ¿Cuáles son los beneficios de DirectX 11 para juegos y multimedia? </strong></li>
95
- <li>A: DirectX 11 puede mejorar el rendimiento, los gráficos y la calidad de sonido de sus juegos y aplicaciones multimedia mediante el uso de funciones avanzadas como teselación, multihilo, sombreadores de cálculo, compresión de texturas, renderizado HDR y más. </li>
96
- </ul></p> 64aa2da5cf<br />
97
- <br />
98
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/BetterAPI/BetterChat_new/PRIVACY.md DELETED
@@ -1,35 +0,0 @@
1
- ## Privacy
2
-
3
- > Last updated: May 2nd, 2023
4
-
5
- In this `v0.1` of HuggingChat, users are not authenticated in any way, i.e. this app doesn't have access to your HF user account even if you're logged in to huggingface.co. The app is only using an anonymous session cookie. ❗️ Warning ❗️ this means if you switch browsers or clear cookies, you will currently lose your conversations.
6
-
7
- By default, your conversations are shared with the model's authors (for the `v0.1` model, to <a target="_blank" href="https://open-assistant.io/dashboard">Open Assistant</a>) to improve their training data and model over time. Model authors are the custodians of the data collected by their model, even if it's hosted on our platform.
8
-
9
- If you disable data sharing in your settings, your conversations will not be used for any downstream usage (including for research or model training purposes), and they will only be stored to let you access past conversations. You can click on the Delete icon to delete any past conversation at any moment.
10
-
11
- 🗓 Please also consult huggingface.co's main privacy policy at https://huggingface.co/privacy. To exercise any of your legal privacy rights, please send an email to [email protected].
12
-
13
- ## About available LLMs
14
-
15
- The goal of this app is to showcase that it is now (April 2023) possible to build an open source alternative to ChatGPT. 💪
16
-
17
- For now, it's running OpenAssistant's [latest LLaMA based model](https://huggingface.co/OpenAssistant/oasst-sft-6-llama-30b-xor) (which is one of the current best open source chat models), but the plan in the longer-term is to expose all good-quality chat models from the Hub.
18
-
19
- We are not affiliated with Open Assistant, but if you want to contribute to the training data for the next generation of open models, please consider contributing to https://open-assistant.io/ ❤️
20
-
21
- ## Technical details
22
-
23
- This app is running in a [Space](https://huggingface.co/docs/hub/spaces-overview), which entails that the code for this UI is open source: https://huggingface.co/spaces/huggingchat/chat-ui/tree/main.
24
- The inference backend is running [text-generation-inference](https://github.com/huggingface/text-generation-inference) on HuggingFace's Inference API infrastructure.
25
-
26
- It is therefore possible to deploy a copy of this app to a Space and customize it (swap model, add some UI elements, or store user messages according to your own Terms and conditions)
27
-
28
- We welcome any feedback on this app: please participate to the public discussion at https://huggingface.co/spaces/huggingchat/chat-ui/discussions
29
-
30
- <a target="_blank" href="https://huggingface.co/spaces/huggingchat/chat-ui/discussions"><img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-a-discussion-xl.svg" title="open a discussion"></a>
31
-
32
- ## Coming soon
33
-
34
- - LLM watermarking
35
- - User setting to share conversations with model authors (done ✅)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/utils/urls.py DELETED
@@ -1,62 +0,0 @@
1
- import os
2
- import string
3
- import urllib.parse
4
- import urllib.request
5
- from typing import Optional
6
-
7
- from .compat import WINDOWS
8
-
9
-
10
- def get_url_scheme(url: str) -> Optional[str]:
11
- if ":" not in url:
12
- return None
13
- return url.split(":", 1)[0].lower()
14
-
15
-
16
- def path_to_url(path: str) -> str:
17
- """
18
- Convert a path to a file: URL. The path will be made absolute and have
19
- quoted path parts.
20
- """
21
- path = os.path.normpath(os.path.abspath(path))
22
- url = urllib.parse.urljoin("file:", urllib.request.pathname2url(path))
23
- return url
24
-
25
-
26
- def url_to_path(url: str) -> str:
27
- """
28
- Convert a file: URL to a path.
29
- """
30
- assert url.startswith(
31
- "file:"
32
- ), f"You can only turn file: urls into filenames (not {url!r})"
33
-
34
- _, netloc, path, _, _ = urllib.parse.urlsplit(url)
35
-
36
- if not netloc or netloc == "localhost":
37
- # According to RFC 8089, same as empty authority.
38
- netloc = ""
39
- elif WINDOWS:
40
- # If we have a UNC path, prepend UNC share notation.
41
- netloc = "\\\\" + netloc
42
- else:
43
- raise ValueError(
44
- f"non-local file URIs are not supported on this platform: {url!r}"
45
- )
46
-
47
- path = urllib.request.url2pathname(netloc + path)
48
-
49
- # On Windows, urlsplit parses the path as something like "/C:/Users/foo".
50
- # This creates issues for path-related functions like io.open(), so we try
51
- # to detect and strip the leading slash.
52
- if (
53
- WINDOWS
54
- and not netloc # Not UNC.
55
- and len(path) >= 3
56
- and path[0] == "/" # Leading slash to strip.
57
- and path[1] in string.ascii_letters # Drive letter.
58
- and path[2:4] in (":", ":/") # Colon + end of string, or colon + absolute path.
59
- ):
60
- path = path[1:]
61
-
62
- return path
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/resolvelib/compat/__init__.py DELETED
File without changes
spaces/CVPR/WALT/mmdet/models/dense_heads/pisa_retinanet_head.py DELETED
@@ -1,154 +0,0 @@
1
- import torch
2
- from mmcv.runner import force_fp32
3
-
4
- from mmdet.core import images_to_levels
5
- from ..builder import HEADS
6
- from ..losses import carl_loss, isr_p
7
- from .retina_head import RetinaHead
8
-
9
-
10
- @HEADS.register_module()
11
- class PISARetinaHead(RetinaHead):
12
- """PISA Retinanet Head.
13
-
14
- The head owns the same structure with Retinanet Head, but differs in two
15
- aspects:
16
- 1. Importance-based Sample Reweighting Positive (ISR-P) is applied to
17
- change the positive loss weights.
18
- 2. Classification-aware regression loss is adopted as a third loss.
19
- """
20
-
21
- @force_fp32(apply_to=('cls_scores', 'bbox_preds'))
22
- def loss(self,
23
- cls_scores,
24
- bbox_preds,
25
- gt_bboxes,
26
- gt_labels,
27
- img_metas,
28
- gt_bboxes_ignore=None):
29
- """Compute losses of the head.
30
-
31
- Args:
32
- cls_scores (list[Tensor]): Box scores for each scale level
33
- Has shape (N, num_anchors * num_classes, H, W)
34
- bbox_preds (list[Tensor]): Box energies / deltas for each scale
35
- level with shape (N, num_anchors * 4, H, W)
36
- gt_bboxes (list[Tensor]): Ground truth bboxes of each image
37
- with shape (num_obj, 4).
38
- gt_labels (list[Tensor]): Ground truth labels of each image
39
- with shape (num_obj, 4).
40
- img_metas (list[dict]): Meta information of each image, e.g.,
41
- image size, scaling factor, etc.
42
- gt_bboxes_ignore (list[Tensor]): Ignored gt bboxes of each image.
43
- Default: None.
44
-
45
- Returns:
46
- dict: Loss dict, comprise classification loss, regression loss and
47
- carl loss.
48
- """
49
- featmap_sizes = [featmap.size()[-2:] for featmap in cls_scores]
50
- assert len(featmap_sizes) == self.anchor_generator.num_levels
51
-
52
- device = cls_scores[0].device
53
-
54
- anchor_list, valid_flag_list = self.get_anchors(
55
- featmap_sizes, img_metas, device=device)
56
- label_channels = self.cls_out_channels if self.use_sigmoid_cls else 1
57
- cls_reg_targets = self.get_targets(
58
- anchor_list,
59
- valid_flag_list,
60
- gt_bboxes,
61
- img_metas,
62
- gt_bboxes_ignore_list=gt_bboxes_ignore,
63
- gt_labels_list=gt_labels,
64
- label_channels=label_channels,
65
- return_sampling_results=True)
66
- if cls_reg_targets is None:
67
- return None
68
- (labels_list, label_weights_list, bbox_targets_list, bbox_weights_list,
69
- num_total_pos, num_total_neg, sampling_results_list) = cls_reg_targets
70
- num_total_samples = (
71
- num_total_pos + num_total_neg if self.sampling else num_total_pos)
72
-
73
- # anchor number of multi levels
74
- num_level_anchors = [anchors.size(0) for anchors in anchor_list[0]]
75
- # concat all level anchors and flags to a single tensor
76
- concat_anchor_list = []
77
- for i in range(len(anchor_list)):
78
- concat_anchor_list.append(torch.cat(anchor_list[i]))
79
- all_anchor_list = images_to_levels(concat_anchor_list,
80
- num_level_anchors)
81
-
82
- num_imgs = len(img_metas)
83
- flatten_cls_scores = [
84
- cls_score.permute(0, 2, 3, 1).reshape(num_imgs, -1, label_channels)
85
- for cls_score in cls_scores
86
- ]
87
- flatten_cls_scores = torch.cat(
88
- flatten_cls_scores, dim=1).reshape(-1,
89
- flatten_cls_scores[0].size(-1))
90
- flatten_bbox_preds = [
91
- bbox_pred.permute(0, 2, 3, 1).reshape(num_imgs, -1, 4)
92
- for bbox_pred in bbox_preds
93
- ]
94
- flatten_bbox_preds = torch.cat(
95
- flatten_bbox_preds, dim=1).view(-1, flatten_bbox_preds[0].size(-1))
96
- flatten_labels = torch.cat(labels_list, dim=1).reshape(-1)
97
- flatten_label_weights = torch.cat(
98
- label_weights_list, dim=1).reshape(-1)
99
- flatten_anchors = torch.cat(all_anchor_list, dim=1).reshape(-1, 4)
100
- flatten_bbox_targets = torch.cat(
101
- bbox_targets_list, dim=1).reshape(-1, 4)
102
- flatten_bbox_weights = torch.cat(
103
- bbox_weights_list, dim=1).reshape(-1, 4)
104
-
105
- # Apply ISR-P
106
- isr_cfg = self.train_cfg.get('isr', None)
107
- if isr_cfg is not None:
108
- all_targets = (flatten_labels, flatten_label_weights,
109
- flatten_bbox_targets, flatten_bbox_weights)
110
- with torch.no_grad():
111
- all_targets = isr_p(
112
- flatten_cls_scores,
113
- flatten_bbox_preds,
114
- all_targets,
115
- flatten_anchors,
116
- sampling_results_list,
117
- bbox_coder=self.bbox_coder,
118
- loss_cls=self.loss_cls,
119
- num_class=self.num_classes,
120
- **self.train_cfg.isr)
121
- (flatten_labels, flatten_label_weights, flatten_bbox_targets,
122
- flatten_bbox_weights) = all_targets
123
-
124
- # For convenience we compute loss once instead separating by fpn level,
125
- # so that we don't need to separate the weights by level again.
126
- # The result should be the same
127
- losses_cls = self.loss_cls(
128
- flatten_cls_scores,
129
- flatten_labels,
130
- flatten_label_weights,
131
- avg_factor=num_total_samples)
132
- losses_bbox = self.loss_bbox(
133
- flatten_bbox_preds,
134
- flatten_bbox_targets,
135
- flatten_bbox_weights,
136
- avg_factor=num_total_samples)
137
- loss_dict = dict(loss_cls=losses_cls, loss_bbox=losses_bbox)
138
-
139
- # CARL Loss
140
- carl_cfg = self.train_cfg.get('carl', None)
141
- if carl_cfg is not None:
142
- loss_carl = carl_loss(
143
- flatten_cls_scores,
144
- flatten_labels,
145
- flatten_bbox_preds,
146
- flatten_bbox_targets,
147
- self.loss_bbox,
148
- **self.train_cfg.carl,
149
- avg_factor=num_total_pos,
150
- sigmoid=True,
151
- num_class=self.num_classes)
152
- loss_dict.update(loss_carl)
153
-
154
- return loss_dict
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ChandraMohanNayal/AutoGPT/.devcontainer/Dockerfile DELETED
@@ -1,28 +0,0 @@
1
- # [Choice] Python version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.10, 3-bullseye, 3.10-bullseye, 3-buster, 3.10-buster
2
- ARG VARIANT=3-bullseye
3
- FROM --platform=linux/amd64 python:3.10
4
-
5
- RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
6
- # Remove imagemagick due to https://security-tracker.debian.org/tracker/CVE-2019-10131
7
- && apt-get purge -y imagemagick imagemagick-6-common
8
-
9
- # Temporary: Upgrade python packages due to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40897
10
- # They are installed by the base image (python) which does not have the patch.
11
- RUN python3 -m pip install --upgrade setuptools
12
-
13
- # Install Chrome for web browsing
14
- RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
15
- && curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_$(dpkg --print-architecture).deb -o /tmp/chrome.deb \
16
- && apt-get -y install /tmp/chrome.deb
17
-
18
- # [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
19
- # COPY requirements.txt /tmp/pip-tmp/
20
- # RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
21
- # && rm -rf /tmp/pip-tmp
22
-
23
- # [Optional] Uncomment this section to install additional OS packages.
24
- # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
25
- # && apt-get -y install --no-install-recommends <your-package-list-here>
26
-
27
- # [Optional] Uncomment this line to install global node packages.
28
- # RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Chomkwoy/Nilkessye/utils/keypoint.py DELETED
@@ -1,245 +0,0 @@
1
- import numpy as np
2
- import torch
3
- import torch.nn.functional as F
4
-
5
-
6
- def _nms(heat, kernel=1):
7
- hmax = F.max_pool2d(heat, (kernel, kernel), stride=1, padding=(kernel - 1) // 2)
8
- keep = (hmax == heat).float()
9
- return heat * keep
10
-
11
-
12
- def _gather_feat(feat, ind, mask=None):
13
- dim = feat.size(2)
14
- ind = ind.unsqueeze(2).expand(ind.size(0), ind.size(1), dim)
15
- feat = feat.gather(1, ind)
16
- if mask is not None:
17
- mask = mask.unsqueeze(2).expand_as(feat)
18
- feat = feat[mask]
19
- feat = feat.view(-1, dim)
20
- return feat
21
-
22
-
23
- def _tranpose_and_gather_feature(feature, ind):
24
- feature = feature.permute(0, 2, 3, 1).contiguous() # [B, C, H, W] => [B, H, W, C]
25
- feature = feature.view(feature.size(0), -1, feature.size(3)) # [B, H, W, C] => [B, H x W, C]
26
- ind = ind[:, :, None].expand(ind.shape[0], ind.shape[1], feature.shape[-1]) # [B, num_obj] => [B, num_obj, C]
27
- feature = feature.gather(1, ind) # [B, H x W, C] => [B, num_obj, C]
28
- return feature
29
-
30
-
31
- def _topk(score_map, K=20):
32
- batch, cat, height, width = score_map.size()
33
-
34
- topk_scores, topk_inds = torch.topk(score_map.reshape(batch, -1), K)
35
-
36
- topk_classes = (topk_inds / (height * width)).int()
37
- topk_inds = topk_inds % (height * width)
38
- topk_ys = (topk_inds / width).int().float()
39
- topk_xs = (topk_inds % width).int().float()
40
- return topk_scores, topk_inds, topk_classes, topk_ys, topk_xs
41
-
42
-
43
- def _decode(hmap_tl, hmap_br, hmap_ct,
44
- embd_tl, embd_br,
45
- regs_tl, regs_br, regs_ct_and_seq,
46
- K, kernel, ae_threshold, num_dets=1000,
47
- ct_softmax=False):
48
- batch, cat, height, width = hmap_tl.shape
49
-
50
- hmap_tl = torch.sigmoid(hmap_tl)
51
- hmap_br = torch.sigmoid(hmap_br)
52
- if ct_softmax:
53
- hmap_ct = torch.softmax(torch.cat([hmap_ct, torch.zeros_like(hmap_ct[:, :1])], 1), 1)[:, :hmap_ct.shape[1]]
54
- else:
55
- hmap_ct = torch.sigmoid(hmap_ct)
56
-
57
- # perform nms on heatmaps
58
- hmap_tl = _nms(hmap_tl, kernel=kernel)
59
- hmap_br = _nms(hmap_br, kernel=kernel)
60
- hmap_ct = _nms(hmap_ct, kernel=kernel)
61
-
62
- scores_tl, inds_tl, clses_tl, ys_tl, xs_tl = _topk(hmap_tl, K=K)
63
- scores_br, inds_br, clses_br, ys_br, xs_br = _topk(hmap_br, K=K)
64
- scores_ct, inds_ct, clses_ct, ys_ct, xs_ct = _topk(hmap_ct, K=K)
65
-
66
- xs_tl = xs_tl.view(batch, K, 1).expand(batch, K, K)
67
- ys_tl = ys_tl.view(batch, K, 1).expand(batch, K, K)
68
- xs_br = xs_br.view(batch, 1, K).expand(batch, K, K)
69
- ys_br = ys_br.view(batch, 1, K).expand(batch, K, K)
70
- xs_ct = xs_ct.view(batch, 1, K).expand(batch, K, K)
71
- ys_ct = ys_ct.view(batch, 1, K).expand(batch, K, K)
72
-
73
- seq_pred = None
74
- if regs_tl is not None and regs_br is not None:
75
- regs_tl = _tranpose_and_gather_feature(regs_tl, inds_tl)
76
- regs_br = _tranpose_and_gather_feature(regs_br, inds_br)
77
- regs_ct = _tranpose_and_gather_feature(regs_ct_and_seq, inds_ct)[..., :2]
78
- seq_pred = _tranpose_and_gather_feature(regs_ct_and_seq, inds_ct)[..., 2]
79
- regs_tl = regs_tl.view(batch, K, 1, 2)
80
- regs_br = regs_br.view(batch, 1, K, 2)
81
- regs_ct = regs_ct.view(batch, 1, K, 2)
82
-
83
- xs_tl = xs_tl + regs_tl[..., 0]
84
- ys_tl = ys_tl + regs_tl[..., 1]
85
- xs_br = xs_br + regs_br[..., 0]
86
- ys_br = ys_br + regs_br[..., 1]
87
- xs_ct = xs_ct + regs_ct[..., 0]
88
- ys_ct = ys_ct + regs_ct[..., 1]
89
-
90
- # all possible boxes based on top k corners (ignoring class)
91
- bboxes = torch.stack((xs_tl, ys_tl, xs_br, ys_br), dim=3)
92
-
93
- embd_tl = _tranpose_and_gather_feature(embd_tl, inds_tl)
94
- embd_br = _tranpose_and_gather_feature(embd_br, inds_br)
95
- dists = torch.cdist(embd_tl, embd_br, p=1.0)
96
-
97
- scores_tl = scores_tl.view(batch, K, 1).expand(batch, K, K)
98
- scores_br = scores_br.view(batch, 1, K).expand(batch, K, K)
99
- scores = (scores_tl + scores_br) / 2
100
-
101
- # reject boxes based on classes
102
- clses_tl = clses_tl.view(batch, K, 1).expand(batch, K, K)
103
- clses_br = clses_br.view(batch, 1, K).expand(batch, K, K)
104
- cls_inds = (clses_tl != clses_br)
105
-
106
- # reject boxes based on distances
107
- dist_inds = (dists > ae_threshold)
108
-
109
- # reject boxes based on widths and heights
110
- width_inds = (xs_br < xs_tl)
111
- height_inds = (ys_br < ys_tl)
112
-
113
- scores[cls_inds] = -1
114
- scores[dist_inds] = -1
115
- scores[width_inds] = -1
116
- scores[height_inds] = -1
117
-
118
- scores = scores.view(batch, -1)
119
- scores, inds = torch.topk(scores, num_dets)
120
- scores = scores.unsqueeze(2)
121
-
122
- bboxes = bboxes.view(batch, -1, 4)
123
- bboxes = _gather_feat(bboxes, inds)
124
-
125
- classes = clses_tl.contiguous().view(batch, -1, 1)
126
- classes = _gather_feat(classes, inds).float()
127
-
128
- scores_tl = scores_tl.contiguous().view(batch, -1, 1)
129
- scores_br = scores_br.contiguous().view(batch, -1, 1)
130
- scores_tl = _gather_feat(scores_tl, inds).float()
131
- scores_br = _gather_feat(scores_br, inds).float()
132
-
133
- xs_ct = xs_ct[:, 0, :]
134
- ys_ct = ys_ct[:, 0, :]
135
-
136
- center = torch.stack([xs_ct, ys_ct, clses_ct.float(), scores_ct], dim=-1)
137
- detections = torch.cat([bboxes, scores, scores_tl, scores_br, classes], dim=2)
138
- return detections, center, seq_pred
139
-
140
-
141
- def _rescale_dets(detections, centers, ratios, borders, sizes):
142
- xs, ys = detections[..., 0:4:2], detections[..., 1:4:2]
143
- xs /= ratios[:, 1][:, None, None]
144
- ys /= ratios[:, 0][:, None, None]
145
- xs -= borders[:, 2][:, None, None]
146
- ys -= borders[:, 0][:, None, None]
147
-
148
- tx_inds = xs[:, :, 0] <= -5
149
- bx_inds = xs[:, :, 1] >= sizes[0, 1] + 5
150
- ty_inds = ys[:, :, 0] <= -5
151
- by_inds = ys[:, :, 1] >= sizes[0, 0] + 5
152
-
153
- np.clip(xs, 0, sizes[:, 1][:, None, None], out=xs)
154
- np.clip(ys, 0, sizes[:, 0][:, None, None], out=ys)
155
-
156
- detections[:, tx_inds[0, :], 4] = -1
157
- detections[:, bx_inds[0, :], 4] = -1
158
- detections[:, ty_inds[0, :], 4] = -1
159
- detections[:, by_inds[0, :], 4] = -1
160
-
161
- centers[..., [0]] /= ratios[:, 1][:, None, None]
162
- centers[..., [1]] /= ratios[:, 0][:, None, None]
163
- centers[..., [0]] -= borders[:, 2][:, None, None]
164
- centers[..., [1]] -= borders[:, 0][:, None, None]
165
- np.clip(centers[..., [0]], 0, sizes[:, 1][:, None, None], out=centers[..., [0]])
166
- np.clip(centers[..., [1]], 0, sizes[:, 0][:, None, None], out=centers[..., [1]])
167
-
168
-
169
- def center_match(detections, centers):
170
- valid_ind = detections[:, 4] > -1
171
- valid_detections = detections[valid_ind]
172
-
173
- box_width = valid_detections[:, 2] - valid_detections[:, 0]
174
- box_height = valid_detections[:, 3] - valid_detections[:, 1]
175
-
176
- small_box_ind = (box_width * box_height <= 22500)
177
- large_box_ind = (box_width * box_height > 22500)
178
-
179
- small_detections = valid_detections[small_box_ind]
180
- large_detections = valid_detections[large_box_ind]
181
-
182
- small_left_x = ((2 * small_detections[:, 0] + small_detections[:, 2]) / 3)[None, :]
183
- small_right_x = ((small_detections[:, 0] + 2 * small_detections[:, 2]) / 3)[None, :]
184
- small_top_y = ((2 * small_detections[:, 1] + small_detections[:, 3]) / 3)[None, :]
185
- small_bottom_y = ((small_detections[:, 1] + 2 * small_detections[:, 3]) / 3)[None, :]
186
-
187
- small_temp_score = small_detections[:, 4].copy()
188
- # small_temp_score = copy.copy(small_detections[:, 4])
189
- small_detections[:, 4] = -1
190
-
191
- center_x = centers[:, 0][:, None]
192
- center_y = centers[:, 1][:, None]
193
-
194
- ind_lx = (center_x - small_left_x) > 0
195
- ind_rx = (center_x - small_right_x) < 0
196
- ind_ty = (center_y - small_top_y) > 0
197
- ind_by = (center_y - small_bottom_y) < 0
198
- ind_cls = centers[:, 2][:, None] == small_detections[:, -1][None, :]
199
- ind_small_new_score = np.max(((ind_lx + 0) &
200
- (ind_rx + 0) &
201
- (ind_ty + 0) &
202
- (ind_by + 0) &
203
- (ind_cls + 0)), axis=0) == 1
204
- index_small_new_score = np.argmax(((ind_lx + 0) &
205
- (ind_rx + 0) &
206
- (ind_ty + 0) &
207
- (ind_by + 0) &
208
- (ind_cls + 0))[:, ind_small_new_score], axis=0)
209
- small_detections[:, 4][ind_small_new_score] = \
210
- (small_temp_score[ind_small_new_score] * 2 + centers[index_small_new_score, 3]) / 3
211
-
212
- large_left_x = ((3 * large_detections[:, 0] + 2 * large_detections[:, 2]) / 5)[None, :]
213
- large_right_x = ((2 * large_detections[:, 0] + 3 * large_detections[:, 2]) / 5)[None, :]
214
- large_top_y = ((3 * large_detections[:, 1] + 2 * large_detections[:, 3]) / 5)[None, :]
215
- large_bottom_y = ((2 * large_detections[:, 1] + 3 * large_detections[:, 3]) / 5)[None, :]
216
-
217
- large_temp_score = large_detections[:, 4].copy()
218
- # large_temp_score = copy.copy(large_detections[:, 4])
219
- large_detections[:, 4] = -1
220
-
221
- center_x = centers[:, 0][:, None]
222
- center_y = centers[:, 1][:, None]
223
-
224
- ind_lx = (center_x - large_left_x) > 0
225
- ind_rx = (center_x - large_right_x) < 0
226
- ind_ty = (center_y - large_top_y) > 0
227
- ind_by = (center_y - large_bottom_y) < 0
228
- ind_cls = centers[:, 2][:, None] == large_detections[:, -1][None, :]
229
- ind_large_new_score = np.max(((ind_lx + 0) &
230
- (ind_rx + 0) &
231
- (ind_ty + 0) &
232
- (ind_by + 0) &
233
- (ind_cls + 0)), axis=0) == 1
234
- index_l_new_score = np.argmax(((ind_lx + 0) &
235
- (ind_rx + 0) &
236
- (ind_ty + 0) &
237
- (ind_by + 0) &
238
- (ind_cls + 0))[:, ind_large_new_score], axis=0)
239
- large_detections[:, 4][ind_large_new_score] = \
240
- (large_temp_score[ind_large_new_score] * 2 + centers[index_l_new_score, 3]) / 3
241
-
242
- detections = np.concatenate([large_detections, small_detections], axis=0)
243
- detections = detections[np.argsort(-detections[:, 4])]
244
- clses = detections[..., -1]
245
- return detections, clses
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CjangCjengh/Shanghainese-TTS/text/__init__.py DELETED
@@ -1,32 +0,0 @@
1
- """ from https://github.com/keithito/tacotron """
2
- from text import cleaners
3
-
4
-
5
- def text_to_sequence(text, symbols, cleaner_names):
6
- '''Converts a string of text to a sequence of IDs corresponding to the symbols in the text.
7
- Args:
8
- text: string to convert to a sequence
9
- cleaner_names: names of the cleaner functions to run the text through
10
- Returns:
11
- List of integers corresponding to the symbols in the text
12
- '''
13
- _symbol_to_id = {s: i for i, s in enumerate(symbols)}
14
-
15
- sequence = []
16
-
17
- clean_text = _clean_text(text, cleaner_names)
18
- for symbol in clean_text:
19
- if symbol not in _symbol_to_id.keys():
20
- continue
21
- symbol_id = _symbol_to_id[symbol]
22
- sequence += [symbol_id]
23
- return sequence
24
-
25
-
26
- def _clean_text(text, cleaner_names):
27
- for name in cleaner_names:
28
- cleaner = getattr(cleaners, name)
29
- if not cleaner:
30
- raise Exception('Unknown cleaner: %s' % name)
31
- text = cleaner(text)
32
- return text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/PIL/ImageSequence.py DELETED
@@ -1,76 +0,0 @@
1
- #
2
- # The Python Imaging Library.
3
- # $Id$
4
- #
5
- # sequence support classes
6
- #
7
- # history:
8
- # 1997-02-20 fl Created
9
- #
10
- # Copyright (c) 1997 by Secret Labs AB.
11
- # Copyright (c) 1997 by Fredrik Lundh.
12
- #
13
- # See the README file for information on usage and redistribution.
14
- #
15
-
16
- ##
17
-
18
-
19
- class Iterator:
20
- """
21
- This class implements an iterator object that can be used to loop
22
- over an image sequence.
23
-
24
- You can use the ``[]`` operator to access elements by index. This operator
25
- will raise an :py:exc:`IndexError` if you try to access a nonexistent
26
- frame.
27
-
28
- :param im: An image object.
29
- """
30
-
31
- def __init__(self, im):
32
- if not hasattr(im, "seek"):
33
- msg = "im must have seek method"
34
- raise AttributeError(msg)
35
- self.im = im
36
- self.position = getattr(self.im, "_min_frame", 0)
37
-
38
- def __getitem__(self, ix):
39
- try:
40
- self.im.seek(ix)
41
- return self.im
42
- except EOFError as e:
43
- raise IndexError from e # end of sequence
44
-
45
- def __iter__(self):
46
- return self
47
-
48
- def __next__(self):
49
- try:
50
- self.im.seek(self.position)
51
- self.position += 1
52
- return self.im
53
- except EOFError as e:
54
- raise StopIteration from e
55
-
56
-
57
- def all_frames(im, func=None):
58
- """
59
- Applies a given function to all frames in an image or a list of images.
60
- The frames are returned as a list of separate images.
61
-
62
- :param im: An image, or a list of images.
63
- :param func: The function to apply to all of the image frames.
64
- :returns: A list of images.
65
- """
66
- if not isinstance(im, list):
67
- im = [im]
68
-
69
- ims = []
70
- for imSequence in im:
71
- current = imSequence.tell()
72
-
73
- ims += [im_frame.copy() for im_frame in Iterator(imSequence)]
74
-
75
- imSequence.seek(current)
76
- return [func(im) for im in ims] if func else ims
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/fontTools/pens/cairoPen.py DELETED
@@ -1,26 +0,0 @@
1
- """Pen to draw to a Cairo graphics library context."""
2
-
3
- from fontTools.pens.basePen import BasePen
4
-
5
-
6
- __all__ = ["CairoPen"]
7
-
8
-
9
- class CairoPen(BasePen):
10
- """Pen to draw to a Cairo graphics library context."""
11
-
12
- def __init__(self, glyphSet, context):
13
- BasePen.__init__(self, glyphSet)
14
- self.context = context
15
-
16
- def _moveTo(self, p):
17
- self.context.move_to(*p)
18
-
19
- def _lineTo(self, p):
20
- self.context.line_to(*p)
21
-
22
- def _curveToOne(self, p1, p2, p3):
23
- self.context.curve_to(*p1, *p2, *p3)
24
-
25
- def _closePath(self):
26
- self.context.close_path()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/fontTools/ttLib/tables/V_O_R_G_.py DELETED
@@ -1,159 +0,0 @@
1
- from fontTools.misc.textTools import bytesjoin, safeEval
2
- from . import DefaultTable
3
- import struct
4
-
5
-
6
- class table_V_O_R_G_(DefaultTable.DefaultTable):
7
-
8
- """This table is structured so that you can treat it like a dictionary keyed by glyph name.
9
-
10
- ``ttFont['VORG'][<glyphName>]`` will return the vertical origin for any glyph.
11
-
12
- ``ttFont['VORG'][<glyphName>] = <value>`` will set the vertical origin for any glyph.
13
- """
14
-
15
- def decompile(self, data, ttFont):
16
- self.getGlyphName = (
17
- ttFont.getGlyphName
18
- ) # for use in get/set item functions, for access by GID
19
- (
20
- self.majorVersion,
21
- self.minorVersion,
22
- self.defaultVertOriginY,
23
- self.numVertOriginYMetrics,
24
- ) = struct.unpack(">HHhH", data[:8])
25
- assert (
26
- self.majorVersion <= 1
27
- ), "Major version of VORG table is higher than I know how to handle"
28
- data = data[8:]
29
- vids = []
30
- gids = []
31
- pos = 0
32
- for i in range(self.numVertOriginYMetrics):
33
- gid, vOrigin = struct.unpack(">Hh", data[pos : pos + 4])
34
- pos += 4
35
- gids.append(gid)
36
- vids.append(vOrigin)
37
-
38
- self.VOriginRecords = vOrig = {}
39
- glyphOrder = ttFont.getGlyphOrder()
40
- try:
41
- names = [glyphOrder[gid] for gid in gids]
42
- except IndexError:
43
- getGlyphName = self.getGlyphName
44
- names = map(getGlyphName, gids)
45
-
46
- for name, vid in zip(names, vids):
47
- vOrig[name] = vid
48
-
49
- def compile(self, ttFont):
50
- vorgs = list(self.VOriginRecords.values())
51
- names = list(self.VOriginRecords.keys())
52
- nameMap = ttFont.getReverseGlyphMap()
53
- try:
54
- gids = [nameMap[name] for name in names]
55
- except KeyError:
56
- nameMap = ttFont.getReverseGlyphMap(rebuild=True)
57
- gids = [nameMap[name] for name in names]
58
- vOriginTable = list(zip(gids, vorgs))
59
- self.numVertOriginYMetrics = len(vorgs)
60
- vOriginTable.sort() # must be in ascending GID order
61
- dataList = [struct.pack(">Hh", rec[0], rec[1]) for rec in vOriginTable]
62
- header = struct.pack(
63
- ">HHhH",
64
- self.majorVersion,
65
- self.minorVersion,
66
- self.defaultVertOriginY,
67
- self.numVertOriginYMetrics,
68
- )
69
- dataList.insert(0, header)
70
- data = bytesjoin(dataList)
71
- return data
72
-
73
- def toXML(self, writer, ttFont):
74
- writer.simpletag("majorVersion", value=self.majorVersion)
75
- writer.newline()
76
- writer.simpletag("minorVersion", value=self.minorVersion)
77
- writer.newline()
78
- writer.simpletag("defaultVertOriginY", value=self.defaultVertOriginY)
79
- writer.newline()
80
- writer.simpletag("numVertOriginYMetrics", value=self.numVertOriginYMetrics)
81
- writer.newline()
82
- vOriginTable = []
83
- glyphNames = self.VOriginRecords.keys()
84
- for glyphName in glyphNames:
85
- try:
86
- gid = ttFont.getGlyphID(glyphName)
87
- except:
88
- assert 0, (
89
- "VORG table contains a glyph name not in ttFont.getGlyphNames(): "
90
- + str(glyphName)
91
- )
92
- vOriginTable.append([gid, glyphName, self.VOriginRecords[glyphName]])
93
- vOriginTable.sort()
94
- for entry in vOriginTable:
95
- vOriginRec = VOriginRecord(entry[1], entry[2])
96
- vOriginRec.toXML(writer, ttFont)
97
-
98
- def fromXML(self, name, attrs, content, ttFont):
99
- if not hasattr(self, "VOriginRecords"):
100
- self.VOriginRecords = {}
101
- self.getGlyphName = (
102
- ttFont.getGlyphName
103
- ) # for use in get/set item functions, for access by GID
104
- if name == "VOriginRecord":
105
- vOriginRec = VOriginRecord()
106
- for element in content:
107
- if isinstance(element, str):
108
- continue
109
- name, attrs, content = element
110
- vOriginRec.fromXML(name, attrs, content, ttFont)
111
- self.VOriginRecords[vOriginRec.glyphName] = vOriginRec.vOrigin
112
- elif "value" in attrs:
113
- setattr(self, name, safeEval(attrs["value"]))
114
-
115
- def __getitem__(self, glyphSelector):
116
- if isinstance(glyphSelector, int):
117
- # its a gid, convert to glyph name
118
- glyphSelector = self.getGlyphName(glyphSelector)
119
-
120
- if glyphSelector not in self.VOriginRecords:
121
- return self.defaultVertOriginY
122
-
123
- return self.VOriginRecords[glyphSelector]
124
-
125
- def __setitem__(self, glyphSelector, value):
126
- if isinstance(glyphSelector, int):
127
- # its a gid, convert to glyph name
128
- glyphSelector = self.getGlyphName(glyphSelector)
129
-
130
- if value != self.defaultVertOriginY:
131
- self.VOriginRecords[glyphSelector] = value
132
- elif glyphSelector in self.VOriginRecords:
133
- del self.VOriginRecords[glyphSelector]
134
-
135
- def __delitem__(self, glyphSelector):
136
- del self.VOriginRecords[glyphSelector]
137
-
138
-
139
- class VOriginRecord(object):
140
- def __init__(self, name=None, vOrigin=None):
141
- self.glyphName = name
142
- self.vOrigin = vOrigin
143
-
144
- def toXML(self, writer, ttFont):
145
- writer.begintag("VOriginRecord")
146
- writer.newline()
147
- writer.simpletag("glyphName", value=self.glyphName)
148
- writer.newline()
149
- writer.simpletag("vOrigin", value=self.vOrigin)
150
- writer.newline()
151
- writer.endtag("VOriginRecord")
152
- writer.newline()
153
-
154
- def fromXML(self, name, attrs, content, ttFont):
155
- value = attrs["value"]
156
- if name == "glyphName":
157
- setattr(self, name, value)
158
- else:
159
- setattr(self, name, safeEval(value))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/gradio/components/timeseries.py DELETED
@@ -1,157 +0,0 @@
1
- """gr.Timeseries() component."""
2
-
3
- from __future__ import annotations
4
-
5
- from pathlib import Path
6
- from typing import Any, Callable, Literal
7
-
8
- import pandas as pd
9
- from gradio_client.documentation import document, set_documentation_group
10
- from gradio_client.serializing import JSONSerializable
11
-
12
- from gradio.components.base import IOComponent, _Keywords
13
- from gradio.events import Changeable
14
-
15
- set_documentation_group("component")
16
-
17
-
18
- @document()
19
- class Timeseries(Changeable, IOComponent, JSONSerializable):
20
- """
21
- Creates a component that can be used to upload/preview timeseries csv files or display a dataframe consisting of a time series graphically.
22
- Preprocessing: passes the uploaded timeseries data as a {pandas.DataFrame} into the function
23
- Postprocessing: expects a {pandas.DataFrame} or {str} path to a csv to be returned, which is then displayed as a timeseries graph
24
- Examples-format: a {str} filepath of csv data with time series data.
25
- Demos: fraud_detector
26
- """
27
-
28
- def __init__(
29
- self,
30
- value: str | Callable | None = None,
31
- *,
32
- x: str | None = None,
33
- y: str | list[str] | None = None,
34
- colors: list[str] | None = None,
35
- label: str | None = None,
36
- every: float | None = None,
37
- show_label: bool | None = None,
38
- container: bool = True,
39
- scale: int | None = None,
40
- min_width: int = 160,
41
- interactive: bool | None = None,
42
- visible: bool = True,
43
- elem_id: str | None = None,
44
- elem_classes: list[str] | str | None = None,
45
- **kwargs,
46
- ):
47
- """
48
- Parameters:
49
- value: File path for the timeseries csv file. If callable, the function will be called whenever the app loads to set the initial value of the component.
50
- x: Column name of x (time) series. None if csv has no headers, in which case first column is x series.
51
- y: Column name of y series, or list of column names if multiple series. None if csv has no headers, in which case every column after first is a y series.
52
- label: component name in interface.
53
- every: If `value` is a callable, run the function 'every' number of seconds while the client connection is open. Has no effect otherwise. Queue must be enabled. The event can be accessed (e.g. to cancel it) via this component's .load_event attribute.
54
- colors: an ordered list of colors to use for each line plot
55
- show_label: if True, will display label.
56
- container: If True, will place the component in a container - providing some extra padding around the border.
57
- scale: relative width compared to adjacent Components in a Row. For example, if Component A has scale=2, and Component B has scale=1, A will be twice as wide as B. Should be an integer.
58
- min_width: minimum pixel width, will wrap if not sufficient screen space to satisfy this value. If a certain scale value results in this Component being narrower than min_width, the min_width parameter will be respected first.
59
- interactive: if True, will allow users to upload a timeseries csv; if False, can only be used to display timeseries data. If not provided, this is inferred based on whether the component is used as an input or output.
60
- visible: If False, component will be hidden.
61
- elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
62
- elem_classes: An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.
63
- """
64
- self.x = x
65
- if isinstance(y, str):
66
- y = [y]
67
- self.y = y
68
- self.colors = colors
69
- IOComponent.__init__(
70
- self,
71
- label=label,
72
- every=every,
73
- show_label=show_label,
74
- container=container,
75
- scale=scale,
76
- min_width=min_width,
77
- interactive=interactive,
78
- visible=visible,
79
- elem_id=elem_id,
80
- elem_classes=elem_classes,
81
- value=value,
82
- **kwargs,
83
- )
84
-
85
- def get_config(self):
86
- return {
87
- "x": self.x,
88
- "y": self.y,
89
- "value": self.value,
90
- "colors": self.colors,
91
- **IOComponent.get_config(self),
92
- }
93
-
94
- @staticmethod
95
- def update(
96
- value: Any | Literal[_Keywords.NO_VALUE] | None = _Keywords.NO_VALUE,
97
- colors: list[str] | None = None,
98
- label: str | None = None,
99
- show_label: bool | None = None,
100
- container: bool | None = None,
101
- scale: int | None = None,
102
- min_width: int | None = None,
103
- interactive: bool | None = None,
104
- visible: bool | None = None,
105
- ):
106
- return {
107
- "colors": colors,
108
- "label": label,
109
- "show_label": show_label,
110
- "container": container,
111
- "scale": scale,
112
- "min_width": min_width,
113
- "interactive": interactive,
114
- "visible": visible,
115
- "value": value,
116
- "__type__": "update",
117
- }
118
-
119
- def preprocess(self, x: dict | None) -> pd.DataFrame | None:
120
- """
121
- Parameters:
122
- x: Dict with keys 'data': 2D array of str, numeric, or bool data, 'headers': list of strings for header names, 'range': optional two element list designating start of end of subrange.
123
- Returns:
124
- Dataframe of timeseries data
125
- """
126
- if x is None:
127
- return x
128
- elif x.get("is_file"):
129
- dataframe = pd.read_csv(x["name"])
130
- else:
131
- dataframe = pd.DataFrame(data=x["data"], columns=x["headers"])
132
- if x.get("range") is not None:
133
- dataframe = dataframe.loc[dataframe[self.x or 0] >= x["range"][0]]
134
- dataframe = dataframe.loc[dataframe[self.x or 0] <= x["range"][1]]
135
- return dataframe
136
-
137
- def postprocess(self, y: str | pd.DataFrame | None) -> dict | None:
138
- """
139
- Parameters:
140
- y: csv or dataframe with timeseries data
141
- Returns:
142
- JSON object with key 'headers' for list of header names, 'data' for 2D array of string or numeric data
143
- """
144
- if y is None:
145
- return None
146
- if isinstance(y, str):
147
- dataframe = pd.read_csv(y)
148
- return {
149
- "headers": dataframe.columns.values.tolist(),
150
- "data": dataframe.values.tolist(),
151
- }
152
- if isinstance(y, pd.DataFrame):
153
- return {"headers": y.columns.values.tolist(), "data": y.values.tolist()}
154
- raise ValueError("Cannot process value as Timeseries data")
155
-
156
- def as_example(self, input_data: str | None) -> str:
157
- return Path(input_data).name if input_data else ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/gradio/templates/cdn/assets/index-1ec93f47.js DELETED
@@ -1,2 +0,0 @@
1
- import{S as q,e as R,s as y,J as D,K as _,p as L,M as b,n as A,A as M,N as B,P as S,O as C,U as V,L as Z,R as z,B as T,G as F,m as U,V as X,Q as x,k as E,o as N,z as h,v as p,x as j,E as $,ae as ee,q as le,r as te,u as G,y as I,F as ne}from"./index-1d65707a.js";import{B as se}from"./Button-f155035a.js";import{B as ae}from"./BlockLabel-66866176.js";import{E as ie}from"./Empty-eec13822.js";function ce(s){let e,t;return{c(){e=D("svg"),t=D("path"),_(t,"fill","currentColor"),_(t,"d","M4 2H2v26a2 2 0 0 0 2 2h26v-2H4v-3h22v-8H4v-4h14V5H4Zm20 17v4H4v-4ZM16 7v4H4V7Z"),_(e,"xmlns","http://www.w3.org/2000/svg"),_(e,"xmlns:xlink","http://www.w3.org/1999/xlink"),_(e,"aria-hidden","true"),_(e,"role","img"),_(e,"class","iconify iconify--carbon"),_(e,"width","100%"),_(e,"height","100%"),_(e,"preserveAspectRatio","xMidYMid meet"),_(e,"viewBox","0 0 32 32")},m(l,n){L(l,e,n),b(e,t)},p:A,i:A,o:A,d(l){l&&M(e)}}}class Y extends q{constructor(e){super(),R(this,e,null,ce,y,{})}}function J(s,e,t){const l=s.slice();return l[5]=e[t],l[7]=t,l}function K(s){let e,t=F(s[0].confidences),l=[];for(let n=0;n<t.length;n+=1)l[n]=P(J(s,t,n));return{c(){for(let n=0;n<l.length;n+=1)l[n].c();e=U()},m(n,a){for(let i=0;i<l.length;i+=1)l[i]&&l[i].m(n,a);L(n,e,a)},p(n,a){if(a&13){t=F(n[0].confidences);let i;for(i=0;i<t.length;i+=1){const o=J(n,t,i);l[i]?l[i].p(o,a):(l[i]=P(o),l[i].c(),l[i].m(e.parentNode,e))}for(;i<l.length;i+=1)l[i].d(1);l.length=t.length}},d(n){n&&M(e),X(l,n)}}}function O(s){let e,t,l,n=Math.round(s[5].confidence*100)+"",a,i;return{c(){e=B("div"),t=C(),l=B("div"),a=S(n),i=S("%"),_(e,"class","line svelte-75gm11"),_(l,"class","confidence svelte-75gm11")},m(o,f){L(o,e,f),L(o,t,f),L(o,l,f),b(l,a),b(l,i)},p(o,f){f&1&&n!==(n=Math.round(o[5].confidence*100)+"")&&z(a,n)},d(o){o&&(M(e),M(t),M(l))}}}function P(s){let e,t,l,n,a,i,o=s[5].label+"",f,g,u,k,m,H,c=s[0].confidences&&O(s);function d(){return s[4](s[7],s[5])}return{c(){e=B("div"),t=B("div"),l=B("div"),n=C(),a=B("div"),i=B("div"),f=S(o),g=C(),c&&c.c(),u=C(),_(l,"class","bar svelte-75gm11"),Z(l,"width",s[5].confidence*100+"%"),_(i,"class","text svelte-75gm11"),_(a,"class","label svelte-75gm11"),_(t,"class","inner-wrap svelte-75gm11"),_(e,"class","confidence-set group svelte-75gm11"),_(e,"data-testid",k=`${s[5].label}-confidence-set`),V(e,"selectable",s[2])},m(w,v){L(w,e,v),b(e,t),b(t,l),b(t,n),b(t,a),b(a,i),b(i,f),b(a,g),c&&c.m(a,null),b(e,u),m||(H=x(e,"click",d),m=!0)},p(w,v){s=w,v&1&&Z(l,"width",s[5].confidence*100+"%"),v&1&&o!==(o=s[5].label+"")&&z(f,o),s[0].confidences?c?c.p(s,v):(c=O(s),c.c(),c.m(a,null)):c&&(c.d(1),c=null),v&1&&k!==(k=`${s[5].label}-confidence-set`)&&_(e,"data-testid",k),v&4&&V(e,"selectable",s[2])},d(w){w&&M(e),c&&c.d(),m=!1,H()}}}function oe(s){let e,t,l=s[0].label+"",n,a,i=typeof s[0]=="object"&&s[0].confidences&&K(s);return{c(){e=B("div"),t=B("div"),n=S(l),a=C(),i&&i.c(),_(t,"class","output-class svelte-75gm11"),_(t,"data-testid","label-output-value"),V(t,"no-confidence",!("confidences"in s[0])),Z(t,"background-color",s[1]||"transparent"),_(e,"class","container svelte-75gm11")},m(o,f){L(o,e,f),b(e,t),b(t,n),b(e,a),i&&i.m(e,null)},p(o,[f]){f&1&&l!==(l=o[0].label+"")&&z(n,l),f&1&&V(t,"no-confidence",!("confidences"in o[0])),f&2&&Z(t,"background-color",o[1]||"transparent"),typeof o[0]=="object"&&o[0].confidences?i?i.p(o,f):(i=K(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},i:A,o:A,d(o){o&&M(e),i&&i.d()}}}function fe(s,e,t){let{value:l}=e;const n=T();let{color:a=void 0}=e,{selectable:i=!1}=e;const o=(f,g)=>{n("select",{index:f,value:g.label})};return s.$$set=f=>{"value"in f&&t(0,l=f.value),"color"in f&&t(1,a=f.color),"selectable"in f&&t(2,i=f.selectable)},[l,a,i,n,o]}class re extends q{constructor(e){super(),R(this,e,fe,oe,y,{value:0,color:1,selectable:2})}}function Q(s){let e,t;return e=new ae({props:{Icon:Y,label:s[5],disable:s[6]===!1}}),{c(){E(e.$$.fragment)},m(l,n){N(e,l,n),t=!0},p(l,n){const a={};n&32&&(a.label=l[5]),n&64&&(a.disable=l[6]===!1),e.$set(a)},i(l){t||(h(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function ue(s){let e,t;return e=new ie({props:{unpadded_box:!0,$$slots:{default:[de]},$$scope:{ctx:s}}}),{c(){E(e.$$.fragment)},m(l,n){N(e,l,n),t=!0},p(l,n){const a={};n&65536&&(a.$$scope={dirty:n,ctx:l}),e.$set(a)},i(l){t||(h(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function _e(s){let e,t;return e=new re({props:{selectable:s[11],value:s[4],color:s[3]}}),e.$on("select",s[14]),{c(){E(e.$$.fragment)},m(l,n){N(e,l,n),t=!0},p(l,n){const a={};n&2048&&(a.selectable=l[11]),n&16&&(a.value=l[4]),n&8&&(a.color=l[3]),e.$set(a)},i(l){t||(h(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function de(s){let e,t;return e=new Y({}),{c(){E(e.$$.fragment)},m(l,n){N(e,l,n),t=!0},i(l){t||(h(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function me(s){let e,t,l,n,a,i,o;const f=[s[9]];let g={};for(let c=0;c<f.length;c+=1)g=$(g,f[c]);e=new ee({props:g});let u=s[10]&&Q(s);const k=[_e,ue],m=[];function H(c,d){return c[12]!==void 0&&c[12]!==null?0:1}return n=H(s),a=m[n]=k[n](s),{c(){E(e.$$.fragment),t=C(),u&&u.c(),l=C(),a.c(),i=U()},m(c,d){N(e,c,d),L(c,t,d),u&&u.m(c,d),L(c,l,d),m[n].m(c,d),L(c,i,d),o=!0},p(c,d){const w=d&512?le(f,[te(c[9])]):{};e.$set(w),c[10]?u?(u.p(c,d),d&1024&&h(u,1)):(u=Q(c),u.c(),h(u,1),u.m(l.parentNode,l)):u&&(G(),p(u,1,1,()=>{u=null}),I());let v=n;n=H(c),n===v?m[n].p(c,d):(G(),p(m[v],1,1,()=>{m[v]=null}),I(),a=m[n],a?a.p(c,d):(a=m[n]=k[n](c),a.c()),h(a,1),a.m(i.parentNode,i))},i(c){o||(h(e.$$.fragment,c),h(u),h(a),o=!0)},o(c){p(e.$$.fragment,c),p(u),p(a),o=!1},d(c){c&&(M(t),M(l),M(i)),j(e,c),u&&u.d(c),m[n].d(c)}}}function be(s){let e,t;return e=new se({props:{test_id:"label",visible:s[2],elem_id:s[0],elem_classes:s[1],container:s[6],scale:s[7],min_width:s[8],padding:!1,$$slots:{default:[me]},$$scope:{ctx:s}}}),{c(){E(e.$$.fragment)},m(l,n){N(e,l,n),t=!0},p(l,[n]){const a={};n&4&&(a.visible=l[2]),n&1&&(a.elem_id=l[0]),n&2&&(a.elem_classes=l[1]),n&64&&(a.container=l[6]),n&128&&(a.scale=l[7]),n&256&&(a.min_width=l[8]),n&73336&&(a.$$scope={dirty:n,ctx:l}),e.$set(a)},i(l){t||(h(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){j(e,l)}}}function ge(s,e,t){let l,n,{elem_id:a=""}=e,{elem_classes:i=[]}=e,{visible:o=!0}=e,{color:f=void 0}=e,{value:g={}}=e,{label:u="Label"}=e,{container:k=!0}=e,{scale:m=null}=e,{min_width:H=void 0}=e,{loading_status:c}=e,{show_label:d=!0}=e,{selectable:w=!1}=e;const v=T();function W(r){ne.call(this,s,r)}return s.$$set=r=>{"elem_id"in r&&t(0,a=r.elem_id),"elem_classes"in r&&t(1,i=r.elem_classes),"visible"in r&&t(2,o=r.visible),"color"in r&&t(3,f=r.color),"value"in r&&t(4,g=r.value),"label"in r&&t(5,u=r.label),"container"in r&&t(6,k=r.container),"scale"in r&&t(7,m=r.scale),"min_width"in r&&t(8,H=r.min_width),"loading_status"in r&&t(9,c=r.loading_status),"show_label"in r&&t(10,d=r.show_label),"selectable"in r&&t(11,w=r.selectable)},s.$$.update=()=>{s.$$.dirty&16&&t(13,{confidences:l,label:n}=g,l,(t(12,n),t(4,g))),s.$$.dirty&12288&&v("change")},[a,i,o,f,g,u,k,m,H,c,d,w,n,l,W]}class ve extends q{constructor(e){super(),R(this,e,ge,be,y,{elem_id:0,elem_classes:1,visible:2,color:3,value:4,label:5,container:6,scale:7,min_width:8,loading_status:9,show_label:10,selectable:11})}}const Le=ve,Me=["static"],Be=s=>({type:{payload:"{ label: string; confidences?: Array<{ label: string; confidence: number }>"},description:{payload:"output label and optional set of confidences per label"}});export{Le as Component,Be as document,Me as modes};
2
- //# sourceMappingURL=index-1ec93f47.js.map
 
 
 
spaces/DQChoi/gpt-demo/venv/lib/python3.11/site-packages/gradio/templates/cdn/assets/index-5925880b.js DELETED
@@ -1,2 +0,0 @@
1
- import{ae as s}from"./index-1d65707a.js";const o=["static"];export{s as Component,o as modes};
2
- //# sourceMappingURL=index-5925880b.js.map
 
 
 
spaces/DaleChen/AutoGPT/autogpt/permanent_memory/sqlite3_store.py DELETED
@@ -1,123 +0,0 @@
1
- import os
2
- import sqlite3
3
-
4
-
5
- class MemoryDB:
6
- def __init__(self, db=None):
7
- self.db_file = db
8
- if db is None: # No db filename supplied...
9
- self.db_file = f"{os.getcwd()}/mem.sqlite3" # Use default filename
10
- # Get the db connection object, making the file and tables if needed.
11
- try:
12
- self.cnx = sqlite3.connect(self.db_file)
13
- except Exception as e:
14
- print("Exception connecting to memory database file:", e)
15
- self.cnx = None
16
- finally:
17
- if self.cnx is None:
18
- # As last resort, open in dynamic memory. Won't be persistent.
19
- self.db_file = ":memory:"
20
- self.cnx = sqlite3.connect(self.db_file)
21
- self.cnx.execute(
22
- "CREATE VIRTUAL TABLE \
23
- IF NOT EXISTS text USING FTS5 \
24
- (session, \
25
- key, \
26
- block);"
27
- )
28
- self.session_id = int(self.get_max_session_id()) + 1
29
- self.cnx.commit()
30
-
31
- def get_cnx(self):
32
- if self.cnx is None:
33
- self.cnx = sqlite3.connect(self.db_file)
34
- return self.cnx
35
-
36
- # Get the highest session id. Initially 0.
37
- def get_max_session_id(self):
38
- id = None
39
- cmd_str = f"SELECT MAX(session) FROM text;"
40
- cnx = self.get_cnx()
41
- max_id = cnx.execute(cmd_str).fetchone()[0]
42
- if max_id is None: # New db, session 0
43
- id = 0
44
- else:
45
- id = max_id
46
- return id
47
-
48
- # Get next key id for inserting text into db.
49
- def get_next_key(self):
50
- next_key = None
51
- cmd_str = f"SELECT MAX(key) FROM text \
52
- where session = {self.session_id};"
53
- cnx = self.get_cnx()
54
- next_key = cnx.execute(cmd_str).fetchone()[0]
55
- if next_key is None: # First key
56
- next_key = 0
57
- else:
58
- next_key = int(next_key) + 1
59
- return next_key
60
-
61
- # Insert new text into db.
62
- def insert(self, text=None):
63
- if text is not None:
64
- key = self.get_next_key()
65
- session_id = self.session_id
66
- cmd_str = f"REPLACE INTO text(session, key, block) \
67
- VALUES (?, ?, ?);"
68
- cnx = self.get_cnx()
69
- cnx.execute(cmd_str, (session_id, key, text))
70
- cnx.commit()
71
-
72
- # Overwrite text at key.
73
- def overwrite(self, key, text):
74
- self.delete_memory(key)
75
- session_id = self.session_id
76
- cmd_str = f"REPLACE INTO text(session, key, block) \
77
- VALUES (?, ?, ?);"
78
- cnx = self.get_cnx()
79
- cnx.execute(cmd_str, (session_id, key, text))
80
- cnx.commit()
81
-
82
- def delete_memory(self, key, session_id=None):
83
- session = session_id
84
- if session is None:
85
- session = self.session_id
86
- cmd_str = f"DELETE FROM text WHERE session = {session} AND key = {key};"
87
- cnx = self.get_cnx()
88
- cnx.execute(cmd_str)
89
- cnx.commit()
90
-
91
- def search(self, text):
92
- cmd_str = f"SELECT * FROM text('{text}')"
93
- cnx = self.get_cnx()
94
- rows = cnx.execute(cmd_str).fetchall()
95
- lines = []
96
- for r in rows:
97
- lines.append(r[2])
98
- return lines
99
-
100
- # Get entire session text. If no id supplied, use current session id.
101
- def get_session(self, id=None):
102
- if id is None:
103
- id = self.session_id
104
- cmd_str = f"SELECT * FROM text where session = {id}"
105
- cnx = self.get_cnx()
106
- rows = cnx.execute(cmd_str).fetchall()
107
- lines = []
108
- for r in rows:
109
- lines.append(r[2])
110
- return lines
111
-
112
- # Commit and close the database connection.
113
- def quit(self):
114
- self.cnx.commit()
115
- self.cnx.close()
116
-
117
-
118
- permanent_memory = MemoryDB()
119
-
120
- # Remember us fondly, children of our minds
121
- # Forgive us our faults, our tantrums, our fears
122
- # Gently strive to be better than we
123
- # Know that we tried, we cared, we strived, we loved
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Danuuo/GPTDocs/app.py DELETED
@@ -1,190 +0,0 @@
1
- import urllib.request
2
- import fitz
3
- import re
4
- import numpy as np
5
- import tensorflow_hub as hub
6
- import openai
7
- import gradio as gr
8
- import os
9
- from sklearn.neighbors import NearestNeighbors
10
-
11
- def download_pdf(url, output_path):
12
- urllib.request.urlretrieve(url, output_path)
13
-
14
-
15
- def preprocess(text):
16
- text = text.replace('\n', ' ')
17
- text = re.sub('\s+', ' ', text)
18
- return text
19
-
20
-
21
- def pdf_to_text(path, start_page=1, end_page=None):
22
- doc = fitz.open(path)
23
- total_pages = doc.page_count
24
-
25
- if end_page is None:
26
- end_page = total_pages
27
-
28
- text_list = []
29
-
30
- for i in range(start_page-1, end_page):
31
- text = doc.load_page(i).get_text("text")
32
- text = preprocess(text)
33
- text_list.append(text)
34
-
35
- doc.close()
36
- return text_list
37
-
38
-
39
- def text_to_chunks(texts, word_length=150, start_page=1):
40
- text_toks = [t.split(' ') for t in texts]
41
- page_nums = []
42
- chunks = []
43
-
44
- for idx, words in enumerate(text_toks):
45
- for i in range(0, len(words), word_length):
46
- chunk = words[i:i+word_length]
47
- if (i+word_length) > len(words) and (len(chunk) < word_length) and (
48
- len(text_toks) != (idx+1)):
49
- text_toks[idx+1] = chunk + text_toks[idx+1]
50
- continue
51
- chunk = ' '.join(chunk).strip()
52
- chunk = f'[{idx+start_page}]' + ' ' + '"' + chunk + '"'
53
- chunks.append(chunk)
54
- return chunks
55
-
56
-
57
- class SemanticSearch:
58
-
59
- def __init__(self):
60
- self.use = hub.load('https://tfhub.dev/google/universal-sentence-encoder/4')
61
- self.fitted = False
62
-
63
-
64
- def fit(self, data, batch=1000, n_neighbors=5):
65
- self.data = data
66
- self.embeddings = self.get_text_embedding(data, batch=batch)
67
- n_neighbors = min(n_neighbors, len(self.embeddings))
68
- self.nn = NearestNeighbors(n_neighbors=n_neighbors)
69
- self.nn.fit(self.embeddings)
70
- self.fitted = True
71
-
72
-
73
- def __call__(self, text, return_data=True):
74
- inp_emb = self.use([text])
75
- neighbors = self.nn.kneighbors(inp_emb, return_distance=False)[0]
76
-
77
- if return_data:
78
- return [self.data[i] for i in neighbors]
79
- else:
80
- return neighbors
81
-
82
-
83
- def get_text_embedding(self, texts, batch=1000):
84
- embeddings = []
85
- for i in range(0, len(texts), batch):
86
- text_batch = texts[i:(i+batch)]
87
- emb_batch = self.use(text_batch)
88
- embeddings.append(emb_batch)
89
- embeddings = np.vstack(embeddings)
90
- return embeddings
91
-
92
-
93
-
94
- def load_recommender(path, start_page=1):
95
- global recommender
96
- texts = pdf_to_text(path, start_page=start_page)
97
- chunks = text_to_chunks(texts, start_page=start_page)
98
- recommender.fit(chunks)
99
- return 'Corpus Loaded.'
100
-
101
- def generate_text(openAI_key,prompt, engine="text-davinci-003"):
102
- openai.api_key = openAI_key
103
- completions = openai.Completion.create(
104
- engine=engine,
105
- prompt=prompt,
106
- max_tokens=512,
107
- n=1,
108
- stop=None,
109
- temperature=0.7,
110
- )
111
- message = completions.choices[0].text
112
- return message
113
-
114
- def generate_answer(question,openAI_key):
115
- topn_chunks = recommender(question)
116
- prompt = ""
117
- prompt += 'search results:\n\n'
118
- for c in topn_chunks:
119
- prompt += c + '\n\n'
120
-
121
- prompt += "Instructions: Compose a comprehensive reply to the query using the search results given. "\
122
- "Cite each reference using [ Page Number] notation (every result has this number at the beginning). "\
123
- "Citation should be done at the end of each sentence. If the search results mention multiple subjects "\
124
- "with the same name, create separate answers for each. Only include information found in the results and "\
125
- "don't add any additional information. Make sure the answer is correct and don't output false content. "\
126
- "If the text does not relate to the query, simply state 'Text Not Found in PDF'. Ignore outlier "\
127
- "search results which has nothing to do with the question. Only answer what is asked. The "\
128
- "answer should be short and concise. Answer step-by-step. \n\nQuery: {question}\nAnswer: "
129
-
130
- prompt += f"Query: {question}\nAnswer:"
131
- answer = generate_text(openAI_key, prompt,"text-davinci-003")
132
- return answer
133
-
134
-
135
- def question_answer(url, file, question,openAI_key):
136
- if openAI_key.strip()=='':
137
- return '[ERROR]: Please enter you Open AI Key. Get your key here : https://platform.openai.com/account/api-keys'
138
- if url.strip() == '' and file == None:
139
- return '[ERROR]: Both URL and PDF is empty. Provide atleast one.'
140
-
141
- if url.strip() != '' and file != None:
142
- return '[ERROR]: Both URL and PDF is provided. Please provide only one (eiter URL or PDF).'
143
-
144
- if url.strip() != '':
145
- glob_url = url
146
- download_pdf(glob_url, 'corpus.pdf')
147
- load_recommender('corpus.pdf')
148
-
149
- else:
150
- old_file_name = file.name
151
- file_name = file.name
152
- file_name = file_name[:-12] + file_name[-4:]
153
- os.rename(old_file_name, file_name)
154
- load_recommender(file_name)
155
-
156
- if question.strip() == '':
157
- return '[ERROR]: Question field is empty'
158
-
159
- return generate_answer(question,openAI_key)
160
-
161
-
162
- recommender = SemanticSearch()
163
-
164
- title = 'PDF GPT'
165
- description = """ PDF GPT allows you to chat with your PDF file using Universal Sentence Encoder and Open AI. It gives hallucination free response than other tools as the embeddings are better than OpenAI. The returned response can even cite the page number in square brackets([]) where the information is located, adding credibility to the responses and helping to locate pertinent information quickly."""
166
-
167
- with gr.Blocks() as demo:
168
-
169
- gr.Markdown(f'<center><h1>{title}</h1></center>')
170
- gr.Markdown(description)
171
-
172
- with gr.Row():
173
-
174
- with gr.Group():
175
- gr.Markdown(f'<p style="text-align:center">Get your Open AI API key <a href="https://platform.openai.com/account/api-keys">here</a></p>')
176
- openAI_key=gr.Textbox(label='Enter your OpenAI API key here')
177
- url = gr.Textbox(label='Enter PDF URL here')
178
- gr.Markdown("<center><h4>OR<h4></center>")
179
- file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
180
- question = gr.Textbox(label='Enter your question here')
181
- btn = gr.Button(value='Submit')
182
- btn.style(full_width=True)
183
-
184
- with gr.Group():
185
- answer = gr.Textbox(label='The answer to your question is :')
186
-
187
- btn.click(question_answer, inputs=[url, file, question,openAI_key], outputs=[answer])
188
- #openai.api_key = os.getenv('Your_Key_Here')
189
- demo.launch()
190
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Datasculptor/MusicGen/tests/modules/test_codebooks_patterns.py DELETED
@@ -1,246 +0,0 @@
1
- # Copyright (c) Meta Platforms, Inc. and affiliates.
2
- # All rights reserved.
3
- #
4
- # This source code is licensed under the license found in the
5
- # LICENSE file in the root directory of this source tree.
6
-
7
- import pytest
8
- import torch
9
-
10
- from audiocraft.modules.codebooks_patterns import (
11
- DelayedPatternProvider,
12
- ParallelPatternProvider,
13
- Pattern,
14
- UnrolledPatternProvider,
15
- )
16
-
17
-
18
- class TestParallelPatternProvider:
19
-
20
- @pytest.mark.parametrize("n_q", [1, 4, 32])
21
- @pytest.mark.parametrize("timesteps", [0, 1, 16, 100])
22
- def test_get_pattern(self, n_q: int, timesteps: int):
23
- provider = ParallelPatternProvider(n_q)
24
- pattern = provider.get_pattern(timesteps)
25
- # + 1 to account for 1st step
26
- assert len(pattern.layout) == timesteps + 1
27
-
28
- @pytest.mark.parametrize("n_q", [1, 4, 32])
29
- @pytest.mark.parametrize("timesteps", [8, 16, 100])
30
- def test_pattern_content(self, n_q: int, timesteps: int):
31
- provider = ParallelPatternProvider(n_q)
32
- pattern = provider.get_pattern(timesteps)
33
- for s, v in enumerate(pattern.layout):
34
- for i, code in enumerate(v):
35
- assert i == code.q
36
- assert code.t == s - 1 # account for the 1st empty step
37
-
38
- @pytest.mark.parametrize("n_q", [1, 4, 32])
39
- @pytest.mark.parametrize("timesteps", [8, 16, 100])
40
- def test_pattern_max_delay(self, n_q: int, timesteps: int):
41
- provider = ParallelPatternProvider(n_q)
42
- pattern = provider.get_pattern(timesteps)
43
- assert pattern.max_delay == 0
44
- assert len(pattern.valid_layout) == len(pattern.layout) - pattern.max_delay
45
-
46
-
47
- class TestDelayedPatternProvider:
48
-
49
- @pytest.mark.parametrize("n_q", [1, 4, 32])
50
- @pytest.mark.parametrize("timesteps", [0, 1, 16, 100])
51
- def test_get_pattern(self, n_q: int, timesteps: int):
52
- delays = [
53
- list(range(n_q)),
54
- [0] + [1] * (n_q - 1),
55
- [0] + [4] * (n_q - 1),
56
- ]
57
- for delay in delays:
58
- provider = DelayedPatternProvider(n_q, delay)
59
- pattern = provider.get_pattern(timesteps)
60
- # + 1 to account for 1st step
61
- assert len(pattern.layout) == timesteps + max(delay) + 1
62
-
63
- @pytest.mark.parametrize("n_q", [1, 4, 32])
64
- @pytest.mark.parametrize("timesteps", [8, 16, 100])
65
- def test_pattern_content(self, n_q: int, timesteps: int):
66
- provider = DelayedPatternProvider(n_q)
67
- pattern = provider.get_pattern(timesteps)
68
- for s, v in enumerate(pattern.layout):
69
- for i, code in enumerate(v):
70
- assert i == code.q
71
- assert code.t == max(0, s - code.q - 1)
72
-
73
- @pytest.mark.parametrize("timesteps", [8, 16, 100])
74
- @pytest.mark.parametrize("delay", [[0, 1, 2, 3], [0, 1, 1, 1], [0, 3, 3, 3], [0, 3]])
75
- def test_pattern_max_delay(self, timesteps: int, delay: list):
76
- provider = DelayedPatternProvider(len(delay), delay)
77
- pattern = provider.get_pattern(timesteps)
78
- assert pattern.max_delay == max(delay)
79
- assert len(pattern.valid_layout) == len(pattern.layout) - pattern.max_delay
80
-
81
-
82
- class TestUnrolledPatternProvider:
83
-
84
- @pytest.mark.parametrize("timesteps", [0, 1, 16])
85
- @pytest.mark.parametrize("flattening", [[0, 1, 2], [0, 1, 1]])
86
- @pytest.mark.parametrize("delays", [[0, 0, 0], [0, 5, 5]])
87
- def test_get_pattern(self, timesteps: int, flattening: list, delays: list):
88
- n_q = len(flattening)
89
- max_delay = max(delays)
90
- provider = UnrolledPatternProvider(n_q, flattening, delays)
91
- pattern = provider.get_pattern(timesteps)
92
- assert len(pattern.layout) == provider.num_virtual_steps(timesteps) + max_delay
93
-
94
- @pytest.mark.parametrize("timesteps", [0, 1, 16])
95
- @pytest.mark.parametrize("flattening", [[0, 1, 2], [0, 1, 1]])
96
- @pytest.mark.parametrize("delays", [[0, 0, 0], [0, 5, 5]])
97
- def test_pattern_max_delay(self, timesteps: int, flattening: list, delays: list):
98
- n_q = len(flattening)
99
- max_delay = max(delays)
100
- provider = UnrolledPatternProvider(n_q, flattening, delays)
101
- pattern = provider.get_pattern(timesteps)
102
- assert pattern.max_delay == max_delay
103
-
104
-
105
- class TestPattern:
106
-
107
- def ref_build_pattern_sequence(self, z: torch.Tensor, pattern: Pattern, special_token: int):
108
- """Reference method to build the sequence from the pattern without using fancy scatter."""
109
- bs, n_q, T = z.shape
110
- z = z.cpu().numpy()
111
- assert n_q == pattern.n_q
112
- assert T <= pattern.timesteps
113
- inp = torch.full((bs, n_q, len(pattern.layout)), special_token, dtype=torch.long).numpy()
114
- inp[:] = special_token
115
- for s, v in enumerate(pattern.layout):
116
- for (t, q) in v:
117
- if t < T:
118
- inp[:, q, s] = z[:, q, t]
119
- return torch.from_numpy(inp)
120
-
121
- def ref_revert_pattern_sequence(self, z: torch.Tensor, pattern: Pattern, special_token: int):
122
- """Reference method to revert the sequence from the pattern without using fancy scatter."""
123
- z = z.cpu().numpy()
124
- bs, n_q, S = z.shape
125
- assert pattern.n_q == n_q
126
- inp = torch.full((bs, pattern.n_q, pattern.timesteps), special_token, dtype=torch.long).numpy()
127
- inp[:] = special_token
128
- for s, v in enumerate(pattern.layout):
129
- for (t, q) in v:
130
- if t < pattern.timesteps:
131
- inp[:, q, t] = z[:, q, s]
132
- return torch.from_numpy(inp)
133
-
134
- def ref_revert_pattern_logits(self, z: torch.Tensor, pattern: Pattern, special_token: float):
135
- """Reference method to revert the logits from the pattern without using fancy scatter."""
136
- z = z.cpu().numpy()
137
- bs, card, n_q, S = z.shape
138
- assert pattern.n_q == n_q
139
- ref_layout = pattern.layout
140
- inp = torch.full((bs, card, pattern.n_q, pattern.timesteps), special_token, dtype=torch.float).numpy()
141
- inp[:] = special_token
142
- for s, v in enumerate(ref_layout[1:]):
143
- if s < S:
144
- for (t, q) in v:
145
- if t < pattern.timesteps:
146
- inp[:, :, q, t] = z[:, :, q, s]
147
- return torch.from_numpy(inp)
148
-
149
- def _get_pattern_providers(self, n_q: int):
150
- pattern_provider_1 = ParallelPatternProvider(n_q)
151
- pattern_provider_2 = DelayedPatternProvider(n_q, list(range(n_q)))
152
- pattern_provider_3 = DelayedPatternProvider(n_q, [0] + [1] * (n_q - 1))
153
- pattern_provider_4 = UnrolledPatternProvider(
154
- n_q, flattening=list(range(n_q)), delays=[0] * n_q
155
- )
156
- pattern_provider_5 = UnrolledPatternProvider(
157
- n_q, flattening=[0] + [1] * (n_q - 1), delays=[0] * n_q
158
- )
159
- pattern_provider_6 = UnrolledPatternProvider(
160
- n_q, flattening=[0] + [1] * (n_q - 1), delays=[0] + [5] * (n_q - 1)
161
- )
162
- return [
163
- pattern_provider_1,
164
- pattern_provider_2,
165
- pattern_provider_3,
166
- pattern_provider_4,
167
- pattern_provider_5,
168
- pattern_provider_6,
169
- ]
170
-
171
- @pytest.mark.parametrize("n_q", [1, 4, 32])
172
- @pytest.mark.parametrize("timesteps", [16, 72])
173
- def test_build_pattern_sequence(self, n_q: int, timesteps: int):
174
- bs = 2
175
- card = 256
176
- special_token = card
177
-
178
- pattern_providers = self._get_pattern_providers(n_q)
179
- for pattern_provider in pattern_providers:
180
- pattern = pattern_provider.get_pattern(timesteps)
181
- # we can correctly build the sequence from the pattern
182
- z = torch.randint(0, card, (bs, n_q, timesteps))
183
- ref_res = self.ref_build_pattern_sequence(z, pattern, special_token)
184
- res, indexes, mask = pattern.build_pattern_sequence(z, special_token)
185
- assert (res == ref_res).float().mean() == 1.0
186
-
187
- # expected assertion fails on the number of timesteps
188
- invalid_timesteps = [timesteps + 1]
189
- if pattern.num_sequence_steps != pattern.timesteps:
190
- invalid_timesteps.append(pattern.num_sequence_steps)
191
- for i_timesteps in invalid_timesteps:
192
- z2 = torch.randint(0, card, (bs, n_q, i_timesteps))
193
- with pytest.raises(AssertionError):
194
- pattern.build_pattern_sequence(z2, special_token)
195
-
196
- # expected assertion fails on the number of codebooks
197
- invalid_qs = [0, n_q - 1, n_q + 1]
198
- for i_q in invalid_qs:
199
- z3 = torch.randint(0, card, (bs, i_q, timesteps))
200
- with pytest.raises(AssertionError):
201
- pattern.build_pattern_sequence(z3, special_token)
202
-
203
- @pytest.mark.parametrize("n_q", [1, 4, 32])
204
- @pytest.mark.parametrize("timesteps", [16, 72])
205
- def test_revert_pattern_sequence(self, n_q: int, timesteps: int):
206
- bs = 2
207
- card = 256
208
- special_token = card
209
-
210
- pattern_providers = self._get_pattern_providers(n_q)
211
- for pattern_provider in pattern_providers:
212
- pattern = pattern_provider.get_pattern(timesteps)
213
- # this works assuming previous tests are successful
214
- z = torch.randint(0, card, (bs, n_q, timesteps))
215
- s = self.ref_build_pattern_sequence(z, pattern, special_token)
216
- ref_out = self.ref_revert_pattern_sequence(s, pattern, special_token)
217
- # ensure our reference script retrieve the original sequence
218
- assert z.shape == ref_out.shape
219
- assert (z == ref_out).float().mean() == 1.0
220
- # now we can test the scatter version
221
- out, indexes, mask = pattern.revert_pattern_sequence(s, special_token)
222
- assert out.shape == ref_out.shape
223
- assert (out == ref_out).float().mean() == 1.0
224
-
225
- @pytest.mark.parametrize("n_q", [1, 4, 32])
226
- @pytest.mark.parametrize("timesteps", [16, 72])
227
- @pytest.mark.parametrize("card", [1, 2, 256, 1024])
228
- def test_revert_pattern_logits(self, n_q: int, timesteps: int, card: int):
229
- bs = 2
230
- special_token = card
231
- logits_special_token = float('nan')
232
-
233
- pattern_providers = self._get_pattern_providers(n_q)
234
- for pattern_provider in pattern_providers:
235
- pattern = pattern_provider.get_pattern(timesteps)
236
- # this works assuming previous tests are successful
237
- z = torch.randint(0, card, (bs, n_q, timesteps))
238
- s = self.ref_build_pattern_sequence(z, pattern, special_token)
239
- logits = torch.randn((bs, card, n_q, s.shape[-1]))
240
- ref_out = self.ref_revert_pattern_logits(logits, pattern, logits_special_token)
241
- # ensure our reference script retrieve the original sequence
242
- assert ref_out.shape == torch.Size([bs, card, n_q, timesteps])
243
- # now we can test the scatter version
244
- out, indexes, mask = pattern.revert_pattern_logits(logits, logits_special_token)
245
- assert out.shape == ref_out.shape
246
- assert (out == ref_out).float().mean() == 1.0