parquet-converter commited on
Commit
f7454e6
·
1 Parent(s): 4af6cde

Update parquet files (step 31 of 121)

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/.v1/unfinished/gptbz/__init__.py +0 -46
  2. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Aermod View Crackl A Comprehensive Review of the Features and Functions of the Air Dispersion Model.md +0 -91
  3. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Bartender 10.1 Crack With Product Key Free Download 2020 LINK.md +0 -16
  4. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Crack Bug [EXCLUSIVE].md +0 -28
  5. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Dilwale Movie 2015 English Subtitles 30 How to Download and Watch the Full HD Version.md +0 -102
  6. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download Half-Life 2 Non Steam Crack and Join the Millions of Fans Worldwide.md +0 -233
  7. spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Chess Play and Learn MOD APK The Ultimate Chess App for Beginners and Experts.md +0 -192
  8. spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Create Your Own Anime Stories with Gacha Life on PC - Free Download 1.1.4.md +0 -72
  9. spaces/1phancelerku/anime-remove-background/Download 11th Hour by Betty Bayo - The Best of Kenyan Music.md +0 -114
  10. spaces/1phancelerku/anime-remove-background/Download Quiz Results and Share Them with Your Students Colleagues or Clients.md +0 -182
  11. spaces/1phancelerku/anime-remove-background/Epson L3110 Printer Driver Download - How to Install and Update.md +0 -151
  12. spaces/2023Liu2023/bingo/src/lib/bots/bing/index.ts +0 -421
  13. spaces/3mrology/Chameleon_Text2Img_Generation_Demo/app.py +0 -71
  14. spaces/AB-TW/team-ai/documents/bussiness_context/NOTION_DB/Engineering Wiki 2402f5396a3244fdb3f1d135bdb0f3d6/How to Deploy b7c4f3fd308944af8ba4637ec40fa4f9.md +0 -33
  15. spaces/AB-TW/team-ai/documents/bussiness_context/NOTION_DB/Engineering Wiki 2402f5396a3244fdb3f1d135bdb0f3d6/Smart Domain 3b0daf8bb0d740439426cfab214f1fa6.md +0 -13
  16. spaces/AIConsultant/MusicGen/audiocraft/adversarial/losses.py +0 -228
  17. spaces/AIGC-Audio/AudioGPT/NeuralSeq/modules/parallel_wavegan/layers/__init__.py +0 -5
  18. spaces/AIGC-Audio/AudioGPT/text_to_speech/tasks/tts/fs_adv_aishell.py +0 -267
  19. spaces/AIWaves/Debate/src/agents/State.py +0 -142
  20. spaces/ASJMO/freegpt/g4f/Provider/Providers/Zeabur.py +0 -50
  21. spaces/AchyuthGamer/OpenGPT-Chat-UI/.svelte-kit/types/src/routes/$types.d.ts +0 -24
  22. spaces/Adapter/CoAdapter/ldm/modules/encoders/modules.py +0 -441
  23. spaces/AkitoP/umamusume_bert_vits2/text/japanese_bert.py +0 -87
  24. spaces/AlekseyKorshuk/gai-project/modules/utils.py +0 -35
  25. spaces/Alfasign/dIFFU/index.html +0 -16
  26. spaces/An-619/FastSAM/app_gradio.py +0 -374
  27. spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/docs/source/en/conceptual/ethical_guidelines.md +0 -51
  28. spaces/Androidonnxfork/CivitAi-to-Diffusers/hf_utils.py +0 -50
  29. spaces/Andy1621/uniformer_image_detection/configs/mask_rcnn/mask_rcnn_r50_caffe_fpn_1x_coco.py +0 -36
  30. spaces/Andy1621/uniformer_image_detection/mmdet/models/losses/mse_loss.py +0 -49
  31. spaces/Andy1621/uniformer_image_detection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py +0 -107
  32. spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/Training_PRO/matplotgraph.py +0 -62
  33. spaces/Anonymous-sub/Rerender/ControlNet/annotator/midas/midas/midas_net_custom.py +0 -128
  34. spaces/Anonymous-sub/Rerender/ControlNet/annotator/openpose/__init__.py +0 -49
  35. spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/configs/_base_/datasets/pascal_voc12_aug.py +0 -9
  36. spaces/ApathyINC/CustomGPT/README.md +0 -12
  37. spaces/Apex-X/Tm/roop/globals.py +0 -17
  38. spaces/Arcypojeb/NeuralServer/README.md +0 -13
  39. spaces/Ariharasudhan/YoloV5/utils/autobatch.py +0 -72
  40. spaces/Arulkumar03/GroundingDINO_SOTA_Zero_Shot_Model/groundingdino/models/GroundingDINO/csrc/vision.cpp +0 -58
  41. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_internal/operations/build/build_tracker.py +0 -124
  42. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pkg_resources/_vendor/packaging/utils.py +0 -136
  43. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/setuptools/_distutils/version.py +0 -358
  44. spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/detectron2/evaluation/sem_seg_evaluation.py +0 -184
  45. spaces/Banbri/zcvzcv/src/components/ui/button.tsx +0 -56
  46. spaces/Benson/text-generation/Examples/Descargar Amor 2015 Pelcula En Ingls.md +0 -99
  47. spaces/Benson/text-generation/Examples/Descargar Apk Mod 69 En Vivo.md +0 -67
  48. spaces/Big-Web/MMSD/env/Lib/site-packages/boto3/docs/base.py +0 -51
  49. spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/network/cache.py +0 -69
  50. spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py +0 -8
spaces/101-5/gpt4free/g4f/.v1/unfinished/gptbz/__init__.py DELETED
@@ -1,46 +0,0 @@
1
- from json import dumps, loads
2
-
3
- import websockets
4
-
5
-
6
- # Define the asynchronous function to test the WebSocket connection
7
-
8
-
9
- async def test():
10
- # Establish a WebSocket connection with the specified URL
11
- async with websockets.connect('wss://chatgpt.func.icu/conversation+ws') as wss:
12
-
13
- # Prepare the message payload as a JSON object
14
- payload = {
15
- 'content_type': 'text',
16
- 'engine': 'chat-gpt',
17
- 'parts': ['hello world'],
18
- 'options': {}
19
- }
20
-
21
- # Send the payload to the WebSocket server
22
- await wss.send(dumps(obj=payload, separators=(',', ':')))
23
-
24
- # Initialize a variable to track the end of the conversation
25
- ended = None
26
-
27
- # Continuously receive and process messages until the conversation ends
28
- while not ended:
29
- try:
30
- # Receive and parse the JSON response from the server
31
- response = await wss.recv()
32
- json_response = loads(response)
33
-
34
- # Print the entire JSON response
35
- print(json_response)
36
-
37
- # Check for the end of the conversation
38
- ended = json_response.get('eof')
39
-
40
- # If the conversation has not ended, print the received message
41
- if not ended:
42
- print(json_response['content']['parts'][0])
43
-
44
- # Handle cases when the connection is closed by the server
45
- except websockets.ConnectionClosed:
46
- break
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Aermod View Crackl A Comprehensive Review of the Features and Functions of the Air Dispersion Model.md DELETED
@@ -1,91 +0,0 @@
1
- <br />
2
- <h1>Aermod View Crack: What Is It and How to Use It?</h1>
3
- <p>If you are interested in air dispersion modeling, you may have heard of Aermod View, a powerful software package that includes integrated models such as AERMOD, ISCST3 and SC-PRIME. But what if you don't have a license for this software? Can you still use it for free? In this article, we will explain what Aermod View Crack is, how to download and install it, and how to use it for your modeling projects.</p>
4
- <h2>Introduction</h2>
5
- <p>Aermod View is a software developed by Lakes Environmental that allows you to perform air dispersion modeling using the U.S. EPA's preferred regulatory models. Air dispersion modeling is a technique that simulates how pollutants disperse in the atmosphere from various sources, such as industrial plants, vehicles, fires, etc. Air dispersion modeling can help you assess the impact of emissions on human health and the environment, as well as design mitigation strategies.</p>
6
- <h2>Aermod View Crackl</h2><br /><p><b><b>DOWNLOAD</b> &rarr;&rarr;&rarr; <a href="https://byltly.com/2uKwRk">https://byltly.com/2uKwRk</a></b></p><br /><br />
7
- <p>A crack is a modified version of a software that bypasses its license protection and allows you to use it without paying for it. Some people use cracks to access expensive or unavailable software for personal or professional purposes. However, using cracks also involves some risks, such as legal issues, malware infections, errors, or poor performance.</p>
8
- <p>Using Aermod View Crack can have some benefits, such as saving money, accessing advanced features, or learning new skills. However, it can also have some drawbacks, such as violating intellectual property rights, exposing your computer to viruses or hackers, compromising your modeling results, or missing out on updates or support.</p>
9
- <p>AERMOD View download<br />
10
- AERMOD View free version<br />
11
- AERMOD View 9.0<br />
12
- AERMOD View demo<br />
13
- AERMOD View software<br />
14
- AERMOD View by Lakes Environmental<br />
15
- AERMOD View air dispersion modeling<br />
16
- AERMOD View EPA model<br />
17
- AERMOD View features<br />
18
- AERMOD View license<br />
19
- AERMOD View tutorial<br />
20
- AERMOD View user guide<br />
21
- AERMOD View system requirements<br />
22
- AERMOD View installation<br />
23
- AERMOD View activation<br />
24
- AERMOD View support<br />
25
- AERMOD View update<br />
26
- AERMOD View alternatives<br />
27
- AERMOD View reviews<br />
28
- AERMOD View price<br />
29
- AERMOD View discount<br />
30
- AERMOD View coupon code<br />
31
- AERMOD View trial version<br />
32
- AERMOD View online training<br />
33
- AERMOD View webinar<br />
34
- AERMOD View video<br />
35
- AERMOD View blog<br />
36
- AERMOD View forum<br />
37
- AERMOD View FAQ<br />
38
- AERMOD View tips and tricks<br />
39
- AERMOD View case studies<br />
40
- AERMOD View examples<br />
41
- AERMOD View applications<br />
42
- AERMOD View benefits<br />
43
- AERMOD View limitations<br />
44
- AERMOD View comparison<br />
45
- AERMOD View vs ISCST3<br />
46
- AERMOD View vs ISC-PRIME<br />
47
- AERMOD View vs CALPUFF<br />
48
- AERMOD View vs SCREEN3<br />
49
- Lakes Environmental software crackl <br />
50
- Lakes Environmental software download <br />
51
- Lakes Environmental software free version <br />
52
- Lakes Environmental software license <br />
53
- Lakes Environmental software support <br />
54
- Lakes Environmental software update <br />
55
- Lakes Environmental software alternatives <br />
56
- Lakes Environmental software reviews <br />
57
- Lakes Environmental software price <br />
58
- Lakes Environmental software discount</p>
59
- <h2>How to Download and Install Aermod View Crack</h2>
60
- <p>If you decide to use Aermod View Crack, you need to be careful about where you download it from and how you install it on your computer. Here are some steps you can follow:</p>
61
- <ul>
62
- <li>Find a reliable source for the crack file. You can search online for websites that offer cracks for various software, but make sure they are trustworthy and have positive reviews from other users. For example, you can check out <a href="https://wannacrack.com/download/lakes-environmental-aermod-view-8-9-0/lakes-environmental-aermod-view-v8-9-0">wannacrack.com</a> or <a href="https://downloadly.net/2020/04/11848/04/aermod-view/13/">downloadly.net</a> for Aermod View Crack .</li>
63
- <li>Download the crack file and extract it using a tool like WinRAR or 7-Zip. You should get a folder with nine files inside.</li>
64
- <li>Install Aermod View on your computer using the setup file provided by Lakes Environmental. You can download it from their official website <a href="https://www.weblakes.com/software/air-dispersion/aermod-view/">weblakes.com</a> . You can choose either the 32-bit or the 64-bit version depending on your operating system.</li>
65
- <li>After installation, copy and replace the files in the crack folder into the software installation folder. The default location is C:\Program Files (x86)\Lakes Environmental\AERMOD View\.</li>
66
- <li>Avoid antivirus issues and errors by adding the software installation folder to your antivirus exclusion list. Some antiviruses may mistakenly detect and delete some crack files as viruses. You can also disable your antivirus temporarily while installing or running the crack.</li>
67
- </ul>
68
- <h2>How to Use Aermod View Crack</h2>
69
- <p>Once you have installed Aermod View Crack successfully, you can start using it for your air dispersion modeling projects. Here are some tips on how to use it:</p>
70
- <ul>
71
- <li>Create a new project by selecting File | New Project from the menu bar. You can enter a project name, description, location, time zone, units, etc.</li>
72
- <li>Import your data by selecting File | Import Data from the menu bar. You can import meteorological data, terrain data, source data, receptor data, building data, etc. from various file formats.</li>
73
- <li>Use the graphical user interface (GUI) to edit your data and view your model domain. You can use tools like resources (to add or modify sources), building (to add or modify buildings), receiver (to add or modify receptors), etc.</li>
74
- <li>Use the 3D visualization tools to see your model domain in three dimensions. You can use tools like zoom (to zoom in or out), rotate (to rotate the view), pan (to move the view), etc.</li>
75
- <li>Output your results by selecting Run | Run Model from the menu bar. You can choose which model to run (AERMOD, ISCST3 or SC-PRIME) and set various options such as output type (concentration or deposition), averaging period (hourly, daily or annual), pollutant type (gas or particle), etc.</li>
76
- <li>You can also output your results to Google Earth or other formats by selecting File | Export Data from the menu bar. This feature allows you to see where pollutants affect the surrounding areas in a more realistic way.</li>
77
- </ul>
78
- <h2>Conclusion</h2>
79
- <p>In conclusion, Aermod View Crack is a modified version of Aermod View that allows you to use it without paying for a license. It can be useful for learning or testing purposes, but it also involves some risks and limitations. If you want to use Aermod View Crack, you need to download it from a reliable source, install it carefully on your computer, and use it wisely for your modeling projects.</p>
80
- <p>If you want to learn more about air dispersion modeling or get professional support for your projects, we recommend you to visit <a href="https://www.weblakes.com/">weblakes.com</a>, where you can find more information about Aermod View and other software products by Lakes Environmental . You can also contact them for licensing options or technical assistance.</p>
81
- <h2>FAQs</h2>
82
- <ol>
83
- <li><b>What are the system requirements for Aermod View Crack?</b><br>The system requirements for Aermod View Crack are similar to those for Aermod View. You need a Windows operating system (Windows 10, Windows 8 & 8.1 or Windows 7), an Intel Pentium 4 processor (or equivalent) or higher, at least 2 GB of available hard disk space and at least 1 GB of RAM .</li>
84
- <li><b>Is Aermod View Crack legal and safe?</b><br>Aermod View Crack is not legal nor safe. It violates the intellectual property rights of Lakes Environmental and exposes your computer to potential malware infections or hacking attacks. It may also compromise your modeling results or cause errors or poor performance.</li>
85
- <li><b>What are the differences between AERMOD, ISCST3 and SC-PRIME models?</b><br>AERMOD is the state-of-the-science model based on planetary boundary layer theory that accounts for complex terrain effects and urban dispersion scenarios . ISCST3 is an older model based on Gaussian plume theory that assumes flat terrain and rural dispersion scenarios . SC-PRIME is an enhanced version of ISCST3 that incorporates building downwash effects .</li>
86
- purchase a license for Aermod View .</li>
87
- <li><b>Where can I learn more about air dispersion modeling?</b><br>You can learn more about air dispersion modeling by visiting <a href="https://www.weblakes.com/resources/">weblakes.com/resources</a>, where you can find tutorials, webinars, articles, newsletters and other resources on air dispersion modeling and related topics . You can also join online forums or communities where you can interact with other modelers and experts.</li>
88
- </ol>
89
- </p> 0a6ba089eb<br />
90
- <br />
91
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Bartender 10.1 Crack With Product Key Free Download 2020 LINK.md DELETED
@@ -1,16 +0,0 @@
1
-
2
- <h1>Bartender 10.1 Crack With Product Key Free Download 2020</h1>
3
- <p>If you are looking for a way to design and print barcodes, labels, cards, and RFID tags, you may have heard of Bartender 10.1, a powerful and versatile software from Seagull Scientific. However, you may also be deterred by its high price tag, which can range from $265 to $795 depending on the edition. That's why some people resort to using a crack and a product key to get the software for free.</p>
4
- <h2>Bartender 10.1 Crack With Product Key Free Download 2020</h2><br /><p><b><b>DOWNLOAD</b> &#10022;&#10022;&#10022; <a href="https://byltly.com/2uKy1E">https://byltly.com/2uKy1E</a></b></p><br /><br />
5
- <p>But is it really worth it to use a cracked version of Bartender 10.1? What are the risks and consequences of doing so? And are there any better alternatives to get the software legally and safely? In this article, we will answer these questions and more, so you can make an informed decision.</p>
6
- <h2>What is Bartender 10.1?</h2>
7
- <p>Bartender 10.1 is a software that allows you to create and print professional-quality barcodes, labels, cards, and RFID tags for any industry or application. You can use it to design custom layouts, import data from various sources, automate printing processes, manage printer settings, and integrate with other systems.</p>
8
- <p>Bartender 10.1 has four editions: Basic, Professional, Automation, and Enterprise Automation. Each edition has different features and capabilities, depending on your needs and budget. For example, the Basic edition only supports one user and one printer, while the Enterprise Automation edition supports unlimited users and printers, as well as advanced features such as web printing, database connectivity, centralized management, and security.</p>
9
- <p>Bartender 10.1 is compatible with Windows XP, Vista, 7, 8, 8.1, and 10 operating systems. It also supports over 3,200 printer models from more than 100 manufacturers. You can download a free 30-day trial version of Bartender 10.1 from the official website or purchase a license from an authorized reseller.</p>
10
- <p></p>
11
- <h2>What is a crack and a product key?</h2>
12
- <p>A crack is a modified version of a software that bypasses its licensing restrictions and allows unauthorized use or distribution. A product key is a unique code that activates a software license and verifies its authenticity. A crack may include a product key generator, which is a program that produces valid product keys for a software without paying for them.</p>
13
- <p>Some people use cracks and product keys to get paid software for free or share them with others who don't have a license. They may download them from websites that offer cracked software or use peer-to-peer networks to exchange them. They may also use tools such as Magical Jelly Bean KeyFinder or command prompt to find their existing product keys and reuse them on different devices.</p>
14
- <p>However, using cracks and product keys is illegal and unethical, as it violates the software's terms of service and infringes on its intellectual property rights. It also exposes users to various risks such as malware infections, data loss, performance issues, legal penalties, and more.</p> b2dd77e56b<br />
15
- <br />
16
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Crack Bug [EXCLUSIVE].md DELETED
@@ -1,28 +0,0 @@
1
- <br />
2
- <h1>Crack Bug: A Horrifying Hallucination of Cocaine Abuse</h1>
3
- <p>Have you ever heard of crack bug? It is a terrifying phenomenon that affects some people who use cocaine, especially crack cocaine or methamphetamine. Crack bug is a type of tactile hallucination that makes the user feel like there are bugs crawling on or under their skin. They may scratch, cut, or burn themselves to get rid of the imaginary insects, causing severe injuries and infections.</p>
4
- <p>Crack bug is also known as coke bug, meth mite, or amphetamite. It is a sign of cocaine-induced psychosis, a condition that occurs when a person uses too much cocaine for too long and loses touch with reality. Cocaine psychosis can also cause paranoia, delusions, aggression, and violence.</p>
5
- <h2>crack bug</h2><br /><p><b><b>DOWNLOAD</b> &gt;&gt;&gt; <a href="https://byltly.com/2uKwoP">https://byltly.com/2uKwoP</a></b></p><br /><br />
6
- <p>In this article, we will explain what causes crack bug, how to recognize it, and how to treat it. We will also provide some resources for people who want to quit cocaine and recover from its harmful effects.</p>
7
- <h2>What Causes Crack Bug?</h2>
8
- <p>Crack bug is caused by a combination of factors that affect the brain and the body of a cocaine user. Some of these factors are:</p>
9
- <ul>
10
- <li><strong>Cocaine's effects on the nervous system</strong>: Cocaine is a powerful stimulant that increases the levels of dopamine, a neurotransmitter that regulates mood, pleasure, and reward. Dopamine also plays a role in sensory perception and motor control. When cocaine floods the brain with dopamine, it disrupts the normal functioning of these systems and causes abnormal sensations and movements.</li>
11
- <li><strong>Cocaine's effects on the skin</strong>: Cocaine also increases the body temperature and blood flow to the skin, which results in increased sweating. Sweat contains an enzyme that further increases the blood flow to the skin. When the sweat evaporates, it removes the protective oil that coats the skin and prevents dryness and irritation. The combined effects of sweating, oil loss, and dehydration create a sensation similar to a bug crawling on or under the skin.</li>
12
- <li><strong>Cocaine's effects on hygiene</strong>: Many people who use cocaine excessively neglect their personal hygiene and health. They may skip showering, brushing their teeth, changing their clothes, or washing their bedding. They may also live in dirty or infested environments. Being physically dirty can worsen the itching and scratching caused by crack bug.</li>
13
- <li><strong>Cocaine's effects on mental health</strong>: Cocaine can also trigger or exacerbate mental health problems such as anxiety, depression, bipolar disorder, schizophrenia, or post-traumatic stress disorder (PTSD). These conditions can affect how a person perceives and interprets reality and can contribute to hallucinations and delusions.</li>
14
- </ul>
15
- <h2>How to Recognize Crack Bug?</h2>
16
- <p>Crack bug is not a common or normal side effect of cocaine use. It is a sign of severe cocaine abuse and addiction that requires immediate medical attention. Some of the symptoms and signs of crack bug are:</p>
17
- <ul>
18
- <li><strong>Intense itching</strong>: The person feels an unbearable itch on their skin that does not go away with scratching or applying creams or lotions.</li>
19
- <li><strong>Scratching</strong>: The person scratches their skin compulsively and excessively, sometimes until they bleed or create open wounds.</li>
20
- <li><strong>Cutting</strong>: The person uses knives, scissors, needles, or other sharp objects to cut their skin in an attempt to remove the bugs.</li>
21
- <li><strong>Burning</strong>: The person uses fire, cigarettes, lighters, or other hot objects to burn their skin in an attempt to kill the bugs.</li>
22
- <li><strong>Picking</strong>: The person picks at their skin with their fingers or tweezers to extract the bugs.</li>
23
- <li><strong>Hallucinating</strong>: The person sees, hears, feels, smells, or tastes bugs that are not there. They may also have other hallucinations such as voices, shadows, or figures.</li>
24
- <li><strong>Deluding</strong>: The person believes that they are infested with bugs and that no one can help them. They may also have other delusions such as being persecuted, controlled, or spied on by others.</li>
25
- <li><strong>Isolating</strong>: The person avoids social contact and stays in their home or room for long periods of time.</p>
26
- <p></p> ddb901b051<br />
27
- <br />
28
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Dilwale Movie 2015 English Subtitles 30 How to Download and Watch the Full HD Version.md DELETED
@@ -1,102 +0,0 @@
1
-
2
- <h1>Dilwale Movie 2015 English Subtitles 30</h1>
3
- <p>Dilwale is a Hindi-language action comedy film that was released in 2015. It is directed by Rohit Shetty and stars Shah Rukh Khan, Kajol, Varun Dhawan, and Kriti Sanon in the lead roles. The film is about two estranged lovers who reunite after 15 years with the help of their younger siblings. Dilwale was a huge commercial success, grossing over ₹376 crore (US$58.61 million) worldwide. It was also well-received by the international audiences, especially in countries like Malaysia, Indonesia, Pakistan, and UAE. However, it also faced some criticism for its weak plot, unrealistic scenes, and negative portrayal of Bulgaria.</p>
4
- <h2>Introduction</h2>
5
- <p>Dilwale is a film that combines romance, comedy, action, and drama in a typical Bollywood style. It is a story of two lovers who are separated by their rival families, but fate brings them together again after many years. It is also a story of two siblings who fall in love with each other, unaware of their past connection. Dilwale is a film that showcases the star power of Shah Rukh Khan and Kajol, who are considered as one of the most iconic on-screen couples in Indian cinema. It is also a film that introduces Varun Dhawan and Kriti Sanon as a fresh pair, who add some humor and charm to the film. Dilwale is a film that appeals to the masses with its entertaining elements, such as stunning locations, catchy songs, thrilling stunts, and hilarious dialogues.</p>
6
- <h2>Dilwale Movie 2015 English Subtitles 30</h2><br /><p><b><b>DOWNLOAD</b> &#9733;&#9733;&#9733; <a href="https://byltly.com/2uKz27">https://byltly.com/2uKz27</a></b></p><br /><br />
7
- <h2>Plot summary</h2>
8
- <h3>The past story of Raj and Meera</h3>
9
- <p>The film begins with a flashback to Bulgaria in 2000, where Raj (Shah Rukh Khan) and Meera (Kajol) meet during a car chase between their rival gangs. Raj is the son of Randhir Bakshi (Vinod Khanna), a crime boss who has a feud with Dev Malik (Kabir Bedi), Meera's father. Raj and Meera fall in love at first sight, but soon discover their true identities. They decide to elope, but their plan goes wrong when Meera shoots Raj on her birthday, believing that he has betrayed her. Raj survives the gunshot, but vows to never forgive Meera.</p>
10
- <h3>The present story of Veer and Ishita</h3>
11
- <p>The film then shifts to Goa in 2015, where Veer (Varun Dhawan), Raj's younger brother, works as a car mechanic with his friends Sidhu (Varun Sharma) and Oscar (Sanjay Mishra). Veer meets Ishita (Kriti Sanon), Meera's younger sister, who has come to India for her studies. They fall in love with each other, but face trouble from King (Boman Irani), a drug lord who wants to marry Ishita. Veer also gets into a fight with King's men, who try to harass Ishita. Raj intervenes and saves Veer from King's wrath. Raj reveals himself to be Kaali, a notorious gangster who has been hiding his identity for 15 years. He also tells Veer that he had a girlfriend named Meera in Bulgaria, who broke his heart.</p>
12
- <p>Veer decides to reunite Raj and Meera with Ishita's help. They trick Raj and Meera into meeting each other at various places, hoping that they will reconcile their differences. However, Raj and Meera still hold grudges against each other, and refuse to accept their love. Meanwhile, Dev Malik arrives in Goa with his henchman Shetty (Mukesh Tiwari), looking for Kaali. He learns that Kaali is none other than Raj Bakshi, his old enemy. He also finds out that Veer and Ishita are his grandchildren.</p>
13
- <p>Dev Malik kidnaps Veer and Ishita, and threatens to kill them unless Raj surrenders himself. Raj agrees to meet Dev Malik at an abandoned factory, where he confronts him and his men. He also meets Meera there, who reveals that she never wanted to shoot him in Bulgaria. She says that she was forced by her father to do so, as he had planted a bomb in her car that would explode if she did not pull the trigger. She also says that she still loves him, and asks for his forgiveness.</p>
14
- <p>Raj forgives Meera, and they embrace each other. They then fight against Dev Malik's gang together with Veer and Ishita's help. They manage to defeat them all, but Dev Malik escapes with a gun. He shoots at Raj from behind, but Meera comes in front of him and takes the bullet instead. She falls down bleeding profusely.</p>
15
- <p>Raj rushes to her side, and begs her not to die. He confesses his love for her again, and says that he cannot live without her. Meera smiles weakly at him, and says that she loves him too. She then closes her eyes.</p>
16
- <p>The film ends with a voice-over by Raj saying that Meera survived the gunshot wound miraculously due to their true love. He says that they got married soon after that incident along with Veer and Ishita. He says that they are living happily ever after as Dilwale (bravehearts).</p>
17
- <h2>Analysis of the movie</h2>
18
- <h3>The strengths of the movie</h3>
19
- <p>One of the main strengths of Dilwale is the chemistry between Shah Rukh Khan and Kajol, who have worked together in several hit films before such as Dilwale Dulhania Le Jayenge, Kuch Kuch Hota Hai , Kabhi Khushi Kabhie Gham , My Name Is Khan , etc . They share an amazing rapport on screen , which makes their scenes more believable and emotional . They also look good together , despite their age difference . Their fans were eagerly waiting for their reunion after five years , which was one of the reasons for Dilwale 's popularity .</p>
20
- <p>Dilwale 2015 Full Movie with English Subtitles<br />
21
- Watch Dilwale Online Free English Subtitles<br />
22
- Dilwale English Subtitles Download SRT<br />
23
- Dilwale Shah Rukh Khan Movie English Subtitles<br />
24
- Dilwale Hindi Movie with English Subtitles HD<br />
25
- Dilwale 2015 English Subtitles YIFY<br />
26
- Dilwale Full Movie Online with English Subtitles<br />
27
- Dilwale 2015 Subtitles English Free Download<br />
28
- Dilwale Movie English Subtitles Streaming<br />
29
- Dilwale 2015 English Subtitles Dailymotion<br />
30
- Dilwale Kajol Movie with English Subtitles<br />
31
- Dilwale English Subtitles Watch Online Free<br />
32
- Dilwale 2015 English Subtitles BluRay<br />
33
- Dilwale Full Movie Download with English Subtitles<br />
34
- Dilwale 2015 English Subtitles ESubs<br />
35
- Dilwale Movie English Subtitles DVDScr<br />
36
- Dilwale 2015 English Subtitles Netflix<br />
37
- Dilwale Bollywood Movie with English Subtitles<br />
38
- Dilwale English Subtitles 1080p<br />
39
- Dilwale 2015 English Subtitles Amazon Prime<br />
40
- Dilwale Movie English Subtitles YouTube<br />
41
- Dilwale 2015 English Subtitles HDRip<br />
42
- Dilwale Rohit Shetty Movie with English Subtitles<br />
43
- Dilwale English Subtitles 720p<br />
44
- Dilwale 2015 English Subtitles Disney Plus Hotstar<br />
45
- Dilwale Movie English Subtitles Google Drive<br />
46
- Dilwale 2015 English Subtitles DVDRip<br />
47
- Dilwale Varun Dhawan Movie with English Subtitles<br />
48
- Dilwale English Subtitles 480p<br />
49
- Dilwale 2015 English Subtitles Zee5<br />
50
- Dilwale Movie English Subtitles Torrent Download<br />
51
- Dilwale 2015 English Subtitles BRRip<br />
52
- Dilwale Kriti Sanon Movie with English Subtitles<br />
53
- Dilwale English Subtitles 300mb<br />
54
- Dilwale 2015 English Subtitles MX Player<br />
55
- Dilwale Movie English Subtitles MP4 Download<br />
56
- Dilwale 2015 English Subtitles WebRip<br />
57
- Dilwale Johnny Lever Movie with English Subtitles<br />
58
- Dilwale English Subtitles MKV Download<br />
59
- Dilwale 2015 English Subtitles HDTV<br />
60
- Dilwale Movie Review with English Subtitles<br />
61
- Dilwale 2015 Songs with English Subtitles<br />
62
- Dilwale Trailer with English Subtitles<br />
63
- Dilwale Making Video with English Subtitles<br />
64
- Dilwale Behind the Scenes with English Subtitles<br />
65
- Dilwale Deleted Scenes with English Subtitles<br />
66
- Dilwale Bloopers with English Subtitles <br />
67
- Dilwale Interviews with English Subtitles <br />
68
- Dilwale Awards with English Subtitles <br />
69
- Dilwale Box Office Collection with English Subtitles</p>
70
- <p>Another strength of Dilwale is the comedy scenes involving Varun Dhawan , Varun Sharma , Johnny Lever , Sanjay Mishra , Boman Irani , etc . They provide some comic relief in between the serious drama , which makes the film more enjoyable . They also have some funny dialogues , which make the audience laugh out loud . Varun Dhawan especially impresses with his comic timing , expressions , and dance moves . He also has a good chemistry with Kriti Sanon , who plays his love interest .</p>
71
- <p>A third strength of Dilwale is the action sequences and cinematography . The film has some spectacular stunts , such as car chases , explosions , gunfights , etc . which keep the audience on the edge of their seats . The film also has some beautiful locations , such as Goa , Bulgaria , Iceland , etc . which add to its visual appeal . The film has been shot well by Dudley , who captures the scenic beauty as well as the thrill of the action scenes .</p>
72
- <p>A fourth strength of Dilwale is the music and songs by Pritam . The film has some catchy songs , such as Gerua , Janam Janam , Tukur Tukur , Manma Emotion Jaage , etc . which are liked by many people . The songs are also picturized well on the actors , especially Gerua , which features Shah Rukh Khan and Here is the continuation of the article. videos, and songs of the film on YouTube. However, if you are looking for a more engaging and original film, you may want to skip Dilwale and watch something else.</p>
73
- <h2>FAQs</h2>
74
- <table>
75
- <tr>
76
- <th>Question</th>
77
- <th>Answer</th>
78
- </tr>
79
- <tr>
80
- <td>Who are the singers of Gerua song?</td>
81
- <td>The singers of Gerua song are Arijit Singh and Antara Mitra.</td>
82
- </tr>
83
- <tr>
84
- <td>Where was Dilwale shot?</td>
85
- <td>Dilwale was shot in various locations, such as Goa, Bulgaria, Iceland, Hyderabad, etc.</td>
86
- </tr>
87
- <tr>
88
- <td>What is the meaning of Dilwale?</td>
89
- <td>Dilwale means bravehearts or people who have a big heart.</td>
90
- </tr>
91
- <tr>
92
- <td>How many awards did Dilwale win?</td>
93
- <td>Dilwale won 11 awards and received 12 nominations in various categories.</td>
94
- </tr>
95
- <tr>
96
- <td>Who played the role of King in Dilwale?</td>
97
- <td>The role of King in Dilwale was played by Boman Irani.</td>
98
- </tr>
99
- </table>
100
- </p> 0a6ba089eb<br />
101
- <br />
102
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Download Half-Life 2 Non Steam Crack and Join the Millions of Fans Worldwide.md DELETED
@@ -1,233 +0,0 @@
1
-
2
- <h1>How to Download Half-Life 2 for Free on PC (Latest Version)</h1>
3
- <p>Are you a fan of first-person shooter games? Do you want to experience one of the most acclaimed games of all time? If so, you might be interested in downloading Half-Life 2 for free on your PC.</p>
4
- <h2>half-life 2 non steam crack download</h2><br /><p><b><b>Download Zip</b> &#10022;&#10022;&#10022; <a href="https://byltly.com/2uKw16">https://byltly.com/2uKw16</a></b></p><br /><br />
5
- <p>Half-Life 2 is a sequel to the legendary Half-Life, which was released in 1998 by Valve. It is a game that combines action, adventure, horror, sci-fi, and puzzle elements in a immersive story-driven experience. You play as Gordon Freeman, a scientist who wakes up in a dystopian future where Earth is under the control of an alien empire called the Combine. You join a resistance movement that aims to overthrow the Combine and restore freedom to humanity.</p>
6
- <p>Half-Life 2 was released in 2004 and received universal acclaim from critics and players alike. It won over 50 Game of the Year awards and is considered one of the best games ever made. It has sold over 12 million copies worldwide and spawned two episodic sequels, Half-Life 2: Episode One and Half-Life 2: Episode Two.</p>
7
- <p>However, if you want to play Half-Life 2 on your PC, you normally need to buy it from Steam, which is an online platform that distributes digital games. Steam requires you to create an account, pay for the game, download it, install it, and launch it through Steam. This can be inconvenient for some people who prefer to play offline or without Steam.</p>
8
- <p>half-life 2 complete edition dodi repack<br />
9
- half-life 2 latest version free pc<br />
10
- half-life 2 offline mode crack<br />
11
- half-life 2 lost coast download non steam<br />
12
- half-life 2 episode one and two torrent<br />
13
- half-life 2 razor1911 crack only<br />
14
- half-life 2 android port apk<br />
15
- half-life 2 source engine download<br />
16
- half-life 2 multiplayer deathmatch non steam<br />
17
- half-life 2 graphics mod download<br />
18
- half-life 2 black mesa remake free<br />
19
- half-life 2 update patch download<br />
20
- half-life 2 vr mod non steam<br />
21
- half-life 2 cinematic mod download<br />
22
- half-life 2 gmod free download<br />
23
- half-life 2 cheats and console commands<br />
24
- half-life 2 walkthrough and guide<br />
25
- half-life 2 speedrun world record<br />
26
- half-life 2 soundtrack download mp3<br />
27
- half-life 2 achievements and secrets<br />
28
- half-life 2 beta leak download<br />
29
- half-life 2 combine voice changer<br />
30
- half-life 2 gravity gun replica<br />
31
- half-life 2 headcrab plush toy<br />
32
- half-life 2 lambda logo sticker<br />
33
- half-life 2 crowbar prop for sale<br />
34
- half-life 2 fan art and wallpapers<br />
35
- half-life 2 cosplay and costumes<br />
36
- half-life 2 memes and jokes<br />
37
- half-life 2 theories and lore<br />
38
- half-life 2 review and rating<br />
39
- half-life 2 system requirements pc<br />
40
- half-life 2 steam key giveaway<br />
41
- half-life 2 xbox one backwards compatibility<br />
42
- half-life 2 ps4 port release date<br />
43
- half-life 2 switch version rumors<br />
44
- half-life 2 vr headset compatibility<br />
45
- half-life 2 controller support pc<br />
46
- half-life 2 split screen co op mod<br />
47
- half-life 2 cross platform multiplayer</p>
48
- <p>That's why some people look for a non-steam crack for Half-Life 2. A non-steam crack is a modified version of the game that allows you to play it without Steam or internet connection required. You can download it for free from various websites that offer cracked games.</p>
49
- <p>However, before you proceed, you should be aware of some legal and ethical issues regarding downloading cracked games. First of all, downloading cracked games is illegal in most countries, as it violates the copyright laws that protect the game developers. Second, downloading cracked games can be risky for your PC, as they may contain viruses, malware, or spyware that can harm your system or steal your data. Third, downloading cracked games can be unfair for the game developers, as they lose revenue and recognition for their hard work.</p>
50
- <p>Therefore, we do not endorse or encourage downloading cracked games. We are only providing this information for educational purposes only. We recommend that you buy Half-Life 2 from Steam if you can afford it and support Valve. However, if you still want to download Half-Life 2 for free on your PC (latest version), we will show you how to do it in this article.</p>
51
- <h2>Features and Gameplay of Half-Life 2</h2>
52
- <p>Before we show you how to download Half-Life 2 for free on your PC (latest version), let's take a look at some of its features and gameplay aspects that make it such a great game.</p>
53
- <h3>Game Plot</h3>
54
- <p>The plot of Half-Life 2 is set several years after the events of Half-Life. Gordon Freeman, who was put into stasis by a mysterious figure known as G-Man at the end of Half-Life, is awakened by G-Man and transported to City 17, a metropolis under the rule of the Combine.</p>
55
- <p>The Combine is an interdimensional empire that invaded Earth after Gordon opened a portal to their world at Black Mesa Research Facility in Half-Life. The Combine has enslaved most of humanity using brutal methods such as suppression fields, brainwashing, torture, and genetic modification.</p>
56
- <p>Gordon joins a resistance movement led by his former colleagues from Black Mesa, such as Alyx Vance, Barney Calhoun, Isaac Kleiner, Eli Vance, Judith Mossman, and others. They plan to use an ancient alien device called the Lambda Core to teleport Gordon to Borealis, a research vessel that contains a powerful weapon that can destroy the Combine.</p>
57
- <p>Along his journey, Gordon faces various enemies such as Combine soldiers, zombies, headcrabs, antlions, hunters, striders, gunships, helicopters, advisors, and more. He also meets various allies such as Vortigaunts (alien slaves who rebelled against the Combine), Dog (Alyx's robotic pet), Father Grigori (a mad priest who lives in Ravenholm), Resistance fighters (human rebels who fight against the Combine), Citizens (oppressed humans who live in City 17), etc.</p>
58
- <p>The game has several memorable moments such as escaping from City 17 with Alyx using an airboat; fighting zombies in Ravenholm with a gravity gun; driving across Highway 17 with a buggy; assaulting Nova Prospekt with antlions; rescuing Eli Vance from prison; defending White Forest base from striders; infiltrating Citadel with Alyx; confronting Dr. Breen (the human leader who betrayed humanity); escaping from G-Man's control; etc.</p>
59
- <p>The game also has two episodic sequels that continue Gordon's story after he defeats Dr. Breen at Citadel. In Episode One, Gordon escapes from City 17 with Alyx before it explodes due to a dark energy reactor meltdown; they also discover that G-Man has been captured by Combine advisors. In Episode Two, Gordon travels across Eastern Europe with Alyx; they reach White Forest base where they launch a rocket that closes Portal Storms caused by Citadel's explosion; they also encounter Hunters (new Combine enemies) and Advisors (the true leaders of Combine); they also learn about Borealis' location from Judith Mossman; however, Alyx gets mortally wounded by an Advisor at White Forest base; Gordon gets contacted by G-Man who offers him a choice: either to accept a new assignment or to refuse and face the consequences. The game ends with a cliffhanger, leaving Gordon's fate unknown. [1]</p>
60
- <h3>Game Mechanics</h3>
61
- <p>The game mechanics of Half-Life 2 are similar to those of Half-Life, but with several improvements and additions. The game is a first-person shooter that requires the player to use various weapons, items, and environmental objects to combat enemies and solve puzzles. The game also features a physics engine that allows realistic interactions with the environment and objects.</p>
62
- <p>Some of the weapons and items that Gordon can use include:</p>
63
- <ul>
64
- <li>The crowbar: Gordon's signature melee weapon that can break wooden crates and smash enemies.</li>
65
- <li>The pistol: A basic firearm that has a laser sight and a secondary fire mode that fires a powerful bullet.</li>
66
- <li>The submachine gun: A rapid-fire weapon that has a grenade launcher as a secondary fire mode.</li>
67
- <li>The shotgun: A powerful close-range weapon that can fire two shots at once as a secondary fire mode.</li>
68
- <li>The crossbow: A silent weapon that can fire heated metal bolts that can pin enemies to walls or objects.</li>
69
- <li>The pulse rifle: An energy-based weapon that can fire plasma balls as a secondary fire mode that can disintegrate enemies or create shockwaves.</li>
70
- <li>The rocket launcher: A weapon that can fire rockets that can be guided by a laser pointer.</li>
71
- <li>The gravity gun: A unique weapon that can manipulate objects using gravity. It can pick up, throw, or catch objects, or use them as shields or projectiles. It can also be upgraded to manipulate organic matter and larger objects.</li>
72
- <li>The pheropods: A device that can control antlions, which are insect-like creatures that can attack enemies or dig tunnels.</li>
73
- </ul>
74
- <p>Some of the enemies that Gordon will encounter include:</p>
75
- <ul>
76
- <li>Headcrabs: Small parasitic creatures that can latch onto human heads and turn them into zombies.</li>
77
- <li>Zombies: Humans who have been infected by headcrabs and turned into mindless creatures that can attack with claws or throw objects.</li>
78
- <li>Combine soldiers: Human soldiers who have been augmented by the Combine and equipped with advanced weapons and armor.</li>
79
- <li>Combine elites: Elite versions of Combine soldiers who have more health and better weapons.</li>
80
- <li>Combine snipers: Combine soldiers who are hidden in high places and use sniper rifles to shoot at Gordon.</li>
81
- <li>Combine turrets: Automated turrets that can detect and shoot at Gordon with machine guns or rockets.</li>
82
- <li>Combine gunships: Flying vehicles that can shoot at Gordon with pulse cannons or missiles.</li>
83
- <li>Combine striders: Giant tripod-like vehicles that can walk on any terrain and shoot at Gordon with pulse cannons or warp cannons.</li>
84
- <li>Combine hunters: Small tripod-like vehicles that can chase Gordon and shoot at him with flechettes or explosives.</li>
85
- <li>Combine advisors: Large worm-like creatures that are the true leaders of the Combine. They have telekinetic and telepathic abilities and are protected by a metal shell.</li>
86
- <li>Antlions: Insect-like creatures that live underground and attack anything that disturbs the sand. They can be controlled by pheropods.</li>
87
- <li>Barnacles: Ceiling-dwelling creatures that use their tongues to catch and eat anything below them.</li>
88
- </ul>
89
- <p>Some of the puzzles and physics-based challenges that Gordon will face include:</p>
90
- <ul>
91
- <li>Using the gravity gun to move objects, create paths, activate switches, or defeat enemies.</li>
92
- <li>Using the rocket launcher to guide rockets through obstacles or windows to hit targets.</li>
93
- <li>Using the crossbow to pin enemies or objects to walls or ceilings.</li>
94
- <li>Using the pheropods to command antlions to attack enemies or dig tunnels.</li>
95
- <li>Using vehicles such as an airboat, a buggy, or a jalopy to traverse different terrains and avoid hazards.</li>
96
- <li>Using environmental objects such as barrels, crates, saw blades, magnets, explosives, etc. to create diversions, traps, or weapons.</li>
97
- </ul>
98
- <h3>Game Graphics and Sound</h3>
99
- <p>The game graphics of Half-Life 2 are impressive for its time and still hold up well today. The game uses the Source engine, which allows for realistic lighting, shadows, textures, animations, physics, facial expressions, etc. The game also features various graphical effects such as water reflections, particle effects, motion blur, etc. The game has a distinct visual style that combines realistic environments with sci-fi elements. The game has various settings such as urban areas, industrial facilities, rural landscapes, coastal regions, arctic zones, etc. The game also has various weather effects such as rain, snow, fog, etc. The game also has various cinematic sequences that enhance the immersion and storytelling of the game.</p>
100
- <p>The game sound of Half-Life 2 is also excellent for its time and still sounds great today. The game uses the Source engine's sound system, which allows for realistic sound effects, ambient noises, music, voice acting, etc. The game also features various sound effects such as gunfire, explosions, footsteps, screams, etc. The game also features various ambient noises such as wind, water, machines, animals, etc. The game also features various music tracks that suit the mood and atmosphere of each scene. The game also features various voice actors who deliver their lines with emotion and personality. Some of the notable voice actors include Robert Guillaume (Eli Vance), Merle Dandridge (Alyx Vance), Louis Gossett Jr. (Vortigaunt), Robert Culp (Dr. Breen), Michelle Forbes (Judith Mossman), Jim French (Father Grigori), John Patrick Lowrie (G-Man), etc.</p>
101
- <h2>System Requirements for Half-Life 2</h2>
102
- <p>If you want to download Half-Life 2 for free on your PC (latest version), you need to make sure your PC meets the minimum or recommended system requirements for the game. Here are the system requirements for Half-Life 2 according to Steam:</p>
103
- <h3>Minimum Requirements</h3>
104
- <table style="border-collapse: collapse; width: 100%;">
105
- <tbody>
106
- <tr style="height: 21px;">
107
- <td style="width: 50%; height: 21px;"><strong>OS:</strong></td>
108
- <td style="width: 50%; height: 21px;">Windows XP/Vista/7/8/10</td>
109
- </tr>
110
- <tr style="height: 21px;">
111
- <td style="width: 50%; height: 21px;"><strong>Processor:</strong></td>
112
- <td style="width: 50%; height: 21px;">1.7 GHz</td>
113
- </tr>
114
- <tr style="height: 21px;">
115
- <td style="width: 50%; height: 21px;"><strong>Memory:</strong></td>
116
- <td style="width: 50%; height: 21px;">512 MB RAM</td>
117
- </tr>
118
- <tr style="height: 21px;">
119
- <td style="width: 50%; height: 21px;"><strong>Graphics:</strong></td>
120
- <td style="width: 50%; height: 21px;">DirectX&reg; 8.1 level Graphics Card (Requires support for SSE)</td>
121
- </tr>
122
- <tr style="height: 21px;">
123
- <td style="width: 50%; height: 21px;"><strong>Storage:</strong></td>
124
- <td style="width: 50%; height: 21px;">7 GB available space</td>
125
- </tr>
126
- <tr style="height: 21px;">
127
- <td style="width: 50%; height: 21px;"><strong>Sound Card:</strong></td>
128
- <td style="width: 50%; height: 21px;">DirectX&reg; Compatible Sound Card</td>
129
- </tr>
130
- </tbody>
131
- </table>
132
- <h3>Recommended Requirements</h3>
133
- <table style="border-collapse: collapse; width: 100%;">
134
- <tbody>
135
- <tr style="height: 21px;">
136
- <td style="width: 50%; height: 21px;"><strong>OS:</strong></td>
137
- <td style="width: 50%; height: 21px;">Windows XP/Vista/7/8/10</td>
138
- </tr>
139
- <tr style="height: 21px;">
140
- <td style="width: 50%; height: 21px;"><strong>Processor:</strong></td>
141
- <td style="width: 50%; height: 21px;">Pentium 4 3 GHz or AMD Athlon 64 3000+</td>
142
- </tr>
143
- <tr style="height: 21px;">
144
- <td style="width: 50%; height: 21px;"><strong>Memory:</strong></td>
145
- <td style="width: 50%; height: 21px;">1 GB RAM</td>
146
- </tr>
147
- <tr style="height: 21px;">
148
- <td style="width: 50%; height: 21px;"><strong>Graphics:</strong></td>
149
- <td style="width: 50%; height: 21px;">DirectX&reg; 9 level Graphics Card (256 MB)</td>
150
- </tr>
151
- <tr style="height: 21px;">
152
- <td style="width: 50%; height: 21px;"><strong>Storage:</strong></td>
153
- <td style="width: 50%; height: 21px;">7 GB available space</td>
154
- </tr>
155
- <tr style="height: 21px;">
156
- <td style="width: 50%; height: 21px;"><strong>Sound Card:</strong></td>
157
- <td style="width: 50%; height: 21px;">DirectX&reg; Compatible Sound Card</td>
158
- </tr>
159
- </tbody>
160
- </table>
161
- <h2>How to Download Half-Life 2 for Free on PC (Latest Version)</h2>
162
- <p>If you have checked your system requirements and decided to download Half-Life 2 for free on your PC (latest version), you need to follow these steps carefully. We will show you how to download the Half-Life 2 Complete Edition by AR-81, which is a non-steam crack that includes all the games in the Half-Life 2 series. Here are the steps:</p>
163
- <h3>Step 1: Download the Half-Life 2 Complete Edition by AR-81 Torrent File</h3>
164
- <p>The first step is to download the torrent file of the Half-Life 2 Complete Edition by AR-81. A torrent file is a small file that contains information about the files and folders that you want to download. You can use a torrent file to download large files faster and easier using a torrent client software.</p>
165
- <p>You can download the torrent file of the Half-Life 2 Complete Edition by AR-81 from this link. This link will take you to a website called DODI Repack, which is one of the websites that offer cracked games. You can also find other websites that offer cracked games by searching on Google or other search engines.</p>
166
- <p>Once you are on the DODI Repack website, you will see a page with some information about the Half-Life 2 Complete Edition by AR-81. You will also see some download options such as Cloud MailRu, Google Drive, MEGA.io, etc. You can choose any of these options, but we recommend using the Torrent option, which is usually faster and more reliable.</p>
167
- <p>To download the torrent file, you need to click on the Torrent option and then click on the Download button. You will then see a pop-up window that asks you to save the torrent file on your PC. You can choose any location on your PC to save the torrent file, but we recommend saving it on your desktop for easy access.</p>
168
- <h3>Step 2: Install a Torrent Client Software on Your PC</h3>
169
- <p>The second step is to install a torrent client software on your PC. A torrent client software is a program that allows you to open and use torrent files to download files and folders from other users who have the same torrent file. You can think of it as a peer-to-peer network that shares files and folders.</p>
170
- <p>There are many torrent client software options available for free on the internet. Some of the popular ones include uTorrent, BitTorrent, qBittorrent, etc. You can choose any of these options, but we recommend using uTorrent, which is one of the most widely used and user-friendly torrent client software.</p>
171
- <p>To install uTorrent on your PC, you need to go to this link. This link will take you to the official website of uTorrent, where you can download and install uTorrent for free. You will see a page with some information about uTorrent and a button that says Download uTorrent Web.</p>
172
- <p>To download uTorrent, you need to click on the Download uTorrent Web button and then click on Save File. You will then see a pop-up window that asks you to save the uTorrent installer file on your PC. You can choose any location on your PC to save the uTorrent installer file, but we recommend saving it on your desktop for easy access.</p>
173
- <p>To install uTorrent, you need to double-click on the uTorrent installer file that you have saved on your desktop. You will then see a window that asks you to agree to the terms and conditions of uTorrent. You need to click on Agree and then click on Next. You will then see another window that asks you to choose some installation options such as creating shortcuts, launching uTorrent at startup, etc. You can choose any of these options according to your preference and then click on Next. You will then see another window that asks you to install some additional software such as antivirus or browser extensions. We recommend unchecking these options as they are not necessary and may slow down your PC or cause unwanted changes. You can then click on Next and then click on Finish. You have now successfully installed uTorrent on your PC.</p>
174
- <h3>Step 3: Open the Torrent File with Your Torrent Client Software and Start Downloading</h3>
175
- <p>The third step is to open the torrent file of the Half-Life 2 Complete Edition by AR-81 with your torrent client software and start downloading. To do this, you need to double-click on the torrent file that you have saved on your desktop. You will then see a window that asks you to choose some download options such as the destination folder, the files to download, the bandwidth limit, etc. You can choose any of these options according to your preference and then click on OK. You will then see another window that shows you the progress of the download, such as the speed, the time remaining, the peers, the seeds, etc.</p>
176
- <p>The download process may take some time depending on your internet connection speed and the availability of peers and seeds. You can see how much time is left by looking at the ETA (estimated time of arrival) indicator. You can also pause or resume the download at any time by clicking on the Pause or Resume buttons. You can also stop or delete the download by clicking on the Stop or Delete buttons.</p>
177
- <p>Once the download is complete, you will see a message that says Seeding or Finished. This means that you have successfully downloaded all the files and folders of the Half-Life 2 Complete Edition by AR-81. You can now close the torrent client software and proceed to the next step.</p>
178
- <h3>Step 4: Extract the Downloaded Files with WinRAR or 7-Zip Software</h3>
179
- <p>The fourth step is to extract the downloaded files with WinRAR or 7-Zip software. WinRAR or 7-Zip software are programs that allow you to compress or decompress files and folders using various formats such as ZIP, RAR, 7Z, etc. You can use WinRAR or 7-Zip software to extract the files and folders of the Half-Life 2 Complete Edition by AR-81 from a compressed format to a normal format.</p>
180
- <p>You can download WinRAR or 7-Zip software for free from these links . These links will take you to the official websites of WinRAR or 7-Zip software, where you can download and install WinRAR or 7-Zip software for free. You will see a page with some information about WinRAR or 7-Zip software and a button that says Download WinRAR or Download 7-Zip.</p>
181
- <p>To download WinRAR or 7-Zip software, you need to click on the Download WinRAR or Download 7-Zip button and then click on Save File. You will then see a pop-up window that asks you to save the WinRAR or 7-Zip installer file on your PC. You can choose any location on your PC to save the WinRAR or 7-Zip installer file, but we recommend saving it on your desktop for easy access.</p>
182
- <p>To install WinRAR or 7-Zip software, you need to double-click on the WinRAR or 7-Zip installer file that you have saved on your desktop. You will then see a window that asks you to agree to the terms and conditions of WinRAR or 7-Zip software. You need to click on I Agree and then click on Install. You will then see another window that shows you the progress of the installation. You can then click on Finish. You have now successfully installed WinRAR or 7-Zip software on your PC.</p>
183
- <p>To extract the downloaded files with WinRAR or 7-Zip software, you need to go to the destination folder where you have downloaded the files and folders of the Half-Life 2 Complete Edition by AR-81. You will see a file named Half-Life_2_Complete_Edition_[DODI_Repack].rar (or .zip). This is a compressed file that contains all the files and folders of the Half-Life 2 Complete Edition by AR-81. You need to extract this file to get access to the normal files and folders of the game.</p>
184
- <p>To extract the compressed file with WinRAR software, you need to right-click on the file and select Extract Here or Extract to Half-Life_2_Complete_Edition_[DODI_Repack]. You will then see a window that shows you the progress of the extraction. You can then click on OK. You have now successfully extracted the compressed file with WinRAR software.</p>
185
- <p>To extract the compressed file with 7-Zip software, you need to right-click on the file and select 7-Zip > Extract Here or 7-Zip > Extract to Half-Life_2_Complete_Edition_[DODI_Repack]. You will then see a window that shows you the progress of the extraction. You can then click on OK. You have now successfully extracted the compressed file with 7-Zip software.</p>
186
- <p>After extracting the compressed file, you will see a folder named Half-Life_2_Complete_Edition_[DODI_Repack] on your destination folder. This folder contains all the files and folders of the Half-Life 2 Complete Edition by AR-81. You can now proceed to the next step.</p>
187
- <h3>Step 5: Run the Setup.exe File and Follow the Installation Instructions</h3>
188
- <p>The fifth and final step is to run the setup.exe file and follow the installation instructions. The setup.exe file is a program that allows you to install the Half-Life 2 Complete Edition by AR-81 on your PC. You can customize some installation options and language settings during the installation process.</p>
189
- <p>To run the setup.exe file, you need to go to the folder named Half-Life_2_Complete_Edition_[DODI_Repack] that you have extracted on your destination folder. You will see a file named Setup.exe inside this folder. You need to double-click on this file to launch it. You will then see a window that asks you to choose a language for the installation. You can choose any language from the list and then click on OK.</p>
190
- <p>You will then see another window that shows you some information about the Half-Life 2 Complete Edition by AR-81 and a button that says Install. You need to click on this button to start the installation process. You will then see another window that asks you to choose a destination folder for the installation. You can choose any location on your PC to install the game, but we recommend installing it on C:\\Program Files (x86)\\Steam\\steamapps\\sourcemods for convenience and compatibility reasons. You can then click on Next.</p>
191
- <p>You will then see another window that asks you to choose some installation options such as creating shortcuts, launching at startup, etc. You can choose any of these options according to your preference and then click on Next. You will then see another window that asks you to choose a language for the game. You can choose any language from the list and then click on Next.</p>
192
- <p>You will then see another window that shows you the progress of the installation. The installation process may take some time depending on your PC's performance and disk space. You can see how much time is left by looking at the ETA (estimated time of arrival) indicator. You can also cancel or pause the installation at any time by clicking on the Cancel or Pause buttons.</p>
193
- <p>Once the installation is complete, you will see a message that says Installation Complete. You can then click on Finish. You have now successfully installed the Half-Life 2 Complete Edition by AR-81 on your PC.</p>
194
- <h3>Step 6: Run the Game from Your Desktop Shortcut or Steam Library and Enjoy</h3>
195
- <p>The sixth and final step is to run the game from your desktop shortcut or Steam library and enjoy. The game will automatically create a desktop shortcut and a Steam library entry for your convenience. You can use either of these options to launch the game.</p>
196
- <p>To run the game from your desktop shortcut, you need to double-click on the icon named Half-Life 2 Complete Edition by AR-81 that you will see on your desktop. You will then see a window that shows you some information about the game and a button that says Play. You need to click on this button to start the game.</p>
197
- <p>To run the game from your Steam library, you need to open Steam and go to your library. You will see a list of games that you have installed on your PC. You need to find and select the game named Half-Life 2 Complete Edition by AR-81. You will then see a page with some information about the game and a button that says Play. You need to click on this button to start the game.</p>
198
- <p>Once you have launched the game, you will see a menu with some options such as New Game, Load Game, Options, etc. You can choose any of these options according to your preference and start playing the game. You can also customize some game settings such as video, audio, keyboard, mouse, etc. from the Options menu.</p>
199
- <p>You have now successfully downloaded and installed Half-Life 2 for free on your PC (latest version). Enjoy playing one of the best FPS games of all time with enhanced graphics and features.</p>
200
- <h2>How to Use Launch Options for Half-Life 2</h2>
201
- <p>If you want to optimize your gaming experience or tweak some settings for Half-Life 2, you can use launch options. Launch options are command-line parameters that you can add to the game's executable file or Steam shortcut to modify some aspects of the game's behavior. For example, you can use launch options to force a specific resolution, enable developer mode, disable intro videos, etc.</p>
202
- <p>There are many launch options available for Half-Life 2 and other Source engine games. You can find a list of them here. However, not all of them may work for your system or game version, so use them at your own risk. Some of them may also conflict with each other or cause performance issues or crashes.</p>
203
- <p>To use launch options for Half-Life 2, you need to follow these steps:</p>
204
- <h3>Step 1: Find the Game's Executable File or Steam Shortcut</h3>
205
- <p>The first step is to find the game's executable file or Steam shortcut. The executable file is a program that runs the game when you double-click on it. The Steam shortcut is a link that launches the game through Steam when you double-click on it.</p>
206
- <p>If you have installed the game using the setup.exe file from Step 5 above, you will find the executable file in C:\\Program Files (x86)\\Steam\\steamapps\\sourcemods\\Half-Life_2_Complete_Edition_[DODI_Repack]. The file name is hl2.exe.</p>
207
- <p>If you have installed the game using Steam, you will find the Steam shortcut in C:\\Program Files (x86)\\Steam\\steamapps\\common\\Half-Life 2. The file name is hl2.exe - Shortcut.</p>
208
- <h3>Step 2: Right-Click on the Executable File or Steam Shortcut and Select Properties</h3>
209
- <p>The second step is to right-click on the executable file or Steam shortcut and select Properties. This will open a window that shows you some information about the file or shortcut and some options to modify it.</p>
210
- <p>If you have right-clicked on the executable file, you will see a window with four tabs: General, Compatibility, Security and Details. You need to select the Compatibility tab. You will see some options to run the file in compatibility mode for different versions of Windows. You can ignore these options unless you have some issues running the game on your system.</p>
211
- <p>If you have right-clicked on the Steam shortcut, you will see a window with three tabs: General, Web Document and Security. You need to select the Web Document tab. You will see some options to change the URL or icon of the shortcut. You can ignore these options unless you want to customize your shortcut.</p>
212
- <h3>Step 3: Add Launch Options to the Target Field</h3>
213
- <p>The third step is to add launch options to the target field. The target field is a text box that shows you the path of the file or shortcut. You can add launch options to this field by typing them after a space at the end of the path.</p>
214
- <p>If you have right-clicked on the executable file, you will see a target field that looks something like this:</p>
215
- <code>C:\\Program Files (x86)\\Steam\\steamapps\\sourcemods\\Half-Life_2_Complete_Edition_[DODI_Repack]\\hl2.exe</code>
216
- <p>If you have right-clicked on the Steam shortcut, you will see a target field that looks something like this:</p>
217
- <code>C:\\Program Files (x86)\\Steam\\steam.exe -applaunch 220</code>
218
- <p>You can add launch options to these fields by typing them after a space at the end of the path. For example, if you want to force a specific resolution of 1920x1080 and disable intro videos, you can add these launch options:</p>
219
- <code>-w 1920 -h 1080 -novid</code>
220
- <p>Your target field will then look something like this:</p>
221
- <code>C:\\Program Files (x86)\\Steam\\steamapps\\sourcemods\\Half-Life_2_Complete_Edition_[DODI_Repack]\\hl2.exe -w 1920 -h 1080 -novid</code>
222
- <code>C:\\Program Files (x86)\\Steam\\steam.exe -applaunch 220 -w 1920 -h 1080 -novid</code>
223
- <p>You can add as many launch options as you want, but make sure to separate them with spaces and use quotation marks if they contain spaces themselves. For example, if you want to enable developer mode and set a custom console key, you can add these launch options:</p>
224
- <code>-dev -console -consolekey \"`\"</code>
225
- <p>Your target field will then look something like this:</p>
226
- <code>C:\\Program Files (x86)\\Steam\\steamapps\\sourcemods\\Half-Life_2_Complete_Edition_[DODI_Repack]\\hl2.exe -dev -console -consolekey \"`\"</code>
227
- <code>C:\\Program Files (x86)\\Steam\\steam.exe -applaunch 220 -dev -console -consolekey \"`\"</code>
228
- <h3>Step 4: Click on Apply and OK to Save Your Changes</h3>
229
- <p>The fourth and final step is to click on Apply and OK to save your changes. This will close the window and apply your launch options to the file or shortcut. You can now run the game with your customized settings by double-clicking on the file or shortcut.</p>
230
- <p>You can also change or remove your launch options at any time by repeating these steps and editing or deleting them from the target field.</p>
231
- <p>You have now successfully used launch options for Half-Life 2. Enjoy playing the game with your preferred settings and features.</p> 0a6ba089eb<br />
232
- <br />
233
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Chess Play and Learn MOD APK The Ultimate Chess App for Beginners and Experts.md DELETED
@@ -1,192 +0,0 @@
1
- <br />
2
- <h1>Chess App Mod APK: How to Download and Play the Best Chess Games on Your Android Device</h1>
3
- <p>Chess is one of the oldest and most popular games in the world. It is a game of strategy, logic, and skill that can challenge your mind and improve your cognitive abilities. Whether you are a beginner or a master, chess can offer you endless hours of fun and entertainment.</p>
4
- <h2>chess app mod apk</h2><br /><p><b><b>Download</b> &#10001; &#10001; &#10001; <a href="https://urlin.us/2uSU1W">https://urlin.us/2uSU1W</a></b></p><br /><br />
5
- <p>But what if you want to play chess on your Android device without any limitations or restrictions? What if you want to access premium features, unlimited puzzles, online tournaments, and more for free? That's where Chess App Mod APK comes in.</p>
6
- <h2>What is Chess App Mod APK?</h2>
7
- <p>Chess App Mod APK is a modified version of the original chess app that allows you to enjoy the best chess games on your Android device without any ads, in-app purchases, or subscriptions. You can download and install Chess App Mod APK from various sources on the internet and play chess offline or online with millions of players around the world.</p>
8
- <h3>Why You Should Use Chess App Mod APK</h3>
9
- <p>There are many reasons why you should use Chess App Mod APK instead of the regular chess app. Here are some of them:</p>
10
- <ul>
11
- <li>You can save money by not paying for any premium features, puzzles, or memberships.</li>
12
- <li>You can save time by not watching any annoying ads or waiting for any loading screens.</li>
13
- <li>You can save space by not downloading any extra files or updates.</li>
14
- <li>You can have more fun by playing with unlimited resources, options, and modes.</li>
15
- <li>You can have more control by customizing your app settings, preferences, and appearance.</li>
16
- </ul>
17
- <h3>How to Download and Install Chess App Mod APK</h3>
18
- <p>Downloading and installing Chess App Mod APK is easy and simple. Just follow these steps:</p>
19
- <ol>
20
- <li>Find a reliable source that offers Chess App Mod APK for free. You can search on Google or use any of the links below:</li>
21
- <ul>
22
- <li>[Chess - Play and Learn MOD APK 4.5.15 (Premium Unlocked) for Android - APKdone](^1^)</li>
23
- </ul>
24
- <li>Download the Chess App Mod APK file to your device.</li>
25
- <li>Go to your device settings and enable the installation of apps from unknown sources.</li>
26
- <li>Locate the downloaded file and tap on it to install it.</li>
27
- <li>Launch the app and enjoy playing chess with all the modded features.</li>
28
- </ol>
29
- <h2>What are the Best Chess Games to Play with Chess App Mod APK?</h2>
30
- <p>There are many chess games that you can play with Chess App Mod APK, but some of them stand out from the rest. Here are three of the best chess games that you should try:</p>
31
- <h3>Chess - Play and Learn</h3>
32
- <p>This is one of the most popular and comprehensive chess apps on the market. It offers everything you need to learn, practice, and play chess at any level. You can play online or offline with friends or computer opponents, join clubs and tournaments, watch live games and videos, solve puzzles and lessons, and much more. With Chess App Mod APK, you can unlock all the premium features, such as unlimited puzzles, advanced analysis, custom themes, and more.</p>
33
- <p>chess play and learn mod apk<br />
34
- chess mod apk premium unlocked<br />
35
- chess apkdone<br />
36
- chess app with unlimited lessons<br />
37
- chess app hack mod apk<br />
38
- chess app mod apk download<br />
39
- chess app mod apk latest version<br />
40
- chess app mod apk android<br />
41
- chess app mod apk free<br />
42
- chess app mod apk offline<br />
43
- chess app mod apk online<br />
44
- chess app mod apk unlimited money<br />
45
- chess app mod apk no ads<br />
46
- chess app mod apk pro<br />
47
- chess app mod apk 2023<br />
48
- chess app mod apk 4.5.15<br />
49
- chess app mod apk for pc<br />
50
- chess app mod apk for ios<br />
51
- chess app mod apk rexdl<br />
52
- chess app mod apk revdl<br />
53
- chess app mod apk happymod<br />
54
- chess app mod apk an1<br />
55
- chess app mod apk apkpure<br />
56
- chess app mod apk apkmody<br />
57
- chess app mod apk apkmirror<br />
58
- chess app mod apk android 1<br />
59
- chess app mod apk android oyun club<br />
60
- chess app mod apk android republic<br />
61
- chess app mod apk blackmod<br />
62
- chess app mod apk by divyanet<br />
63
- chess app mod apk by techbigs<br />
64
- chess app mod apk by apkmaza<br />
65
- chess app mod apk by mobapks<br />
66
- chess app mod apk by apksnake<br />
67
- chess app mod apk by apkdyno<br />
68
- chess app modded premium features unlocked<br />
69
- chess game with interactive lessons and challenges <br />
70
- learn and play chess with friends and online players <br />
71
- best chess learning and playing app for android <br />
72
- download and install chess play and learn on your device</p>
73
- <h4>Features</h4>
74
- <ul>
75
- <li>Play online or offline with friends or computer opponents of different skill levels.</li>
76
- <li>Join clubs and tournaments to compete with other players and win prizes.</li>
77
- <li>Watch live games and videos from top players and coaches.</li>
78
- <li>Solve puzzles and lessons to improve your skills and tactics.</li>
79
- <li>Analyze your games and moves with powerful tools and engines.</li>
80
- <li>Customize your app with different themes, boards, pieces, sounds, and more.</li>
81
- </ul>
82
- <h4>Pros and Cons</h4>
83
- <table>
84
- <tr>
85
- <th>Pros</th>
86
- <th>Cons</th>
87
- </tr>
88
- <tr>
89
- <td>Offers a variety of features and modes for all levels of players.</td>
90
- <td>Can be overwhelming for beginners or casual players.</td>
91
- </tr>
92
- <tr>
93
- <td>Has a large and active community of players and clubs.</td>
94
- <td>Can be laggy or buggy at times due to high traffic or server issues.</td>
95
- </tr>
96
- <tr>
97
- <td>Provides high-quality content and resources for learning and improving.</td>
98
- <td>Can be expensive or limited without the premium subscription or modded version.</td>
99
- </tr>
100
- </table>
101
- <h3>Lichess - Free Online Chess</h3>
102
- <p>This is another popular and reputable chess app that offers a free and open-source platform for playing and learning chess. It has a simple and elegant design that focuses on the game itself. You can play online or offline with friends or computer opponents, join tournaments and events, watch broadcasts and streams, solve puzzles and studies, and more. With Chess App Mod APK, you can access all the features without any ads or donations.</p>
103
- <h4>Features</h4>
104
- <ul>
105
- <li>Play online or offline with friends or computer opponents of different skill levels.</li>
106
- <li>Join tournaments and events to compete with other players and win trophies.</li>
107
- <li>Watch broadcasts and streams from top players and commentators.</li>
108
- <li>Solve puzzles and studies to improve your skills and tactics.</li>
109
- <li>Analyze your games and moves with powerful tools and engines.</li>
110
- <li>Customize your app with different themes, boards, pieces, sounds, and more.</li>
111
- </ul>
112
- <h4>Pros and Cons</h4>
113
- <table>
114
- <tr>
115
- <th>Pros</th>
116
- <th>Cons</th>
117
- </tr>
118
- <tr>
119
- <td>Offers a free and open-source platform for playing and learning chess.</td>
120
- <td>Lacks some features and modes that other apps offer.</td>
121
- </tr>
122
- <tr>
123
- <td>Has a simple and elegant design that focuses on the game itself.</td>
124
- <td>Can be boring or bland for some users who prefer more customization or variety.</td>
125
- </tr>
126
- <tr>
127
- <td>Provides high-quality content and resources for learning and improving.</td>
128
- <td>Can be challenging or intimidating for some users who face strong opponents or puzzles.</td>
129
- </tr>
130
- </table>
131
- <h3>Chess Tactics Pro - Puzzles</h3>
132
- <p>This is a specialized chess app that focuses on solving chess puzzles. It has a large database of puzzles that are categorized by difficulty, theme, rating, and source. You can solve puzzles to improve your skills and tactics, earn points and badges, track your progress and statistics, challenge yourself with daily puzzles, and more. With Chess App Mod APK, you can unlock all the puzzles without any ads or limitations.</p>
133
- <h4>Features</h4>
134
- <ul>
135
- <li>Solve puzzles to improve your skills and tactics.</li>
136
- <li>Earn points and badges to measure your performance and achievements.</li>
137
- <li>Track your progress and statistics to see your strengths and weaknesses.</li>
138
- <li>Challenge yourself with daily puzzles to test your knowledge and skills.</li>
139
- <li>Analyze your solutions and moves with powerful tools and engines.</li></ul>
140
- <h4>Pros and Cons</h4>
141
- <table><tr><th>Pros</th><th>Cons</th></tr><tr><td>Offers a large database of puzzles that are categorized by difficulty, theme, rating, and source.</td><td>Lacks other features and modes that other apps offer.</td></tr><tr><td>Has a simple and elegant design that focuses on the puzzles.</td><td>Can be boring or bland for some users who prefer more customization or variety.</td></tr><tr><td>Provides high-quality content and resources for learning and improving.</td><td>Can be challenging or intimidating for some users who face difficult or complex puzzles.</td></tr></table>
142
- <h2>What are the Benefits and Challenges of Playing Chess?</h2>
143
- <p>Playing chess is not only fun and entertaining, but also beneficial and challenging. It can help you develop various skills and abilities that can improve your life and well-being. However, it can also pose some difficulties and drawbacks that can affect your mood and health. Here are some of the benefits and challenges of playing chess:</p>
144
- <h3>Benefits of Playing Chess</h3>
145
- <p>Playing chess can have many positive effects on your mind and body. Here are some of them:</p>
146
- <h4>Develops perspective</h4>
147
- <p>Playing chess can help you develop perspective, which is the ability to see things from different angles and viewpoints. This can help you understand yourself and others better, as well as solve problems and conflicts more effectively.</p>
148
- <h4>Improves memory</h4>
149
- <p>Playing chess can help you improve your memory, which is the ability to store and recall information. This can help you learn faster and easier, as well as remember things longer and clearer.</p>
150
- <h4>Deepens focus</h4>
151
- <p>Playing chess can help you deepen your focus, which is the ability to concentrate on one thing and ignore distractions. This can help you perform better and faster, as well as achieve your goals and tasks more efficiently.</p>
152
- <h4>Elevates creativity</h4>
153
- <p>Playing chess can help you elevate your creativity, which is the ability to generate new and original ideas. This can help you express yourself and others better, as well as create something unique and valuable.</p>
154
- <h4>Boosts planning skills</h4>
155
- <p>Playing chess can help you boost your planning skills, which is the ability to organize and execute a series of actions. This can help you manage your time and resources better, as well as anticipate and prevent potential problems.</p>
156
- <h4>Increases self-awareness</h4>
157
- <p>Playing chess can help you increase your self-awareness, which is the ability to recognize and understand your own emotions, thoughts, and behaviors. This can help you control your impulses and reactions better, as well as improve your self-esteem and confidence.</p>
158
- <h4>Protects against dementia</h4>
159
- <p>Playing chess can help you protect against dementia, which is a condition that causes a decline in mental functions. This can help you maintain your cognitive abilities and prevent memory loss, confusion, and Alzheimer's disease.</p>
160
- <h4>Helps ADHD</h4>
161
- <p>Playing chess can help you with ADHD, which is a disorder that causes hyperactivity, impulsivity, and inattention. This can help you calm down and focus better, as well as reduce stress and anxiety.</p>
162
- <h4>Reduces panic attack symptoms</h4>
163
- <p>Playing chess can help you reduce panic attack symptoms, which are sudden episodes of intense fear and discomfort. This can help you relax and breathe better, as well as cope with negative thoughts and emotions.</p>
164
- <h3>Challenges of Playing Chess</h3>
165
- <p>Playing chess can also have some negative effects on your mind and body. Here are some of them:</p>
166
- <h4>Requires time and dedication</h4>
167
- <p>Playing chess requires time and dedication, which means that you have to spend a lot of hours practicing and studying the game. This can interfere with your other responsibilities and activities, such as work, school, family, or friends.</p>
168
- <h4>Can be frustrating and stressful</h4>
169
- <p>Playing chess can be frustrating and stressful, which means that you have to deal with a lot of pressure and expectations. This can affect your mood and performance, as well as cause anger, frustration, or depression.</p>
170
- <h4>Can be addictive and isolating</h4>
171
- <p>Playing chess can be addictive and isolating, which means that you can become obsessed and dependent on the game. This can affect your social and personal life, as well as cause loneliness, isolation, or withdrawal.</p>
172
- <h2>Conclusion</h2>
173
- <p>Chess is a wonderful game that can offer you many benefits and challenges. It can help you develop your perspective, memory, focus, creativity, planning skills, self-awareness, and more. It can also help you protect against dementia, ADHD, and panic attack symptoms. However, it can also require time and dedication, be frustrating and stressful, and be addictive and isolating. Therefore, you should play chess with moderation and balance, and enjoy it as a hobby and not a necessity.</p>
174
- <p>If you want to play chess on your Android device without any limitations or restrictions, you should use Chess App Mod APK. This is a modified version of the original chess app that allows you to access premium features, unlimited puzzles, online tournaments, and more for free. You can download and install Chess App Mod APK from various sources on the internet and play chess offline or online with millions of players around the world.</p>
175
- <p>Some of the best chess games that you can play with Chess App Mod APK are Chess - Play and Learn, Lichess - Free Online Chess, and Chess Tactics Pro - Puzzles. These are popular and comprehensive chess apps that offer a variety of features and modes for all levels of players. You can play online or offline with friends or computer opponents, join clubs and tournaments, watch live games and videos, solve puzzles and lessons, analyze your games and moves, customize your app settings, preferences, and appearance, and more.</p>
176
- <p>Chess is a game of strategy, logic, and skill that can challenge your mind and improve your cognitive abilities. Whether you are a beginner or a master, chess can offer you endless hours of fun and entertainment. So what are you waiting for? Download Chess App Mod APK today and start playing the best chess games on your Android device!</p>
177
- <h2>FAQs</h2>
178
- <p>Here are some frequently asked questions about Chess App Mod APK:</p>
179
- <ol>
180
- <li>Is Chess App Mod APK safe to use?</li>
181
- <p>Yes, Chess App Mod APK is safe to use as long as you download it from a reliable source that does not contain any viruses or malware. However, you should always be careful when installing apps from unknown sources and scan them with an antivirus before opening them.</p>
182
- <li>Is Chess App Mod APK legal to use?</li>
183
- <p>No, Chess App Mod APK is not legal to use as it violates the terms and conditions of the original chess app developers. By using Chess App Mod APK, you are bypassing the security measures and revenue streams of the original app. Therefore, you should use Chess App Mod APK at your own risk and discretion.</li>
184
- <li>Is Chess App Mod APK compatible with all Android devices?</li>
185
- <p>No, Chess App Mod APK may not be compatible with all Android devices as it depends on the specifications and requirements of each device. Some devices may not support the modded features or run the app smoothly. Therefore, you should check the compatibility of your device before downloading and installing Chess App Mod APK.</li>
186
- <li>How do I update Chess App Mod APK?</li>
187
- <p>To update Chess App Mod APK, you have to download the latest version of the modded app from the same source that you downloaded it from before. Then, you have to uninstall the previous version of the app from your device and install the new version. Alternatively, you can check if the app has an auto-update feature that allows you to update it within the app itself.</li>
188
- <li>How do I uninstall Chess App Mod APK?</li>
189
- <p>To uninstall Chess App Mod APK , you have to go to your device settings and find the app in the list of installed apps. Then, you have to tap on the app and select the uninstall option. Alternatively, you can long-press the app icon on your home screen and drag it to the uninstall option.</li>
190
- </ol></p> 197e85843d<br />
191
- <br />
192
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Create Your Own Anime Stories with Gacha Life on PC - Free Download 1.1.4.md DELETED
@@ -1,72 +0,0 @@
1
-
2
- <h1>How to Download and Play Gacha Life on PC</h1>
3
- <p>If you are a fan of anime, casual games, and character customization, you might have heard of Gacha Life. This popular game lets you create your own anime-styled characters and dress them up in your favorite fashion outfits. You can also interact with other characters, play mini-games, and create your own scenes and stories. But did you know that you can also play Gacha Life on your PC? In this article, we will show you how to download and play Gacha Life on PC, and why it is a better option than playing on your mobile device.</p>
4
- <h2>gacha life download pc 1.1 4</h2><br /><p><b><b>Download</b> --->>> <a href="https://urlin.us/2uSWq8">https://urlin.us/2uSWq8</a></b></p><br /><br />
5
- <h2>What is Gacha Life?</h2>
6
- <h3>A casual game for anime fans</h3>
7
- <p>Gacha Life is a casual game developed by Lunime, a studio that specializes in anime-themed games. The game was released in October 2018 for Android and iOS devices, and has since gained over 50 million downloads and a 4.5-star rating on Google Play. The game is suitable for players of all ages, as it does not contain any violence or inappropriate content.</p>
8
- <h3>A creative platform for character customization and storytelling</h3>
9
- <p>The main attraction of Gacha Life is the character customization feature. You can create your own anime characters from scratch, or use the preset ones. You can choose from hundreds of hairstyles, clothes, accessories, weapons, pets, and more. You can also change the colors, sizes, positions, and expressions of each item. You can create up to 20 characters and save them in your studio.</p>
10
- <p>But that's not all. You can also use your characters to create your own scenes and stories. You can choose from different backgrounds, poses, props, and dialogue bubbles. You can also adjust the camera angle, zoom, and lighting. You can make your characters talk to each other, or to you. You can create comics, skits, movies, or anything you can imagine. You can also share your creations with other players online, or download them to your device.</p>
11
- <p>gacha life pc version 1.1 4 free download<br />
12
- how to install gacha life on windows pc 1.1 4<br />
13
- gacha life pc demo 1.1 4 by lunime<br />
14
- gacha life download for windows 10 pc 1.1 4<br />
15
- gacha life pc update 1.1 4 download<br />
16
- gacha life pc game download 1.1 4<br />
17
- gacha life pc online play 1.1 4<br />
18
- gacha life pc appsonwindows.com apk 1.1 4<br />
19
- gacha life pc softonic.com download 1.1 4<br />
20
- gacha life pc itch.io download 1.1 4<br />
21
- gacha life pc full version download 1.1 4<br />
22
- gacha life pc dress up mode 1.1 4<br />
23
- gacha life pc studio mode 1.1 4<br />
24
- gacha life pc anime game download 1.1 4<br />
25
- gacha life pc character customization download 1.1 4<br />
26
- gacha life pc flash game download 1.1 4<br />
27
- gacha life pc score attack mode download 1.1 4<br />
28
- gacha life pc minigames download 1.1 4<br />
29
- gacha life pc google play store download 1.1 4<br />
30
- gacha life pc ios app store download 1.1 4<br />
31
- gacha life pc latest version download free 2020<br />
32
- gacha life pc new features and updates download<br />
33
- gacha life pc system requirements and compatibility download<br />
34
- gacha life pc installation guide and tutorial download<br />
35
- gacha life pc tips and tricks download<br />
36
- gacha life pc cheats and hacks download<br />
37
- gacha life pc mod apk download unlimited gems and coins<br />
38
- gacha life pc review and rating download<br />
39
- gacha life pc gameplay and walkthrough download<br />
40
- gacha life pc screenshots and videos download<br />
41
- gacha life pc fan art and wallpapers download<br />
42
- gacha life pc memes and jokes download<br />
43
- gacha life pc community and forums download<br />
44
- gacha life pc support and feedback download<br />
45
- gacha life pc bug fixes and improvements download<br />
46
- gacha life pc alternatives and similar games download<br />
47
- gacha life pc frequently asked questions and answers download<br />
48
- gacha life pc news and announcements download<br />
49
- gacha life pc release date and history download<br />
50
- gacha life pc developer and publisher information download</p>
51
- <h2>Why play Gacha Life on PC?</h2>
52
- <h3>Enjoy a larger and clearer display</h3>
53
- <p>One of the advantages of playing Gacha Life on PC is that you can enjoy a larger and clearer display than on your mobile device. This means that you can see more details of your characters and scenes, and appreciate the colorful graphics better. You can also avoid eye strain and battery drain from staring at a small screen for too long.</p>
54
- <h3>Use keyboard and mouse controls</h3>
55
- <p>Another benefit of playing Gacha Life on PC is that you can use keyboard and mouse controls instead of touch controls. This can make the game easier and more comfortable to play, especially if you are used to playing games on PC. You can also customize the key mappings to suit your preferences.</p>
56
- <h3>Access more features and updates</h3>
57
- <p>A third reason to play Gacha Life on PC is that you can access more features and updates than on your mobile device. For example, you can play the full version of Gacha Life on PC, which includes more modes such as online chat, leaderboards, battle mode, gacha club, gacha resort, etc. You can also get the latest updates faster than on your mobile device.</p>
58
- <h2>How to download and play Gacha Life on PC?</h2>
59
- <h3>Download an Android emulator</h3>
60
- <p>To play Gacha Life on PC, you will need - Mini-games: These are fun and simple games that you can play to earn gems and gacha tickets. You can play games such as Bex's Festival, Duck & Dodge, Phantom's Remix, and more. You can also challenge other players online and compete for high scores. - Chat mode: This is where you can chat with other players online. You can join different chat rooms, or create your own. You can also send private messages, friend requests, and gifts to other players. You can also use emojis, stickers, and filters to express yourself. <h3>Collect gems and gacha tickets</h3>
61
- <p>Gems and gacha tickets are the main currencies in Gacha Life. You can use them to get items for your characters, or to unlock more features and modes. Here are some ways to get gems and gacha tickets:</p>
62
- - Play mini-games: This is the easiest and most fun way to earn gems and gacha tickets. You can play any of the mini-games and get rewards based on your performance. You can also get bonus rewards for playing daily or for achieving certain milestones. - Watch ads: This is another simple way to get gems and gacha tickets. You can watch short video ads from the game's menu or from certain locations in life mode. You can get 5 gems or 1 gacha ticket per ad, and you can watch up to 50 ads per day. - Complete tasks: This is a more challenging way to get gems and gacha tickets. You can complete tasks from the task menu or from certain characters in life mode. The tasks vary from creating characters, scenes, stories, to answering trivia questions, playing mini-games, etc. You can get different amounts of gems and gacha tickets depending on the difficulty of the task. - Buy with real money: This is the last resort if you want to get more gems and gacha tickets. You can buy them with real money from the shop menu or from certain locations in life mode. The prices range from $0.99 to $19.99, and you can get different packages of gems and gacha tickets. <h3>Share your creations with others</h3>
63
- <p>Gacha Life is not only a game, but also a community of creative people. You can share your creations with others online, or download them to your device. Here are some ways to share your creations:</p>
64
- - Share online: This is where you can upload your scenes and stories to the game's server, and let other players see them. You can also browse other players' creations, rate them, comment on them, or report them if they are inappropriate. You can also join contests and events where you can submit your creations and win prizes. - Download to device: This is where you can save your scenes and stories as images or videos on your device. You can also edit them with other apps, or share them on social media platforms such as Facebook, Instagram, YouTube, etc. <h2>Conclusion</h2>
65
- <p>Gacha Life is a fun and creative game that lets you create your own anime characters and stories. You can also play mini-games, chat with other players, and explore different modes and features. But if you want to enjoy the game more, you should try playing it on PC. By playing Gacha Life on PC, you can have a larger and clearer display, use keyboard and mouse controls, access more features and updates, and have a smoother gaming experience.</p>
66
- <p>To play Gacha Life on PC, you just need to download an Android emulator such as BlueStacks, NoxPlayer, or MEmu, install Gacha Life from Google Play or APK file, launch the game and start your adventure. You can also follow our tips and tricks to make the most out of Gacha Life on PC.</p>
67
- <p>So what are you waiting for? Download Gacha Life on PC today and unleash your creativity!</p>
68
- <h2>FAQs</h2>
69
- <p>Here are some frequently asked questions about Gacha Life on PC:</p>
70
- - Q: Is Gacha Life free to play on PC? - A: Yes, Gacha Life is free to play on PC. You just need to download an Android emulator and install Gacha Life from Google Play or APK file. - Q: Is Gacha Life safe to play on PC? - A: Yes, Gacha Life is safe to play on PC. However, you should be careful when chatting with other players online, as some of them may be rude or inappropriate. You should also avoid downloading any unofficial or modded versions of Gacha Life, as they may contain viruses or malware. - Q: How do I update Gacha Life on PC? - A: To update Gacha Life on PC, you need to update the Android emulator first. Then, you need to update Gacha Life from Google Play or To update Gacha Life on PC, you need to update the Android emulator first. Then, you need to update Gacha Life from Google Play or from the APK file. Here are the steps for both methods: - To update the Android emulator, open the emulator's settings and check for updates. If there are any available updates, download and install them. You may need to restart the emulator for the changes to take effect. - To update Gacha Life from Google Play, open the Google Play Store app from the emulator's home screen and search for Gacha Life. If there is an update available, you will see an Update button next to the game. Click on it and wait for the download and installation to complete. - To update Gacha Life from the APK file, download the latest version of Gacha Life from a trusted source, such as APKPure or APKMirror. Then, drag and drop the APK file onto the emulator's window, or use the Install APK button from the emulator's toolbar. The emulator will automatically update Gacha Life on your PC. - Q: How do I transfer my Gacha Life data from mobile to PC? - A: To transfer your Gacha Life data from mobile to PC, you need to use a cloud service such as Google Drive or Dropbox. Here are the steps to do so: - On your mobile device, open Gacha Life and go to the settings menu. Tap on the Backup Data button and choose a cloud service to upload your data. You may need to sign in with your account and grant permission for Gacha Life to access your cloud storage. - On your PC, open the Android emulator and launch Gacha Life. Go to the settings menu and tap on the Restore Data button. Choose the same cloud service that you used to backup your data on your mobile device. You may need to sign in with your account and grant permission for Gacha Life to access your cloud storage. - Wait for the data transfer to complete and enjoy playing Gacha Life on PC with your previous progress. - Q: How do I play Gacha Life offline on PC? - A: To play Gacha Life offline on PC, you need to download and install Gacha Life from an APK file instead of Google Play. Here are the steps to do so: - Download the APK file of Gacha Life from a trusted source, such as APKPure or APKMirror. - Drag and drop the APK file onto the emulator's window, or use the Install APK button from the emulator's toolbar. The emulator will automatically install Gacha Life on your PC. - Launch Gacha Life from the emulator's home screen or app drawer. You can play Gacha Life offline on PC without an internet connection.</p> 197e85843d<br />
71
- <br />
72
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Download 11th Hour by Betty Bayo - The Best of Kenyan Music.md DELETED
@@ -1,114 +0,0 @@
1
-
2
- <h1>Download 11th Hour by Betty Bayo</h1>
3
- <p>If you are looking for a gospel song that will inspire you and uplift your spirit, you should download 11th Hour by Betty Bayo. This song is a testimony of how God can turn your situation around in the last minute, when all hope seems to be lost. In this article, we will tell you more about Betty Bayo, the meaning and production of 11th Hour, and how you can download it legally and easily.</p>
4
- <h2>download 11th hour by betty bayo</h2><br /><p><b><b>Download</b> &#10084; <a href="https://jinyurl.com/2uNMwT">https://jinyurl.com/2uNMwT</a></b></p><br /><br />
5
- <h2>Who is Betty Bayo?</h2>
6
- <p>Betty Bayo is a Kenyan gospel singer, songwriter, and entrepreneur. She was born in 1985 in Kiambu County, Kenya. She started singing at a young age in her church choir and later joined a gospel group called Still Alive. She released her first solo album, 11th Hour, in 2008 and became a household name in the Kenyan gospel music scene.</p>
7
- <h3>Her musical journey</h3>
8
- <p>Betty Bayo has released six albums so far: 11th Hour (2008), Siyabonga (2010), Jemedari (2012), Anabadilisha (2014), Nimebadilika (2016), and Ndimwega (2018). She has also collaborated with other gospel artists such as Daddy Owen, Loise Kim, Jane Muthoni, and Phyllis Mbuthia. Some of her popular songs include Siyabonga, Jemedari, Anabadilisha, Ndimwega, and of course, 11th Hour. She has won several awards for her music, such as Groove Awards, Mwafaka Awards, and Kikuyu Music Awards.</p>
9
- <h3>Her personal life</h3>
10
- <p>Betty Bayo is a mother of two children, a boy and a girl. She was married to Pastor Victor Kanyari, the founder of Salvation Healing Ministry, but they divorced in 2015 after a scandal involving his fake miracles. She has since moved on and is currently dating an unnamed man. She is also a businesswoman who owns a beauty salon and a clothing line.</p>
11
- <p>download 11th hour by betty bayo mp3<br />
12
- download 11th hour by betty bayo lyrics<br />
13
- download 11th hour by betty bayo video<br />
14
- download 11th hour by betty bayo song<br />
15
- download 11th hour by betty bayo audio<br />
16
- download 11th hour by betty bayo youtube<br />
17
- download 11th hour by betty bayo kikuyu<br />
18
- download 11th hour by betty bayo gospel<br />
19
- download 11th hour by betty bayo free<br />
20
- download 11th hour by betty bayo skiza code<br />
21
- download 11th hour by betty bayo official video<br />
22
- download 11th hour by betty bayo mp4<br />
23
- download 11th hour by betty bayo album<br />
24
- download 11th hour by betty bayo live performance<br />
25
- download 11th hour by betty bayo instrumental<br />
26
- download 11th hour by betty bayo remix<br />
27
- download 11th hour by betty bayo ringtone<br />
28
- download 11th hour by betty bayo karaoke<br />
29
- download 11th hour by betty bayo cover<br />
30
- download 11th hour by betty bayo translation<br />
31
- download 11th hour by betty bayo meaning<br />
32
- download 11th hour by betty bayo piano tutorial<br />
33
- download 11th hour by betty bayo dance challenge<br />
34
- download 11th hour by betty bayo reaction video<br />
35
- download 11th hour by betty bayo mashup<br />
36
- download 11th hour by betty bayo dj mix<br />
37
- download 11th hour by betty bayo extended version<br />
38
- download 11th hour by betty bayo acapella<br />
39
- download 11th hour by betty bayo behind the scenes<br />
40
- download 11th hour by betty bayo interview<br />
41
- download 11th hour by betty bayo biography<br />
42
- download 11th hour by betty bayo testimony<br />
43
- download 11th hour by betty bayo awards<br />
44
- download 11th hour by betty bayo quotes<br />
45
- download 11th hour by betty bayo review<br />
46
- download 11th hour by betty bayo chords<br />
47
- download 11th hour by betty bayo tabs<br />
48
- download 11th hour by betty bayo sheet music<br />
49
- download 11th hour by betty bayo spotify playlist<br />
50
- download 11th hour by betty bayo apple music link<br />
51
- download 11th hour by betty bayo amazon music purchase<br />
52
- download 11th hour by betty bayo deezer stream<br />
53
- download 11th hour by betty bayo soundcloud upload<br />
54
- download 11th hour by betty bayo tiktok trend<br />
55
- download 11th hour by betty bayo instagram reel<br />
56
- download 11th hour by betty bayo facebook video share<br />
57
- download 11th hour by betty bayo twitter post like<br />
58
- download 11th hour by betty bayo pinterest pin save</p>
59
- <h2>What is 11th Hour?</h2>
60
- <p>11th Hour is the title track of Betty Bayo's debut album. It is a song that expresses her gratitude to God for saving her from a difficult situation in her life. She sings about how God intervened in her life when she was about to give up and restored her joy and peace.</p>
61
- <h3>The meaning of the song</h3>
62
- <p>The song is based on the biblical parable of the workers in the vineyard (Matthew 20:1-16). In this parable, Jesus tells a story of a landowner who hired workers at different times of the day to work in his vineyard. He agreed to pay them all the same wage at the end of the day. However, when he paid them, the workers who were hired first complained that they received the same amount as those who were hired last. The landowner replied that he was not unfair to them and that he had the right to do what he wanted with his money.</p>
63
- <p>The message of this parable is that God's grace is not based on our merit or performance, but on his generosity and sovereignty. He can bless anyone at any time, regardless of their background or circumstances. He can also change anyone's situation at the last minute, even when it seems impossible or hopeless. This is what Betty Bayo experienced in her life and what she wants to share with her listeners through this song.</p>
64
- <h3>The production of the song</h3>
65
- <p>The song was produced by John Nyika, a renowned Kenyan music producer who has worked with other gospel artists such as Mercy Masika, Gloria Muliro, Eunice Njeri, and Reuben Kigame. He is known for his quality sound and creativity. He used a blend of African and contemporary beats to create a catchy and uplifting tune for 11th Hour. He also added some background vocals and harmonies to enhance the song's message and mood.</p>
66
- <h3>The reception of the song</h3>
67
- <p>The song was released in 2008 and became an instant hit among gospel music fans in Kenya and beyond. It received massive airplay on radio and TV stations, as well as online platforms. It also topped various charts and playlists, such as Groove Awards, Mdundo, and Skiza. The song has over 2 million views on YouTube and over 1 million streams on Spotify. It has also been covered by several other artists, such as Alice Kimanzi, Evelyn Wanjiru, and Ruth Wamuyu. The song has touched many lives and inspired many testimonies of God's faithfulness and power.</p>
68
- <h2>How to download 11th Hour by Betty Bayo?</h2>
69
- <p>If you want to enjoy this song on your device, you need to download it legally and easily. Here are some of the benefits of downloading the song, the legal ways to do it, and the steps to follow.</p>
70
- <h3>The benefits of downloading the song</h3>
71
- <p>Downloading 11th Hour by Betty Bayo has several advantages, such as:</p>
72
- <ul>
73
- <li>You can listen to the song offline, without worrying about internet connection or data charges.</li>
74
- <li>You can add the song to your personal playlist and customize it according to your preference.</li>
75
- <li>You can share the song with your friends and family via Bluetooth, WhatsApp, or other apps.</li>
76
- <li>You can support the artist financially and morally by paying for her work and appreciating her talent.</li>
77
- <li>You can access the song anytime, anywhere, and on any device that supports MP3 format.</li>
78
- </ul>
79
- <h3>The legal ways to download the song</h3>
80
- <p>There are many illegal ways to download 11th Hour by Betty Bayo, such as using pirated websites, apps, or software. However, these methods are not only unethical but also risky. You may expose your device to viruses, malware, or hackers. You may also face legal consequences for violating the artist's intellectual property rights. Therefore, you should avoid these methods and use only the legal ways to download the song. Some of the legal ways are:</p>
81
- <ul>
82
- <li>Buying the song from online platforms such as iTunes, Amazon Music, or Google Play Music.</li>
83
- <li>Subscribing to streaming services such as Spotify, Apple Music, or Deezer.</li>
84
- <li>Downloading the song from authorized websites such as Mdundo, Boomplay, or Skiza.</li>
85
- </ul>
86
- <h3>The steps to download the song</h3>
87
- <p>The steps to download 11th Hour by Betty Bayo may vary depending on the platform you choose. However, here are some general steps that you can follow:</p>
88
- <ol>
89
- <li>Go to the platform's website or app and search for 11th Hour by Betty Bayo.</li>
90
- <li>Select the song from the results and click on the download button.</li>
91
- <li>Choose the quality and format of the song that you want to download.</li>
92
- <li>Confirm your payment method if required and complete the transaction.</li>
93
- <li>Wait for the download to finish and enjoy the song on your device.</li>
94
- </ol>
95
- <h2>Conclusion</h2>
96
- <h4>Summary of the main points</h4>
97
- <p>In conclusion, 11th Hour by Betty Bayo is a gospel song that will inspire you and uplift your spirit. It is a testimony of how God can turn your situation around in the last minute, when all hope seems to be lost. Betty Bayo is a Kenyan gospel singer who has released six albums and won several awards for her music. She wrote this song based on her personal experience and the biblical parable of the workers in the vineyard. The song was produced by John Nyika and received a positive reception from gospel music fans. You can download this song legally and easily from various online platforms and enjoy its benefits.</p>
98
- <h4>Call to action</h4>
99
- <p>If you have not downloaded 11th Hour by Betty Bayo yet, what are you waiting for? This song will bless you and encourage you in your faith journey. It will remind you that God is always with you and that he can do miracles in your life. Download this song today and share it with others who need to hear this message. You will not regret it!</p>
100
- <h2>Frequently Asked Questions</h2>
101
- <ul>
102
- <li><strong>Q: Who is Betty Bayo?</strong></li>
103
- <li>A: Betty Bayo is a Kenyan gospel singer, songwriter, and entrepreneur. She released her first solo album, 11th Hour, in 2008 and became a household name in the Kenyan gospel music scene.</li>
104
- <li><strong>Q: What is the meaning of 11th Hour?</strong></li>
105
- <li>A: 11th Hour is a song that expresses Betty Bayo's gratitude to God for saving her from a difficult situation in her life. She sings about how God intervened in her life when she was about to give up and restored her joy and peace. The song is based on the biblical parable of the workers in the vineyard (Matthew 20:1-16), which teaches that God's grace is not based on our merit or performance, but on his generosity and sovereignty.</li>
106
- <li><strong>Q: How can I download 11th Hour by Betty Bayo?</strong></li>
107
- <li>A: You can download 11th Hour by Betty Bayo legally and easily from various online platforms, such as iTunes, Amazon Music, Google Play Music, Spotify, Apple Music, Deezer, Mdundo, Boomplay, or Skiza. You just need to go to the platform's website or app, search for the song, select it, click on the download button, choose the quality and format of the song, confirm your payment method if required, and wait for the download to finish.</li>
108
- <li><strong>Q: Why should I download 11th Hour by Betty Bayo?</strong></li>
109
- <li>A: You should download 11th Hour by Betty Bayo because it is a gospel song that will inspire you and uplift your spirit. It will remind you that God can turn your situation around in the last minute, when all hope seems to be lost. It will also allow you to listen to the song offline, add it to your personal playlist, share it with your friends and family, support the artist financially and morally, and access it anytime, anywhere, and on any device that supports MP3 format.</li>
110
- <li><strong>Q: Where can I find more information about Betty Bayo and her music?</strong></li>
111
- <li>A: You can find more information about Betty Bayo and her music on her official website (www.bettybayo.com), her Facebook page (Betty Bayo Official), her Instagram account (@bettybayo_official_page), her YouTube channel (Betty Bayo Official), or her Wikipedia page (Betty Bayo).</li>
112
- </ul></p> 401be4b1e0<br />
113
- <br />
114
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Download Quiz Results and Share Them with Your Students Colleagues or Clients.md DELETED
@@ -1,182 +0,0 @@
1
- <br />
2
- <h1>How to Download Quiz Results from Different Platforms</h1>
3
- <p>Quiz results are the data that show how well your participants performed on your quizzes. They can include information such as scores, answers, time spent, feedback, and more. Quiz results are useful for teachers, students, and professionals who want to assess learning outcomes, measure progress, identify gaps, provide feedback, and improve performance.</p>
4
- <p>Downloading quiz results can help you gain more insights into your quizzes and your participants. You can export quiz results to different formats such as CSV, XLSX, or PDF files. You can then use these files for more in-depth analysis and charting. You can also share these files with others who may be interested in your quizzes or your participants. For example, you can share quiz results with your colleagues, students, clients, or stakeholders.</p>
5
- <h2>download quiz results</h2><br /><p><b><b>Download</b> ->>> <a href="https://jinyurl.com/2uNRlC">https://jinyurl.com/2uNRlC</a></b></p><br /><br />
6
- <p>In this article, we will show you how to download quiz results from five different platforms: Microsoft Forms, myQuiz, Quizizz, ProProfs, and Canvas. These platforms are popular tools for creating online quizzes for various purposes. We will provide step-by-step guides on how to download quiz results from each platform. We will also include screenshots of the pages where you can find the download options.</p>
7
- <h2>How to Download Quiz Results from Microsoft Forms</h2>
8
- <p>Microsoft Forms is a web-based tool that allows you to create quizzes and surveys easily. You can use Microsoft Forms to create quizzes for education, training, feedback, research, or fun. You can add different types of questions such as multiple choice, text, rating, date, ranking, likert scale, net promoter score (NPS), file upload, etc. You can also add images or videos to your questions. You can customize your quizzes with themes or logos. You can share your quizzes with anyone via email or link. You can also embed your quizzes on your website or blog.</p>
9
- <p>To download quiz results from Microsoft Forms:</p>
10
- <ol>
11
- <li>In Microsoft Forms, open the quiz for which you want to download the results.</li>
12
- <li>Click on the Responses tab to see the quiz statistics and responses.</li>
13
- <li>Click on the More options button (three dots) in the upper right corner of the page.</li>
14
- <li>Select Open in Excel to export the quiz results as an XLSX file. You can also select Print summary to export the quiz results as a PDF file.</li>
15
- <li>Save the file to your preferred location or print it as needed.</li>
16
- </ol>
17
- <p>Here is a screenshot of the quiz statistics page and the download options:</p>
18
- <img src="https://i.imgur.com/9tqjy1P.png" alt="Microsoft Forms quiz statistics and download options">
19
- <h2>How to Download Quiz Results from myQuiz</h2>
20
- <p>myQuiz is a web-based tool that allows you to host interactive trivia quizzes at events. You can use myQuiz to create quizzes for entertainment, education, marketing, or gamification. You can add different types of questions such as multiple choice, true/false, image, video, audio, etc. You can also add timers, leaderboards, prizes, and chat features to your quizzes. You can share your quizzes with your audience via QR code or link. You can also integrate your quizzes with Zoom, YouTube, Twitch, or Facebook Live.</p>
21
- <p>download quiz results from google forms<br />
22
- download quiz results from kahoot<br />
23
- download quiz results from microsoft forms<br />
24
- download quiz results from canvas<br />
25
- download quiz results from zoom<br />
26
- download quiz results from socrative<br />
27
- download quiz results from surveymonkey<br />
28
- download quiz results from moodle<br />
29
- download quiz results from blackboard<br />
30
- download quiz results from google classroom<br />
31
- download quiz results from nearpod<br />
32
- download quiz results from edmodo<br />
33
- download quiz results from schoology<br />
34
- download quiz results from peardeck<br />
35
- download quiz results from quizziz<br />
36
- download quiz results from flipgrid<br />
37
- download quiz results from padlet<br />
38
- download quiz results from formative<br />
39
- download quiz results from mentimeter<br />
40
- download quiz results from plickers<br />
41
- download quiz results from polleverywhere<br />
42
- download quiz results from slido<br />
43
- download quiz results from gimkit<br />
44
- download quiz results from edpuzzle<br />
45
- download quiz results from wizer.me<br />
46
- download quiz results from seesaw<br />
47
- download quiz results from classdojo<br />
48
- download quiz results from goformative<br />
49
- download quiz results from bookwidgets<br />
50
- download quiz results from classtools.net<br />
51
- download quiz results from proprofs.com<br />
52
- download quiz results from typeform.com<br />
53
- download quiz results from jotform.com<br />
54
- download quiz results from wufoo.com<br />
55
- download quiz results from qualtrics.com<br />
56
- download quiz results from google docs<br />
57
- download quiz results as pdf<br />
58
- download quiz results as excel<br />
59
- download quiz results as csv<br />
60
- download quiz results as word document<br />
61
- how to download quiz results in google forms<br />
62
- how to download quiz results in kahoot<br />
63
- how to download quiz results in microsoft forms<br />
64
- how to download quiz results in canvas<br />
65
- how to download quiz results in zoom<br />
66
- how to download quiz results in socrative<br />
67
- how to download quiz results in surveymonkey<br />
68
- how to download quiz results in moodle<br />
69
- how to download quiz results in blackboard</p>
70
- <p>To download quiz results from myQuiz:</p>
71
- <ol>
72
- <li>In myQuiz, open the quiz for which you want to download the results.</li>
73
- <li>Click on the Reports tab to see the quiz statistics and responses.</li>
74
- <li>Click on the Download button in the upper right corner of the page.</li>
75
- <li>Select Excel to export the quiz results as an XLSX file.</li>
76
- <li>Save the file to your preferred location.</li>
77
- </ol>
78
- <p>Here is a screenshot of the report page and the download button:</p>
79
- <img src="https://i.imgur.com/7kQ0yZL.png" alt="myQuiz report page and download button">
80
- <h2>How to Download Quiz Results from Quizizz</h2>
81
- <p>Quizizz is a web-based tool that allows you to create online quizzes, lessons, activities, and homework. You can use Quizizz to create quizzes for education, training, feedback, or fun. You can add different types of questions such as multiple choice, fill in the blanks, check boxes, poll, etc. You can also add images, gifs, memes, equations, or audio to your questions. You can customize your quizzes with themes, music, timers, leaderboards, etc. You can share your quizzes with your participants via email or link. You can also assign your quizzes as homework or live sessions.</p>
82
- <p>To download quiz results from Quizizz:</p>
83
- <ol>
84
- <li>In Quizizz, open the quiz for which you want to download the results.</li>
85
- <li>Click on the Reports tab to see the quiz statistics and responses.</li>
86
- <li>Click on the Responses tab to see the individual responses of each participant.</li>
87
- <li>Click on the Download button in the upper right corner of the page.</li>
88
- <li>Select CSV to export the quiz results as a CSV file.</li>
89
- <li>Save the file to your preferred location.</li>
90
- </ol>
91
- <p>Here is a screenshot of the responses tab and the download button:</p>
92
- <img src="https://i.imgur.com/8VQZl3f.png" alt="Quizizz responses tab and download button"> <h2>How to Download Quiz Results from ProProfs</h2>
93
- <p>ProProfs is a web-based tool that allows you to create online quizzes, courses, assessments, and surveys. You can use ProProfs to create quizzes for education, business, certification, or fun. You can add different types of questions such as multiple choice, true/false, matching, short answer, essay, etc. You can also add images, videos, documents, or audio to your questions. You can customize your quizzes with themes, logos, certificates, etc. You can share your quizzes with your participants via email or link. You can also embed your quizzes on your website or blog.</p>
94
- <p>To download quiz results from ProProfs:</p>
95
- <ol>
96
- <li>In ProProfs, open the quiz for which you want to download the results.</li>
97
- <li>Click on the Reports and Stats tab to see the quiz statistics and responses.</li>
98
- <li>Click on the Download icon in the upper right corner of the page.</li>
99
- <li>Select CSV or PDF to export the quiz results as a CSV or PDF file.</li>
100
- <li>Save the file to your preferred location.</li>
101
- </ol>
102
- <p>Here is a screenshot of the reports and stats page and the download icon:</p>
103
- <img src="https://i.imgur.com/9a0fZ6r.png" alt="ProProfs reports and stats page and download icon">
104
- <h2>How to Download Quiz Results from Canvas</h2>
105
- <p>Canvas is a web-based tool that allows you to create online courses, assignments, quizzes, and discussions. You can use Canvas to create quizzes for education, training, or assessment. You can add different types of questions such as multiple choice, true/false, fill in the blank, multiple answers, numerical answer, formula, matching, etc. You can also add images, videos, equations, or files to your questions. You can customize your quizzes with settings such as time limit, shuffle answers, show feedback, etc. You can share your quizzes with your students via email or link. You can also grade your quizzes automatically or manually.</p>
106
- <p>To download quiz results from Canvas:</p>
107
- <ol>
108
- <li>In Canvas, open the course for which you want to download the quiz results.</li>
109
- <li>Click on the Quizzes tab to see the list of quizzes in the course.</li>
110
- <li>Click on the quiz for which you want to download the results.</li>
111
- <li>Click on the Quiz Statistics button in the upper right corner of the page.</li>
112
- <li>Click on the Student Analysis button in the upper right corner of the page.</li>
113
- <li>Select CSV to export the quiz results as a CSV file.</li>
114
- <li>Save the file to your preferred location.</li>
115
- </ol>
116
- <p>Here is a screenshot of the quiz statistics page and the student analysis button:</p>
117
- <img src="https://i.imgur.com/0yZgqQF.png" alt="Canvas quiz statistics page and student analysis button">
118
- <h2>Conclusion</h2>
119
- <p>In this article, we have shown you how to download quiz results from five different platforms: Microsoft Forms, myQuiz, Quizizz, ProProfs, and Canvas. These platforms are great tools for creating online quizzes for various purposes. By downloading quiz results from these platforms, you can gain more insights into your quizzes and your participants. You can use the downloaded data for more in-depth analysis and charting. You can also share the downloaded data with others who may be interested in your quizzes or your participants.</p>
120
- <p>Here are some tips on how to use the downloaded data for analysis, sharing, and feedback:</p>
121
- <ul>
122
- <li>Use spreadsheet software such as Excel or Google Sheets to open and manipulate the CSV or XLSX files. You can sort, filter, pivot, or chart the data as you wish.</li>
123
- <li>Use PDF software such as Adobe Acrobat or Foxit Reader to open and view the PDF files. You can print or email the files as needed.</li>
124
- <li>Use online tools such as Datawrapper or Infogram to create interactive visualizations from your data. You can embed these visualizations on your website or blog.</li>
125
- <li>Use online tools such as Google Drive or Dropbox to store and share your files with others. You can set permissions and access levels for different users.</li>
126
- <li>Use online tools such as SurveyMonkey or Typeform to collect feedback from your participants on your quizzes. You can ask them about their experience, satisfaction, learning outcomes, suggestions, etc.</li>
127
- </ul>
128
- <p>We hope you found this article helpful and informative. If you have any questions or comments about downloading quiz results from different platforms, please feel free to leave them below. We would love to hear from you!</p>
129
- <h2>FAQs</h2>
130
- <h3>Q <h3>Q: How can I download quiz results from other platforms?</h3>
131
- <p>A: The process of downloading quiz results from other platforms may vary depending on the platform and the quiz settings. However, some common steps are:</p>
132
- <ul>
133
- <li>Open the platform and log in to your account.</li>
134
- <li>Find the quiz for which you want to download the results.</li>
135
- <li>Look for a tab or a button that says something like "Results", "Reports", "Statistics", "Analysis", etc.</li>
136
- <li>Select the format that you want to download the results in, such as CSV, XLSX, PDF, etc.</li>
137
- <li>Save the file to your preferred location.</li>
138
- </ul>
139
- <p>If you are not sure how to download quiz results from a specific platform, you can check the platform's help center or contact their support team for assistance.</p>
140
- <h3>Q: How can I create online quizzes with different platforms?</h3>
141
- <p>A: Creating online quizzes with different platforms is easy and fun. You can use any of the platforms mentioned in this article or explore other options online. Some common steps are:</p>
142
- <ul>
143
- <li>Open the platform and sign up for an account.</li>
144
- <li>Choose a template or start from scratch to create your quiz.</li>
145
- <li>Add questions and answers to your quiz. You can choose from different types of questions and add multimedia elements if you wish.</li>
146
- <li>Customize your quiz with settings such as title, theme, timer, feedback, etc.</li>
147
- <li>Publish and share your quiz with your participants via email or link. You can also embed your quiz on your website or blog.</li>
148
- </ul>
149
- <p>If you need more guidance on how to create online quizzes with different platforms, you can check the platform's tutorials or blogs for tips and examples.</p>
150
- <h3>Q: How can I improve my quizzes and my participants' performance?</h3>
151
- <p>A: Improving your quizzes and your participants' performance is an ongoing process that requires feedback and analysis. You can use the downloaded quiz results to help you with this process. Some tips are:</p>
152
- <ul>
153
- <li>Analyze the quiz results to see how well your participants performed on your quiz. Look for patterns, trends, outliers, strengths, and weaknesses.</li>
154
- <li>Compare the quiz results with your learning objectives or expectations. See if your quiz aligned with your goals and measured what you intended to measure.</li>
155
- <li>Evaluate the quality and difficulty of your questions and answers. See if your questions were clear, relevant, accurate, and fair. See if your answers were correct, comprehensive, and distractive.</li>
156
- <li>Provide feedback to your participants on their performance. Praise their achievements, point out their errors, explain their misconceptions, and suggest ways to improve.</li>
157
- <li>Revise your quiz based on the feedback and analysis. Modify or delete questions that were too easy or too hard, add or remove options, update or correct information, etc.</li>
158
- </ul>
159
- <p>If you want more advice on how to improve your quizzes and your participants' performance, you can check online resources such as books, articles, podcasts, or courses on quiz design and assessment.</p>
160
- <h3>Q: What are some of the advantages and disadvantages of online quizzes?</h3>
161
- <p>A: Online quizzes have many advantages and disadvantages compared to traditional paper-based quizzes. Some of them are:</p>
162
- <table border="1">
163
- <tr><th>Advantages</th><th>Disadvantages</th></tr>
164
- <tr><td>- Online quizzes are easy and fast to create, administer, grade, and analyze.</td><td>- Online quizzes may require internet access, devices, software, or accounts that some participants may not have or prefer.</td></tr>
165
- <tr><td>- Online quizzes can be more interactive and engaging with multimedia elements, gamification features, adaptive learning paths, etc.</td><td>- Online quizzes may pose technical issues such as glitches, errors, crashes, or compatibility problems that may affect the quiz experience or results.</td></tr>
166
- <tr><td>- Online quizzes can reach more participants across different locations and time zones.</td><td>- Online quizzes may reduce the social interaction and collaboration among participants and between participants and instructors.</td></tr>
167
- <tr><td>- Online quizzes can provide instant feedback and results to participants and instructors.</td><td>- Online quizzes may increase the risk of cheating or plagiarism among participants who may use unauthorized sources or methods to complete the quiz.</td></tr>
168
- <tr><td>- Online quizzes can be more flexible and customizable with different settings, formats, options, etc.</td><td>- Online quizzes may be less reliable or valid than paper-based quizzes due to factors such as question quality, scoring criteria, participant motivation, etc.</td></tr>
169
- </table>
170
- <p>The advantages and disadvantages of online quizzes may vary depending on the context, purpose, [user](# audience, and design of the quiz. You should weigh the pros and cons of online quizzes before deciding to use them for your needs.</p>
171
- <h3>Q: What are some of the best practices for creating online quizzes?</h3>
172
- <p>A: Creating online quizzes can be a fun and rewarding experience, but it also requires some planning and preparation. Here are some of the best practices for creating online quizzes:</p>
173
- <ul>
174
- <li>Define your learning objectives and outcomes. What do you want your participants to learn, know, or do after taking your quiz?</li>
175
- <li>Choose the right platform and format for your quiz. What tool or software will you use to create and deliver your quiz? What type of questions and answers will you use?</li>
176
- <li>Write clear and concise questions and answers. What are you asking your participants and what are you expecting them to answer? How can you avoid ambiguity, confusion, or bias in your questions and answers?</li>
177
- <li>Test and review your quiz. How can you ensure that your quiz is working properly and accurately? How can you get feedback from others on your quiz?</li>
178
- <li>Analyze and improve your quiz. How can you measure the effectiveness and impact of your quiz? How can you use the quiz results to improve your quiz or your participants' performance?</li>
179
- </ul>
180
- <p>If you want more guidance on how to create online quizzes, you can check online resources such as books, articles, podcasts, or courses on quiz design and development.</p> 401be4b1e0<br />
181
- <br />
182
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Epson L3110 Printer Driver Download - How to Install and Update.md DELETED
@@ -1,151 +0,0 @@
1
- <br />
2
- <h1>How to Download Driver L3110 for Windows 11/10/8/7</h1>
3
- <p>If you own an Epson L3110 printer, you might be wondering how to download driver L3110 for your Windows PC. In this article, we will show you what driver L3110 is, why you need it, how to download and install it, and how to fix common driver issues and errors.</p>
4
- <h2>download driver l3110</h2><br /><p><b><b>DOWNLOAD</b> &#10003; <a href="https://jinyurl.com/2uNNBL">https://jinyurl.com/2uNNBL</a></b></p><br /><br />
5
- <h2>What is Driver L3110 and Why Do You Need It?</h2>
6
- <h3>Driver L3110 is a software component that enables your Epson L3110 printer to communicate with your Windows PC.</h3>
7
- <p>A driver is a program that allows your computer and your hardware devices to interact with each other. Without a driver, your computer won't be able to recognize or use your printer properly.</p>
8
- <p>Driver L3110 is the specific driver for Epson L3110 printer, which is an all-in-one ink tank printer that offers high-quality printing, scanning, and copying functions. It also supports wireless connectivity, borderless printing, and low-cost ink refilling.</p>
9
- <h3>You need to install and update Driver L3110 to ensure the optimal performance and functionality of your printer.</h3>
10
- <p>To use your Epson L3110 printer on your Windows PC, you need to install driver L3110 first. This will allow your PC to detect and operate your printer correctly.</p>
11
- <p>Moreover, you also need to update driver L3110 regularly to keep it compatible with the latest Windows updates and software applications. Updating driver L3110 can also fix bugs, improve stability, enhance security, and add new features for your printer.</ <h2>Benefits of Updating Driver L3110</h2>
12
- <h3>Updating Driver L3110 can boost your system performance, stability, and security.</h3>
13
- <p>By updating driver L3110, you can ensure that your printer and your PC are working in harmony. This can improve the speed, efficiency, and reliability of your printing tasks. It can also prevent system crashes, freezes, or errors that may occur due to outdated or incompatible drivers.</p>
14
- <p>Furthermore, updating driver L3110 can also protect your PC and your printer from potential threats or attacks. Newer drivers often come with patches or fixes that address security vulnerabilities or bugs that may compromise your system or your data.</p>
15
- <p>How to download driver l3110 for Windows 11<br />
16
- Download driver l3110 for Mac OS X<br />
17
- Download driver l3110 for Linux Ubuntu<br />
18
- Download driver l3110 for Epson EcoTank printer<br />
19
- Download driver l3110 for Epson L series printer<br />
20
- Download driver l3110 from official website<br />
21
- Download driver l3110 from Driver Easy<br />
22
- Download driver l3110 without CD<br />
23
- Download driver l3110 offline installer<br />
24
- Download driver l3110 latest version<br />
25
- Download driver l3110 free and safe<br />
26
- Download driver l3110 error fix<br />
27
- Download driver l3110 troubleshooting guide<br />
28
- Download driver l3110 compatible devices<br />
29
- Download driver l3110 installation instructions<br />
30
- Download driver l3110 manual and warranty<br />
31
- Download driver l3110 software and utilities<br />
32
- Download driver l3110 scanner and printer<br />
33
- Download driver l3110 ink tank system<br />
34
- Download driver l3110 all-in-one function<br />
35
- Download driver l3110 wireless setup<br />
36
- Download driver l3110 network configuration<br />
37
- Download driver l3110 firmware update<br />
38
- Download driver l3110 resetter tool<br />
39
- Download driver l3110 maintenance mode<br />
40
- Download driver l3110 print quality settings<br />
41
- Download driver l3110 paper jam solution<br />
42
- Download driver l3110 ink refill procedure<br />
43
- Download driver l3110 nozzle check and cleaning<br />
44
- Download driver l3110 head alignment and calibration<br />
45
- Download driver l3110 duplex printing option<br />
46
- Download driver l3110 borderless printing feature<br />
47
- Download driver l3110 scan to email function<br />
48
- Download driver l3110 scan to cloud service<br />
49
- Download driver l3110 scan to PDF format<br />
50
- Download driver l3110 copy and enlarge function<br />
51
- Download driver l3110 copy and reduce function<br />
52
- Download driver l3110 copy and fit to page function<br />
53
- Download driver l3110 copy and ID card function<br />
54
- Download driver l3110 copy and collate function<br />
55
- Download driver l3110 print speed and resolution<br />
56
- Download driver l3110 print cost and efficiency<br />
57
- Download driver l3110 print test page and report<br />
58
- Download driver l3110 print from smartphone or tablet<br />
59
- Download driver l3110 print from USB flash drive or memory card<br />
60
- Download driver l3110 print from web browser or cloud app<br />
61
- Download driver l3110 print from Windows or Mac application</p>
62
- <h3>Updating Driver L3110 can also unlock new features and enhancements for your printer.</h3>
63
- <p>Another benefit of updating driver L3110 is that you can enjoy the latest features and improvements that Epson has to offer for your printer. For example, you may be able to access new printing modes, settings, or options that can enhance your printing quality and experience. You may also be able to use new functions or tools that can make your printing tasks easier and more convenient.</p>
64
- <h3>Updating Driver L3110 can prevent common driver issues and errors that may affect your printing quality and experience.</h3>
65
- <p>Finally, updating driver L3110 can also help you avoid or resolve common driver issues and errors that may hamper your printing quality and experience. Some of these issues and errors include:</p>
66
- <ul>
67
- <li>Printer not recognized or detected by PC</li>
68
- <li>Printer not responding or working properly</li>
69
- <li>Printer showing offline or unavailable status</li>
70
- <li>Printer printing blank pages or incorrect colors</li>
71
- <li>Printer scanning or copying errors</li>
72
- <li>Printer driver installation or update failures</li>
73
- </ul>
74
- <p>By updating driver L3110, you can ensure that your printer is running smoothly and efficiently on your PC.</p>
75
- <h2>How to Download and Install Driver L3110</h2>
76
- <h3>Method 1: Use Bit Driver Updater to Automatically Update Driver L3110 (Recommended)</h3>
77
- <h4>Bit Driver Updater is a reliable and easy-to-use tool that can scan, download, and install the latest drivers for your devices with one click.</h4>
78
- <p>If you want to save time and hassle in updating driver L3110, we recommend using Bit Driver Updater. This is a powerful and user-friendly software that can automatically scan your PC for outdated, missing, or faulty drivers and update them with the most compatible and up-to-date versions. It can also backup and restore your drivers, optimize your system performance, and provide 24/7 technical support.</p>
79
- <h4>Steps to use Bit Driver Updater to update Driver L3110</h4>
80
- <ol>
81
- <li>Download and install Bit Driver Updater from its official website <a href="">here</a>.</li>
82
- <li>Launch the program and click on the Scan button to start scanning your PC for driver issues.</li>
83
- <li>Wait for the scan to complete and then review the scan results. You will see a list of drivers that need to be updated, including driver L3110.</li>
84
- <li>Click on the Update Now button next to driver L3110 to download and install the latest version of the driver. Alternatively, you can click on the Update All button to update all the drivers on your PC at once.</li>
85
- <li>Restart your PC to apply the changes and enjoy your updated printer.</li>
86
- </ol> <h3>Method 2: Manually Download and Install Driver L3110 from Epson's Official Website</h3>
87
- <h4>You can also download and install the latest version of Driver L3110 from Epson's official website by following these steps</h4>
88
- <p>Another way to update driver L3110 is to manually download and install it from Epson's official website. This method requires you to have some technical knowledge and patience, as you need to find the correct driver for your printer model and Windows version. You also need to follow the installation instructions carefully to avoid any errors or issues.</p>
89
- <h4>Steps to manually download and install driver L3110 from Epson's official website</h4>
90
- <ol>
91
- <li>Go to Epson's official website <a href="">here</a> and enter your printer model (L3110) in the search box. Then, click on the search icon or press Enter.</li>
92
- <li>On the product page, click on the Downloads tab and select your Windows version from the drop-down menu.</li>
93
- <li>Under the Drivers section, click on the Download button next to Printer Driver. This will download the driver file to your PC.</li>
94
- <li>Once the download is complete, open the file and follow the on-screen instructions to install the driver. You may need to agree to the license agreement, select your connection type, and connect your printer to your PC during the installation process.</li>
95
- <li>After the installation is finished, restart your PC and test your printer to see if it works properly.</li>
96
- </ol>
97
- <h3>Method 3: Update Driver L3110 in Device Manager</h3>
98
- <h4>Another way to update Driver L3110 is to use the built-in Device Manager in Windows by following these steps</h4>
99
- <p>The Device Manager is a Windows utility that allows you to manage and update your hardware devices and their drivers. You can use it to update driver L3110 by searching for it online or browsing for it on your PC. However, this method may not always find the latest or most compatible driver for your printer, so it is not recommended as the first option.</p>
100
- <h4>Steps to update driver L3110 in Device Manager</h4>
101
- <ol>
102
- <li>Press Windows + R keys on your keyboard to open the Run dialog box. Then, type devmgmt.msc and click OK or press Enter. This will open the Device Manager window.</li>
103
- <li>Expand the Printers or Print queues category and right-click on your Epson L3110 printer. Then, select Update driver from the context menu.</li>
104
- <li>You will see two options: Search automatically for updated driver software and Browse my computer for driver software. You can choose either one depending on your preference.</li>
105
- <li>If you choose Search automatically for updated driver software, Windows will search online for the best available driver for your printer and install it automatically. You may need an internet connection for this option.</li>
106
- <li>If you choose Browse my computer for driver software, you will need to locate the driver file that you downloaded from Epson's website or another source. Then, follow the instructions to install it manually.</li>
107
- <li>After the update is done, restart your PC and check if your printer is working correctly.</li>
108
- </ol> <li>Click on Update & Security and select Windows Update from the left pane.</li>
109
- <li>Click on Check for updates and wait for Windows to scan for available updates.</li>
110
- <li>If there are any driver updates available, including driver L3110, you will see them under the Optional updates section. Click on View optional updates and select the driver updates you want to install.</li>
111
- <li>Click on Download and install and wait for Windows to download and install the driver updates.</li>
112
- <li>Restart your PC and see if your printer is working properly.</li>
113
- </ol>
114
- <h2>Conclusion</h2>
115
- <p>In this article, we have shown you how to download driver L3110 for your Epson L3110 printer on your Windows PC. We have also explained what driver L3110 is, why you need it, and how to fix common driver issues and errors. We hope that this article has been helpful and informative for you.</p>
116
- <p>To summarize, here are the main points of the article:</p>
117
- <ul>
118
- <li>Driver L3110 is a software component that enables your Epson L3110 printer to communicate with your Windows PC.</li>
119
- <li>You need to install and update driver L3110 to ensure the optimal performance and functionality of your printer.</li>
120
- <li>Updating driver L3110 can boost your system performance, stability, security, as well as unlock new features and enhancements for your printer.</li>
121
- <li>You can download and install driver L3110 using one of these methods: Bit Driver Updater (recommended), Epson's official website, or Device Manager.</li>
122
- <li>You can fix common driver issues and errors using one of these solutions: Windows Troubleshooter, reinstalling driver L3110 in Device Manager, or Windows Update.</li>
123
- </ul>
124
- <p>If you have any questions or feedback about this article, please feel free to leave a comment below. We would love to hear from you. Thank you for reading and happy printing!</p>
125
- <h2>FAQs</h2>
126
- <h3>Q1. What are the system requirements for Driver L3110?</h3>
127
- <p>A1. The system requirements for driver L3110 are as follows:</p>
128
- <table>
129
- <tr><th>Operating System</th><th>Supported Versions</th></tr>
130
- <tr><td>Windows 11</td><td>All versions</td></tr>
131
- <tr><td>Windows 10</td><td>All versions</td></tr>
132
- <tr><td>Windows 8/8.1</td><td>All versions</td></tr>
133
- <tr><td>Windows 7</td><td>All versions</td></tr>
134
- </table>
135
- <h3>Q2. How often should I update Driver L3110?</h3>
136
- <p>A2. You should update driver L3110 whenever there is a new version available from Epson or Windows. This will ensure that your printer is always compatible and up-to-date with the latest system updates and software applications. You can use Bit Driver Updater to automatically check for and update driver L3110 with one click.</p>
137
- <h3>Q3. What are the advantages of using Bit Driver Updater over other methods?</h3>
138
- <p>A3. Bit Driver Updater is a reliable and easy-to-use tool that can scan, download, and install the latest drivers for your devices with one click. It has several advantages over other methods, such as:</p>
139
- <ul>
140
- <li>It saves you time and hassle in finding and installing the correct drivers for your devices.</li>
141
- <li>It ensures that you get the most compatible and up-to-date drivers for your devices.</li>
142
- <li>It backs up and restores your drivers in case of any issues or errors.</li>
143
- <li>It optimizes your system performance, stability, and security by keeping your drivers updated.</li>
144
- <li>It provides 24/7 technical support and a 60-day money-back guarantee.</li>
145
- </ul>
146
- <h3>Q4. How can I contact Epson's customer support if I need further assistance with Driver L3110?</h3>
147
- <p>A4. If you need further assistance with driver L3110 or your Epson L3110 printer, you can contact Epson's customer support by visiting their website <a href="">here</a>. You can also find more information about Epson L3110 printer and its features on their website.</p>
148
- <h3>Q5. Where can I find more information about Epson L3110 printer and its features?</h3>
149
- <p>A5. You can find more information about Epson L3110 printer and its features on Epson's official website <a href="">here</a>. You can also read user reviews, watch videos, or download manuals and guides for your printer on their website.</p> 197e85843d<br />
150
- <br />
151
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/2023Liu2023/bingo/src/lib/bots/bing/index.ts DELETED
@@ -1,421 +0,0 @@
1
- import { fetch, WebSocket, debug } from '@/lib/isomorphic'
2
- import WebSocketAsPromised from 'websocket-as-promised'
3
- import {
4
- SendMessageParams,
5
- BingConversationStyle,
6
- ConversationResponse,
7
- ChatResponseMessage,
8
- ConversationInfo,
9
- InvocationEventType,
10
- ChatError,
11
- ErrorCode,
12
- ChatUpdateCompleteResponse,
13
- ImageInfo,
14
- KBlobResponse
15
- } from './types'
16
-
17
- import { convertMessageToMarkdown, websocketUtils, streamAsyncIterable } from './utils'
18
- import { WatchDog, createChunkDecoder } from '@/lib/utils'
19
-
20
- type Params = SendMessageParams<{ bingConversationStyle: BingConversationStyle }>
21
-
22
- const OPTIONS_SETS = [
23
- 'nlu_direct_response_filter',
24
- 'deepleo',
25
- 'disable_emoji_spoken_text',
26
- 'responsible_ai_policy_235',
27
- 'enablemm',
28
- 'iycapbing',
29
- 'iyxapbing',
30
- 'objopinion',
31
- 'rweasgv2',
32
- 'dagslnv1',
33
- 'dv3sugg',
34
- 'autosave',
35
- 'iyoloxap',
36
- 'iyoloneutral',
37
- 'clgalileo',
38
- 'gencontentv3',
39
- ]
40
-
41
- export class BingWebBot {
42
- protected conversationContext?: ConversationInfo
43
- protected cookie: string
44
- protected ua: string
45
- protected endpoint = ''
46
- private lastText = ''
47
- private asyncTasks: Array<Promise<any>> = []
48
-
49
- constructor(opts: {
50
- cookie: string
51
- ua: string
52
- bingConversationStyle?: BingConversationStyle
53
- conversationContext?: ConversationInfo
54
- }) {
55
- const { cookie, ua, conversationContext } = opts
56
- this.cookie = cookie?.includes(';') ? cookie : `_EDGE_V=1; _U=${cookie}`
57
- this.ua = ua
58
- this.conversationContext = conversationContext
59
- }
60
-
61
- static buildChatRequest(conversation: ConversationInfo) {
62
- const optionsSets = OPTIONS_SETS
63
- if (conversation.conversationStyle === BingConversationStyle.Precise) {
64
- optionsSets.push('h3precise')
65
- } else if (conversation.conversationStyle === BingConversationStyle.Creative) {
66
- optionsSets.push('h3imaginative')
67
- }
68
- return {
69
- arguments: [
70
- {
71
- source: 'cib',
72
- optionsSets,
73
- allowedMessageTypes: [
74
- 'Chat',
75
- 'InternalSearchQuery',
76
- 'Disengaged',
77
- 'InternalLoaderMessage',
78
- 'SemanticSerp',
79
- 'GenerateContentQuery',
80
- 'SearchQuery',
81
- ],
82
- sliceIds: [
83
- 'winmuid1tf',
84
- 'anssupfor_c',
85
- 'imgchatgptv2',
86
- 'tts2cf',
87
- 'contansperf',
88
- 'mlchatpc8500w',
89
- 'mlchatpc2',
90
- 'ctrlworkpay',
91
- 'winshortmsgtf',
92
- 'cibctrl',
93
- 'sydtransctrl',
94
- 'sydconfigoptc',
95
- '0705trt4',
96
- '517opinion',
97
- '628ajcopus0',
98
- '330uaugs0',
99
- '529rwea',
100
- '0626snptrcs0',
101
- '424dagslnv1',
102
- ],
103
- isStartOfSession: conversation.invocationId === 0,
104
- message: {
105
- author: 'user',
106
- inputMethod: 'Keyboard',
107
- text: conversation.prompt,
108
- imageUrl: conversation.imageUrl,
109
- messageType: 'Chat',
110
- },
111
- conversationId: conversation.conversationId,
112
- conversationSignature: conversation.conversationSignature,
113
- participant: { id: conversation.clientId },
114
- },
115
- ],
116
- invocationId: conversation.invocationId.toString(),
117
- target: 'chat',
118
- type: InvocationEventType.StreamInvocation,
119
- }
120
- }
121
-
122
- async createConversation(): Promise<ConversationResponse> {
123
- const headers = {
124
- 'Accept-Encoding': 'gzip, deflate, br, zsdch',
125
- 'User-Agent': this.ua,
126
- 'x-ms-useragent': 'azsdk-js-api-client-factory/1.0.0-beta.1 core-rest-pipeline/1.10.0 OS/Win32',
127
- cookie: this.cookie,
128
- }
129
-
130
- let resp: ConversationResponse | undefined
131
- try {
132
- const response = await fetch(this.endpoint + '/api/create', { method: 'POST', headers, redirect: 'error', mode: 'cors', credentials: 'include' })
133
- if (response.status === 404) {
134
- throw new ChatError('Not Found', ErrorCode.NOTFOUND_ERROR)
135
- }
136
- resp = await response.json() as ConversationResponse
137
- } catch (err) {
138
- console.error('create conversation error', err)
139
- }
140
-
141
- if (!resp?.result) {
142
- throw new ChatError('Invalid response', ErrorCode.UNKOWN_ERROR)
143
- }
144
-
145
- const { value, message } = resp.result || {}
146
- if (value !== 'Success') {
147
- const errorMsg = `${value}: ${message}`
148
- if (value === 'UnauthorizedRequest') {
149
- throw new ChatError(errorMsg, ErrorCode.BING_UNAUTHORIZED)
150
- }
151
- if (value === 'Forbidden') {
152
- throw new ChatError(errorMsg, ErrorCode.BING_FORBIDDEN)
153
- }
154
- throw new ChatError(errorMsg, ErrorCode.UNKOWN_ERROR)
155
- }
156
- return resp
157
- }
158
-
159
- private async createContext(conversationStyle: BingConversationStyle) {
160
- if (!this.conversationContext) {
161
- const conversation = await this.createConversation()
162
- this.conversationContext = {
163
- conversationId: conversation.conversationId,
164
- conversationSignature: conversation.conversationSignature,
165
- clientId: conversation.clientId,
166
- invocationId: 0,
167
- conversationStyle,
168
- prompt: '',
169
- }
170
- }
171
- return this.conversationContext
172
- }
173
-
174
- async sendMessage(params: Params) {
175
- try {
176
- await this.createContext(params.options.bingConversationStyle)
177
- Object.assign(this.conversationContext!, { prompt: params.prompt, imageUrl: params.imageUrl })
178
- return this.sydneyProxy(params)
179
- } catch (error) {
180
- params.onEvent({
181
- type: 'ERROR',
182
- error: error instanceof ChatError ? error : new ChatError('Catch Error', ErrorCode.UNKOWN_ERROR),
183
- })
184
- }
185
- }
186
-
187
- private async sydneyProxy(params: Params) {
188
- const abortController = new AbortController()
189
- const response = await fetch(this.endpoint + '/api/sydney', {
190
- method: 'POST',
191
- headers: {
192
- 'Content-Type': 'application/json',
193
- },
194
- signal: abortController.signal,
195
- body: JSON.stringify(this.conversationContext!)
196
- })
197
- if (response.status !== 200) {
198
- params.onEvent({
199
- type: 'ERROR',
200
- error: new ChatError(
201
- 'Unknown error',
202
- ErrorCode.UNKOWN_ERROR,
203
- ),
204
- })
205
- }
206
- params.signal?.addEventListener('abort', () => {
207
- abortController.abort()
208
- })
209
-
210
- const textDecoder = createChunkDecoder()
211
- for await (const chunk of streamAsyncIterable(response.body!)) {
212
- this.parseEvents(params, websocketUtils.unpackMessage(textDecoder(chunk)))
213
- }
214
- }
215
-
216
- async sendWs() {
217
- const wsConfig: ConstructorParameters<typeof WebSocketAsPromised>[1] = {
218
- packMessage: websocketUtils.packMessage,
219
- unpackMessage: websocketUtils.unpackMessage,
220
- createWebSocket: (url) => new WebSocket(url, {
221
- headers: {
222
- 'accept-language': 'zh-CN,zh;q=0.9',
223
- 'cache-control': 'no-cache',
224
- 'User-Agent': this.ua,
225
- pragma: 'no-cache',
226
- cookie: this.cookie,
227
- }
228
- })
229
- }
230
- const wsp = new WebSocketAsPromised('wss://sydney.bing.com/sydney/ChatHub', wsConfig)
231
-
232
- wsp.open().then(() => {
233
- wsp.sendPacked({ protocol: 'json', version: 1 })
234
- wsp.sendPacked({ type: 6 })
235
- wsp.sendPacked(BingWebBot.buildChatRequest(this.conversationContext!))
236
- })
237
-
238
- return wsp
239
- }
240
-
241
- private async useWs(params: Params) {
242
- const wsp = await this.sendWs()
243
- const watchDog = new WatchDog()
244
- wsp.onUnpackedMessage.addListener((events) => {
245
- watchDog.watch(() => {
246
- wsp.sendPacked({ type: 6 })
247
- })
248
- this.parseEvents(params, events)
249
- })
250
-
251
- wsp.onClose.addListener(() => {
252
- watchDog.reset()
253
- params.onEvent({ type: 'DONE' })
254
- wsp.removeAllListeners()
255
- })
256
-
257
- params.signal?.addEventListener('abort', () => {
258
- wsp.removeAllListeners()
259
- wsp.close()
260
- })
261
- }
262
-
263
- private async createImage(prompt: string, id: string) {
264
- try {
265
- const headers = {
266
- 'Accept-Encoding': 'gzip, deflate, br, zsdch',
267
- 'User-Agent': this.ua,
268
- 'x-ms-useragent': 'azsdk-js-api-client-factory/1.0.0-beta.1 core-rest-pipeline/1.10.0 OS/Win32',
269
- cookie: this.cookie,
270
- }
271
- const query = new URLSearchParams({
272
- prompt,
273
- id
274
- })
275
- const response = await fetch(this.endpoint + '/api/image?' + query.toString(),
276
- {
277
- method: 'POST',
278
- headers,
279
- mode: 'cors',
280
- credentials: 'include'
281
- })
282
- .then(res => res.text())
283
- if (response) {
284
- this.lastText += '\n' + response
285
- }
286
- } catch (err) {
287
- console.error('Create Image Error', err)
288
- }
289
- }
290
-
291
- private buildKnowledgeApiPayload(imageUrl: string, conversationStyle: BingConversationStyle) {
292
- const imageInfo: ImageInfo = {}
293
- let imageBase64: string | undefined = undefined
294
- const knowledgeRequest = {
295
- imageInfo,
296
- knowledgeRequest: {
297
- invokedSkills: [
298
- 'ImageById'
299
- ],
300
- subscriptionId: 'Bing.Chat.Multimodal',
301
- invokedSkillsRequestData: {
302
- enableFaceBlur: true
303
- },
304
- convoData: {
305
- convoid: this.conversationContext?.conversationId,
306
- convotone: conversationStyle,
307
- }
308
- },
309
- }
310
-
311
- if (imageUrl.startsWith('data:image/')) {
312
- imageBase64 = imageUrl.replace('data:image/', '');
313
- const partIndex = imageBase64.indexOf(',')
314
- if (partIndex) {
315
- imageBase64 = imageBase64.substring(partIndex + 1)
316
- }
317
- } else {
318
- imageInfo.url = imageUrl
319
- }
320
- return { knowledgeRequest, imageBase64 }
321
- }
322
-
323
- async uploadImage(imageUrl: string, conversationStyle: BingConversationStyle = BingConversationStyle.Creative): Promise<KBlobResponse | undefined> {
324
- if (!imageUrl) {
325
- return
326
- }
327
- await this.createContext(conversationStyle)
328
- const payload = this.buildKnowledgeApiPayload(imageUrl, conversationStyle)
329
-
330
- const response = await fetch(this.endpoint + '/api/kblob',
331
- {
332
- headers: {
333
- 'Content-Type': 'application/json',
334
- },
335
- method: 'POST',
336
- mode: 'cors',
337
- credentials: 'include',
338
- body: JSON.stringify(payload),
339
- })
340
- .then(res => res.json())
341
- .catch(e => {
342
- console.log('Error', e)
343
- })
344
- return response
345
- }
346
-
347
- private async generateContent(message: ChatResponseMessage) {
348
- if (message.contentType === 'IMAGE') {
349
- this.asyncTasks.push(this.createImage(message.text, message.messageId))
350
- }
351
- }
352
-
353
- private async parseEvents(params: Params, events: any) {
354
- const conversation = this.conversationContext!
355
-
356
- events?.forEach(async (event: ChatUpdateCompleteResponse) => {
357
- debug('bing event', event)
358
- if (event.type === 3) {
359
- await Promise.all(this.asyncTasks)
360
- this.asyncTasks = []
361
- params.onEvent({ type: 'UPDATE_ANSWER', data: { text: this.lastText } })
362
- params.onEvent({ type: 'DONE' })
363
- conversation.invocationId = parseInt(event.invocationId, 10) + 1
364
- } else if (event.type === 1) {
365
- const messages = event.arguments[0].messages
366
- if (messages) {
367
- const text = convertMessageToMarkdown(messages[0])
368
- this.lastText = text
369
- params.onEvent({ type: 'UPDATE_ANSWER', data: { text, spokenText: messages[0].text, throttling: event.arguments[0].throttling } })
370
- }
371
- } else if (event.type === 2) {
372
- const messages = event.item.messages as ChatResponseMessage[] | undefined
373
- if (!messages) {
374
- params.onEvent({
375
- type: 'ERROR',
376
- error: new ChatError(
377
- event.item.result.error || 'Unknown error',
378
- event.item.result.value === 'Throttled' ? ErrorCode.THROTTLE_LIMIT
379
- : event.item.result.value === 'CaptchaChallenge' ? (this.conversationContext?.conversationId?.includes('BingProdUnAuthenticatedUsers') ? ErrorCode.BING_UNAUTHORIZED : ErrorCode.BING_CAPTCHA)
380
- : ErrorCode.UNKOWN_ERROR
381
- ),
382
- })
383
- return
384
- }
385
- const limited = messages.some((message) =>
386
- message.contentOrigin === 'TurnLimiter'
387
- || message.messageType === 'Disengaged'
388
- )
389
- if (limited) {
390
- params.onEvent({
391
- type: 'ERROR',
392
- error: new ChatError(
393
- 'Sorry, you have reached chat limit in this conversation.',
394
- ErrorCode.CONVERSATION_LIMIT,
395
- ),
396
- })
397
- return
398
- }
399
-
400
- const lastMessage = event.item.messages.at(-1) as ChatResponseMessage
401
- const specialMessage = event.item.messages.find(message => message.author === 'bot' && message.contentType === 'IMAGE')
402
- if (specialMessage) {
403
- this.generateContent(specialMessage)
404
- }
405
-
406
- if (lastMessage) {
407
- const text = convertMessageToMarkdown(lastMessage)
408
- this.lastText = text
409
- params.onEvent({
410
- type: 'UPDATE_ANSWER',
411
- data: { text, throttling: event.item.throttling, suggestedResponses: lastMessage.suggestedResponses, sourceAttributions: lastMessage.sourceAttributions },
412
- })
413
- }
414
- }
415
- })
416
- }
417
-
418
- resetConversation() {
419
- this.conversationContext = undefined
420
- }
421
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/3mrology/Chameleon_Text2Img_Generation_Demo/app.py DELETED
@@ -1,71 +0,0 @@
1
- import gradio as gr
2
- import os
3
- from share_btn import community_icon_html, loading_icon_html, share_js
4
-
5
- text_gen = gr.Interface.load(name="spaces/Gustavosta/MagicPrompt-Stable-Diffusion")
6
- stable_diffusion = gr.Blocks.load(name="spaces/runwayml/stable-diffusion-v1-5")
7
-
8
- def get_images(prompt):
9
- gallery_dir = stable_diffusion(prompt, fn_index=2)
10
- sd_output = [os.path.join(gallery_dir, image) for image in os.listdir(gallery_dir)]
11
- return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
12
-
13
- css = '''
14
- .animate-spin {
15
- animation: spin 1s linear infinite;
16
- }
17
- @keyframes spin {
18
- from {
19
- transform: rotate(0deg);
20
- }
21
- to {
22
- transform: rotate(360deg);
23
- }
24
- }
25
- a {text-decoration-line: underline;}
26
- '''
27
-
28
- with gr.Blocks(css=css) as demo:
29
- gr.HTML("""<div style="text-align: center; max-width: 700px; margin: 0 auto;">
30
- <div
31
- style="
32
- display: inline-flex;
33
- align-items: center;
34
- gap: 0.8rem;
35
- font-size: 1.75rem;
36
- "
37
- >
38
- <h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">
39
- Chameleon Text2Img Generator Demo 🦎
40
- </h1>
41
- </div>
42
- </div>""")
43
-
44
- with gr.Row():
45
-
46
- with gr.Column():
47
- text_output = gr.Textbox(
48
- label="Prettified text prompt",
49
- lines=4,
50
- elem_id="translated"
51
- )
52
- with gr.Row():
53
- diffuse_btn = gr.Button(value="Generate!")
54
- with gr.Column(elem_id="generated-gallery"):
55
- sd_output = gr.Gallery().style(grid=2, height="auto")
56
- with gr.Group(elem_id="share-btn-container"):
57
- community_icon = gr.HTML(community_icon_html, visible=False)
58
- loading_icon = gr.HTML(loading_icon_html, visible=False)
59
- share_button = gr.Button("Share to community", elem_id="share-btn", visible=False)
60
-
61
- diffuse_btn.click(get_images,
62
- inputs = [
63
- text_output
64
- ],
65
- outputs = [sd_output, community_icon, loading_icon, share_button]
66
- )
67
- share_button.click(None, [], [], _js=share_js)
68
-
69
-
70
-
71
- demo.launch(debug=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AB-TW/team-ai/documents/bussiness_context/NOTION_DB/Engineering Wiki 2402f5396a3244fdb3f1d135bdb0f3d6/How to Deploy b7c4f3fd308944af8ba4637ec40fa4f9.md DELETED
@@ -1,33 +0,0 @@
1
- # How to Deploy
2
-
3
- Last edited time: March 31, 2023 1:49 PM
4
- Owner: Anonymous
5
- Tags: Guides and Processes
6
-
7
- <aside>
8
- 💡 Use this template to describe the steps engineers should follow to deploy.
9
-
10
- </aside>
11
-
12
- # 1. Ping in Slack #deploys channel
13
-
14
- Let everyone know you're about to start a deploy.
15
-
16
- # 2. SSH into the deployment server
17
-
18
- <aside>
19
- 💡 Create a code block by typing `/code` and pressing `enter`.
20
-
21
- </aside>
22
-
23
- ```bash
24
- ssh deployments.acmecorp.com
25
- ```
26
-
27
- - You can create `inline code snippets` with the shortcut `cmd/ctrl + e`.
28
-
29
- # 3. Run the following commands
30
-
31
- ```bash
32
- acme deploy --prod
33
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AB-TW/team-ai/documents/bussiness_context/NOTION_DB/Engineering Wiki 2402f5396a3244fdb3f1d135bdb0f3d6/Smart Domain 3b0daf8bb0d740439426cfab214f1fa6.md DELETED
@@ -1,13 +0,0 @@
1
- # Smart Domain
2
-
3
- Smart Domain是一种新的软件架构模式,主要用于实现领域驱动设计(DDD)。相较于传统的分层架构,Smart Domain更加注重从业务领域的角度去划分层次,并在每一层次上都使用领域专家和开发人员共同理解的通用语言进行交流,从而建立起完整的领域模型。与此同时,Smart Domain还摒弃了服务层的概念,将原本在服务层实现的逻辑下沉到领域模型中,从而让领域模型更加丰满和清晰。
4
-
5
- 总之,Smart Domain是一种新的软件架构模式,通过从业务领域的角度去划分层次和使用通用语言建立领域模型,以及将服务层逻辑下沉到领域模型中,提高了领域驱动设计的实现效果。
6
-
7
- ## SmartDomain 分层
8
- 1. Domain层
9
- Domain层是整个系统的核心,主要定义业务相关的实体(Entity)和表示实体之间关联关系的关联对象。该层定义的实体和关联对象是业务模型的核心,反映了整个系统的业务规则和逻辑。同时,该层仅提供接口或抽象类定义,不包含具体实现。这样做可以避免业务逻辑和实现细节的混淆,也方便后续的扩展和维护。
10
- 2. 集成层
11
- 集成层主要负责Domain层中关系对象的实现,该层会依赖数据库、Http接口访问进行功能实现。该层的职责是将Domain层的抽象定义转换成具体实现,包括数据持久化、网络通信等。该层还可以处理一些跨域访问和数据加密解密等底层功能。
12
- 3. API层
13
- API层是整个系统的入口,基于Domain层的Entity或关联对象提供的能力,提供外部访问的RestFul接口。该层负责处理外部请求,将请求参数转换成业务对象并调用Domain层的业务逻辑实现,返回结果给客户端。该层还可以对请求参数进行验证、安全过滤等操作,保证系统的安全性和可靠性。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIConsultant/MusicGen/audiocraft/adversarial/losses.py DELETED
@@ -1,228 +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
- """
8
- Utility module to handle adversarial losses without requiring to mess up the main training loop.
9
- """
10
-
11
- import typing as tp
12
-
13
- import flashy
14
- import torch
15
- import torch.nn as nn
16
- import torch.nn.functional as F
17
-
18
-
19
- ADVERSARIAL_LOSSES = ['mse', 'hinge', 'hinge2']
20
-
21
-
22
- AdvLossType = tp.Union[nn.Module, tp.Callable[[torch.Tensor], torch.Tensor]]
23
- FeatLossType = tp.Union[nn.Module, tp.Callable[[torch.Tensor, torch.Tensor], torch.Tensor]]
24
-
25
-
26
- class AdversarialLoss(nn.Module):
27
- """Adversary training wrapper.
28
-
29
- Args:
30
- adversary (nn.Module): The adversary module will be used to estimate the logits given the fake and real samples.
31
- We assume here the adversary output is ``Tuple[List[torch.Tensor], List[List[torch.Tensor]]]``
32
- where the first item is a list of logits and the second item is a list of feature maps.
33
- optimizer (torch.optim.Optimizer): Optimizer used for training the given module.
34
- loss (AdvLossType): Loss function for generator training.
35
- loss_real (AdvLossType): Loss function for adversarial training on logits from real samples.
36
- loss_fake (AdvLossType): Loss function for adversarial training on logits from fake samples.
37
- loss_feat (FeatLossType): Feature matching loss function for generator training.
38
- normalize (bool): Whether to normalize by number of sub-discriminators.
39
-
40
- Example of usage:
41
- adv_loss = AdversarialLoss(adversaries, optimizer, loss, loss_real, loss_fake)
42
- for real in loader:
43
- noise = torch.randn(...)
44
- fake = model(noise)
45
- adv_loss.train_adv(fake, real)
46
- loss, _ = adv_loss(fake, real)
47
- loss.backward()
48
- """
49
- def __init__(self,
50
- adversary: nn.Module,
51
- optimizer: torch.optim.Optimizer,
52
- loss: AdvLossType,
53
- loss_real: AdvLossType,
54
- loss_fake: AdvLossType,
55
- loss_feat: tp.Optional[FeatLossType] = None,
56
- normalize: bool = True):
57
- super().__init__()
58
- self.adversary: nn.Module = adversary
59
- flashy.distrib.broadcast_model(self.adversary)
60
- self.optimizer = optimizer
61
- self.loss = loss
62
- self.loss_real = loss_real
63
- self.loss_fake = loss_fake
64
- self.loss_feat = loss_feat
65
- self.normalize = normalize
66
-
67
- def _save_to_state_dict(self, destination, prefix, keep_vars):
68
- # Add the optimizer state dict inside our own.
69
- super()._save_to_state_dict(destination, prefix, keep_vars)
70
- destination[prefix + 'optimizer'] = self.optimizer.state_dict()
71
- return destination
72
-
73
- def _load_from_state_dict(self, state_dict, prefix, *args, **kwargs):
74
- # Load optimizer state.
75
- self.optimizer.load_state_dict(state_dict.pop(prefix + 'optimizer'))
76
- super()._load_from_state_dict(state_dict, prefix, *args, **kwargs)
77
-
78
- def get_adversary_pred(self, x):
79
- """Run adversary model, validating expected output format."""
80
- logits, fmaps = self.adversary(x)
81
- assert isinstance(logits, list) and all([isinstance(t, torch.Tensor) for t in logits]), \
82
- f'Expecting a list of tensors as logits but {type(logits)} found.'
83
- assert isinstance(fmaps, list), f'Expecting a list of features maps but {type(fmaps)} found.'
84
- for fmap in fmaps:
85
- assert isinstance(fmap, list) and all([isinstance(f, torch.Tensor) for f in fmap]), \
86
- f'Expecting a list of tensors as feature maps but {type(fmap)} found.'
87
- return logits, fmaps
88
-
89
- def train_adv(self, fake: torch.Tensor, real: torch.Tensor) -> torch.Tensor:
90
- """Train the adversary with the given fake and real example.
91
-
92
- We assume the adversary output is the following format: Tuple[List[torch.Tensor], List[List[torch.Tensor]]].
93
- The first item being the logits and second item being a list of feature maps for each sub-discriminator.
94
-
95
- This will automatically synchronize gradients (with `flashy.distrib.eager_sync_model`)
96
- and call the optimizer.
97
- """
98
- loss = torch.tensor(0., device=fake.device)
99
- all_logits_fake_is_fake, _ = self.get_adversary_pred(fake.detach())
100
- all_logits_real_is_fake, _ = self.get_adversary_pred(real.detach())
101
- n_sub_adversaries = len(all_logits_fake_is_fake)
102
- for logit_fake_is_fake, logit_real_is_fake in zip(all_logits_fake_is_fake, all_logits_real_is_fake):
103
- loss += self.loss_fake(logit_fake_is_fake) + self.loss_real(logit_real_is_fake)
104
-
105
- if self.normalize:
106
- loss /= n_sub_adversaries
107
-
108
- self.optimizer.zero_grad()
109
- with flashy.distrib.eager_sync_model(self.adversary):
110
- loss.backward()
111
- self.optimizer.step()
112
-
113
- return loss
114
-
115
- def forward(self, fake: torch.Tensor, real: torch.Tensor) -> tp.Tuple[torch.Tensor, torch.Tensor]:
116
- """Return the loss for the generator, i.e. trying to fool the adversary,
117
- and feature matching loss if provided.
118
- """
119
- adv = torch.tensor(0., device=fake.device)
120
- feat = torch.tensor(0., device=fake.device)
121
- with flashy.utils.readonly(self.adversary):
122
- all_logits_fake_is_fake, all_fmap_fake = self.get_adversary_pred(fake)
123
- all_logits_real_is_fake, all_fmap_real = self.get_adversary_pred(real)
124
- n_sub_adversaries = len(all_logits_fake_is_fake)
125
- for logit_fake_is_fake in all_logits_fake_is_fake:
126
- adv += self.loss(logit_fake_is_fake)
127
- if self.loss_feat:
128
- for fmap_fake, fmap_real in zip(all_fmap_fake, all_fmap_real):
129
- feat += self.loss_feat(fmap_fake, fmap_real)
130
-
131
- if self.normalize:
132
- adv /= n_sub_adversaries
133
- feat /= n_sub_adversaries
134
-
135
- return adv, feat
136
-
137
-
138
- def get_adv_criterion(loss_type: str) -> tp.Callable:
139
- assert loss_type in ADVERSARIAL_LOSSES
140
- if loss_type == 'mse':
141
- return mse_loss
142
- elif loss_type == 'hinge':
143
- return hinge_loss
144
- elif loss_type == 'hinge2':
145
- return hinge2_loss
146
- raise ValueError('Unsupported loss')
147
-
148
-
149
- def get_fake_criterion(loss_type: str) -> tp.Callable:
150
- assert loss_type in ADVERSARIAL_LOSSES
151
- if loss_type == 'mse':
152
- return mse_fake_loss
153
- elif loss_type in ['hinge', 'hinge2']:
154
- return hinge_fake_loss
155
- raise ValueError('Unsupported loss')
156
-
157
-
158
- def get_real_criterion(loss_type: str) -> tp.Callable:
159
- assert loss_type in ADVERSARIAL_LOSSES
160
- if loss_type == 'mse':
161
- return mse_real_loss
162
- elif loss_type in ['hinge', 'hinge2']:
163
- return hinge_real_loss
164
- raise ValueError('Unsupported loss')
165
-
166
-
167
- def mse_real_loss(x: torch.Tensor) -> torch.Tensor:
168
- return F.mse_loss(x, torch.tensor(1., device=x.device).expand_as(x))
169
-
170
-
171
- def mse_fake_loss(x: torch.Tensor) -> torch.Tensor:
172
- return F.mse_loss(x, torch.tensor(0., device=x.device).expand_as(x))
173
-
174
-
175
- def hinge_real_loss(x: torch.Tensor) -> torch.Tensor:
176
- return -torch.mean(torch.min(x - 1, torch.tensor(0., device=x.device).expand_as(x)))
177
-
178
-
179
- def hinge_fake_loss(x: torch.Tensor) -> torch.Tensor:
180
- return -torch.mean(torch.min(-x - 1, torch.tensor(0., device=x.device).expand_as(x)))
181
-
182
-
183
- def mse_loss(x: torch.Tensor) -> torch.Tensor:
184
- if x.numel() == 0:
185
- return torch.tensor([0.0], device=x.device)
186
- return F.mse_loss(x, torch.tensor(1., device=x.device).expand_as(x))
187
-
188
-
189
- def hinge_loss(x: torch.Tensor) -> torch.Tensor:
190
- if x.numel() == 0:
191
- return torch.tensor([0.0], device=x.device)
192
- return -x.mean()
193
-
194
-
195
- def hinge2_loss(x: torch.Tensor) -> torch.Tensor:
196
- if x.numel() == 0:
197
- return torch.tensor([0.0])
198
- return -torch.mean(torch.min(x - 1, torch.tensor(0., device=x.device).expand_as(x)))
199
-
200
-
201
- class FeatureMatchingLoss(nn.Module):
202
- """Feature matching loss for adversarial training.
203
-
204
- Args:
205
- loss (nn.Module): Loss to use for feature matching (default=torch.nn.L1).
206
- normalize (bool): Whether to normalize the loss.
207
- by number of feature maps.
208
- """
209
- def __init__(self, loss: nn.Module = torch.nn.L1Loss(), normalize: bool = True):
210
- super().__init__()
211
- self.loss = loss
212
- self.normalize = normalize
213
-
214
- def forward(self, fmap_fake: tp.List[torch.Tensor], fmap_real: tp.List[torch.Tensor]) -> torch.Tensor:
215
- assert len(fmap_fake) == len(fmap_real) and len(fmap_fake) > 0
216
- feat_loss = torch.tensor(0., device=fmap_fake[0].device)
217
- feat_scale = torch.tensor(0., device=fmap_fake[0].device)
218
- n_fmaps = 0
219
- for (feat_fake, feat_real) in zip(fmap_fake, fmap_real):
220
- assert feat_fake.shape == feat_real.shape
221
- n_fmaps += 1
222
- feat_loss += self.loss(feat_fake, feat_real)
223
- feat_scale += torch.mean(torch.abs(feat_real))
224
-
225
- if self.normalize:
226
- feat_loss /= n_fmaps
227
-
228
- return feat_loss
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGC-Audio/AudioGPT/NeuralSeq/modules/parallel_wavegan/layers/__init__.py DELETED
@@ -1,5 +0,0 @@
1
- from .causal_conv import * # NOQA
2
- from .pqmf import * # NOQA
3
- from .residual_block import * # NOQA
4
- from modules.parallel_wavegan.layers.residual_stack import * # NOQA
5
- from .upsample import * # NOQA
 
 
 
 
 
 
spaces/AIGC-Audio/AudioGPT/text_to_speech/tasks/tts/fs_adv_aishell.py DELETED
@@ -1,267 +0,0 @@
1
- import os
2
- import torch
3
- import torch.nn.functional as F
4
- import torch.nn as nn
5
- import numpy as np
6
-
7
- from text_to_speech.modules.tts.syntaspeech.multi_window_disc import Discriminator
8
- from tasks.tts.fs import FastSpeechTask
9
- from text_to_speech.modules.tts.fs import FastSpeech
10
-
11
- from text_to_speech.utils.audio.align import mel2token_to_dur
12
- from text_to_speech.utils.commons.hparams import hparams
13
- from text_to_speech.utils.nn.model_utils import num_params
14
- from text_to_speech.utils.commons.tensor_utils import tensors_to_scalars
15
- from text_to_speech.utils.audio.pitch.utils import denorm_f0, norm_f0
16
- from text_to_speech.utils.audio.pitch_extractors import get_pitch
17
- from text_to_speech.utils.metrics.dtw import dtw as DTW
18
-
19
- from text_to_speech.utils.plot.plot import spec_to_figure
20
- from text_to_speech.utils.text.text_encoder import build_token_encoder
21
-
22
-
23
- class FastSpeechAdvTask(FastSpeechTask):
24
- def __init__(self):
25
- super().__init__()
26
- self.build_disc_model()
27
- self.mse_loss_fn = torch.nn.MSELoss()
28
-
29
- def build_tts_model(self):
30
- dict_size = len(self.token_encoder)
31
- self.model = FastSpeech(dict_size, hparams)
32
- self.gen_params = [p for p in self.model.parameters() if p.requires_grad]
33
- self.dp_params = [p for k, p in self.model.named_parameters() if (('dur_predictor' in k) and p.requires_grad)]
34
- self.gen_params_except_dp = [p for k, p in self.model.named_parameters() if (('dur_predictor' not in k) and p.requires_grad)]
35
- self.bert_params = [p for k, p in self.model.named_parameters() if (('bert' in k) and p.requires_grad)]
36
- self.gen_params_except_bert_and_dp = [p for k, p in self.model.named_parameters() if ('dur_predictor' not in k) and ('bert' not in k) and p.requires_grad ]
37
- self.use_bert = True if len(self.bert_params) > 0 else False
38
-
39
-
40
- def build_disc_model(self):
41
- disc_win_num = hparams['disc_win_num']
42
- h = hparams['mel_disc_hidden_size']
43
- self.mel_disc = Discriminator(
44
- time_lengths=[32, 64, 128][:disc_win_num],
45
- freq_length=80, hidden_size=h, kernel=(3, 3)
46
- )
47
- self.disc_params = list(self.mel_disc.parameters())
48
-
49
- def _training_step(self, sample, batch_idx, optimizer_idx):
50
- loss_output = {}
51
- loss_weights = {}
52
- disc_start = self.global_step >= hparams["disc_start_steps"] and hparams['lambda_mel_adv'] > 0
53
- if optimizer_idx == 0:
54
- #######################
55
- # Generator #
56
- #######################
57
- loss_output, model_out = self.run_model(sample, infer=False)
58
- self.model_out_gt = self.model_out = \
59
- {k: v.detach() for k, v in model_out.items() if isinstance(v, torch.Tensor)}
60
- if disc_start:
61
- mel_p = model_out['mel_out']
62
- if hasattr(self.model, 'out2mel'):
63
- mel_p = self.model.out2mel(mel_p)
64
- o_ = self.mel_disc(mel_p)
65
- p_, pc_ = o_['y'], o_['y_c']
66
- if p_ is not None:
67
- loss_output['a'] = self.mse_loss_fn(p_, p_.new_ones(p_.size()))
68
- loss_weights['a'] = hparams['lambda_mel_adv']
69
- if pc_ is not None:
70
- loss_output['ac'] = self.mse_loss_fn(pc_, pc_.new_ones(pc_.size()))
71
- loss_weights['ac'] = hparams['lambda_mel_adv']
72
- else:
73
- #######################
74
- # Discriminator #
75
- #######################
76
- if disc_start and self.global_step % hparams['disc_interval'] == 0:
77
- model_out = self.model_out_gt
78
- mel_g = sample['mels']
79
- mel_p = model_out['mel_out']
80
- o = self.mel_disc(mel_g)
81
- p, pc = o['y'], o['y_c']
82
- o_ = self.mel_disc(mel_p)
83
- p_, pc_ = o_['y'], o_['y_c']
84
- if p_ is not None:
85
- loss_output["r"] = self.mse_loss_fn(p, p.new_ones(p.size()))
86
- loss_output["f"] = self.mse_loss_fn(p_, p_.new_zeros(p_.size()))
87
- if pc_ is not None:
88
- loss_output["rc"] = self.mse_loss_fn(pc, pc.new_ones(pc.size()))
89
- loss_output["fc"] = self.mse_loss_fn(pc_, pc_.new_zeros(pc_.size()))
90
- else:
91
- return None
92
- total_loss = sum([loss_weights.get(k, 1) * v for k, v in loss_output.items() if isinstance(v, torch.Tensor) and v.requires_grad])
93
- loss_output['batch_size'] = sample['txt_tokens'].size()[0]
94
- return total_loss, loss_output
95
-
96
- def validation_start(self):
97
- self.vocoder = None
98
-
99
- def validation_step(self, sample, batch_idx):
100
- outputs = {}
101
- outputs['losses'] = {}
102
- outputs['losses'], model_out = self.run_model(sample)
103
- outputs['total_loss'] = sum(outputs['losses'].values())
104
- outputs['nsamples'] = sample['nsamples']
105
- outputs = tensors_to_scalars(outputs)
106
- if self.global_step % hparams['valid_infer_interval'] == 0 \
107
- and batch_idx < hparams['num_valid_plots']:
108
- valid_results = self.save_valid_result(sample, batch_idx, model_out)
109
- # wav_gt = valid_results['wav_gt']
110
- mel_gt = valid_results['mel_gt']
111
- # wav_pred = valid_results['wav_pred']
112
- mel_pred = valid_results['mel_pred']
113
- # f0_pred_, _ = get_pitch(wav_pred, mel_pred, hparams)
114
- # f0_gt_, _ = get_pitch(wav_gt, mel_gt, hparams)
115
- # manhattan_distance = lambda x, y: np.abs(x - y)
116
- # dist, cost, acc, path = DTW(f0_pred_, f0_gt_, manhattan_distance)
117
- # outputs['losses']['f0_dtw'] = dist / len(f0_gt_)
118
- return outputs
119
-
120
- def save_valid_result(self, sample, batch_idx, model_out):
121
- sr = hparams['audio_sample_rate']
122
- f0_gt = None
123
- mel_out = model_out['mel_out']
124
- if sample.get('f0') is not None:
125
- f0_gt = denorm_f0(sample['f0'][0].cpu(), sample['uv'][0].cpu())
126
- self.plot_mel(batch_idx, sample['mels'], mel_out, f0s=f0_gt)
127
-
128
- # if self.global_step > 0:
129
- if self.vocoder is not None:
130
- wav_pred = self.vocoder.spec2wav(mel_out[0].cpu(), f0=f0_gt)
131
- self.logger.add_audio(f'wav_val_{batch_idx}', wav_pred, self.global_step, sr)
132
- # with gt duration
133
- model_out = self.run_model(sample, infer=True, infer_use_gt_dur=True)
134
- dur_info = self.get_plot_dur_info(sample, model_out)
135
- del dur_info['dur_pred']
136
- if self.vocoder is not None:
137
- wav_pred = self.vocoder.spec2wav(model_out['mel_out'][0].cpu(), f0=f0_gt)
138
- self.logger.add_audio(f'wav_gdur_{batch_idx}', wav_pred, self.global_step, sr)
139
- self.plot_mel(batch_idx, sample['mels'], model_out['mel_out'][0], f'mel_gdur_{batch_idx}',
140
- dur_info=dur_info, f0s=f0_gt)
141
-
142
- # with pred duration
143
- if not hparams['use_gt_dur']:
144
- model_out = self.run_model(sample, infer=True, infer_use_gt_dur=False)
145
- dur_info = self.get_plot_dur_info(sample, model_out)
146
- self.plot_mel(batch_idx, sample['mels'], model_out['mel_out'][0], f'mel_pdur_{batch_idx}',
147
- dur_info=dur_info, f0s=f0_gt)
148
- if self.vocoder is not None:
149
- wav_pred = self.vocoder.spec2wav(model_out['mel_out'][0].cpu(), f0=f0_gt)
150
- self.logger.add_audio(f'wav_pdur_{batch_idx}', wav_pred, self.global_step, sr)
151
- # gt wav
152
- mel_gt = sample['mels'][0].cpu()
153
- if self.vocoder is not None:
154
- wav_gt = self.vocoder.spec2wav(mel_gt, f0=f0_gt)
155
- if self.global_step <= hparams['valid_infer_interval']:
156
- self.logger.add_audio(f'wav_gt_{batch_idx}', wav_gt, self.global_step, sr)
157
-
158
- # add attn plot
159
- # if self.global_step > 0 and hparams['dur_level'] == 'word':
160
- # self.logger.add_figure(f'attn_{batch_idx}', spec_to_figure(model_out['attn'][0]), self.global_step)
161
-
162
- return {'mel_gt': mel_gt, 'mel_pred': model_out['mel_out'][0].cpu()}
163
- # return {'wav_gt': wav_gt, 'wav_pred': wav_pred, 'mel_gt': mel_gt, 'mel_pred': model_out['mel_out'][0].cpu()}
164
-
165
-
166
- def get_plot_dur_info(self, sample, model_out):
167
- # if hparams['dur_level'] == 'word':
168
- # T_txt = sample['word_lengths'].max()
169
- # dur_gt = mel2token_to_dur(sample['mel2word'], T_txt)[0]
170
- # dur_pred = model_out['dur'] if 'dur' in model_out else dur_gt
171
- # txt = sample['ph_words'][0].split(" ")
172
- # else:
173
- T_txt = sample['txt_tokens'].shape[1]
174
- dur_gt = mel2token_to_dur(sample['mel2ph'], T_txt)[0]
175
- dur_pred = model_out['dur'] if 'dur' in model_out else dur_gt
176
- txt = self.token_encoder.decode(sample['txt_tokens'][0].cpu().numpy())
177
- txt = txt.split(" ")
178
- return {'dur_gt': dur_gt, 'dur_pred': dur_pred, 'txt': txt}
179
-
180
- def build_optimizer(self, model):
181
-
182
- optimizer_gen = torch.optim.AdamW(
183
- self.gen_params,
184
- lr=hparams['lr'],
185
- betas=(hparams['optimizer_adam_beta1'], hparams['optimizer_adam_beta2']),
186
- weight_decay=hparams['weight_decay'])
187
-
188
- optimizer_disc = torch.optim.AdamW(
189
- self.disc_params,
190
- lr=hparams['disc_lr'],
191
- betas=(hparams['optimizer_adam_beta1'], hparams['optimizer_adam_beta2']),
192
- **hparams["discriminator_optimizer_params"]) if len(self.disc_params) > 0 else None
193
-
194
- return [optimizer_gen, optimizer_disc]
195
-
196
- def build_scheduler(self, optimizer):
197
- return [
198
- FastSpeechTask.build_scheduler(self, optimizer[0]), # Generator Scheduler
199
- torch.optim.lr_scheduler.StepLR(optimizer=optimizer[1], # Discriminator Scheduler
200
- **hparams["discriminator_scheduler_params"]),
201
- ]
202
-
203
- def on_before_optimization(self, opt_idx):
204
- if opt_idx == 0:
205
- nn.utils.clip_grad_norm_(self.dp_params, hparams['clip_grad_norm'])
206
- if self.use_bert:
207
- nn.utils.clip_grad_norm_(self.bert_params, hparams['clip_grad_norm'])
208
- nn.utils.clip_grad_norm_(self.gen_params_except_bert_and_dp, hparams['clip_grad_norm'])
209
- else:
210
- nn.utils.clip_grad_norm_(self.gen_params_except_dp, hparams['clip_grad_norm'])
211
- else:
212
- nn.utils.clip_grad_norm_(self.disc_params, hparams["clip_grad_norm"])
213
-
214
- def on_after_optimization(self, epoch, batch_idx, optimizer, optimizer_idx):
215
- if self.scheduler is not None:
216
- self.scheduler[0].step(self.global_step // hparams['accumulate_grad_batches'])
217
- self.scheduler[1].step(self.global_step // hparams['accumulate_grad_batches'])
218
-
219
- ############
220
- # infer
221
- ############
222
- def test_start(self):
223
- super().test_start()
224
- if hparams.get('save_attn', False):
225
- os.makedirs(f'{self.gen_dir}/attn', exist_ok=True)
226
- self.model.store_inverse_all()
227
-
228
- def test_step(self, sample, batch_idx):
229
- assert sample['txt_tokens'].shape[0] == 1, 'only support batch_size=1 in inference'
230
- outputs = self.run_model(sample, infer=True)
231
- text = sample['text'][0]
232
- item_name = sample['item_name'][0]
233
- tokens = sample['txt_tokens'][0].cpu().numpy()
234
- mel_gt = sample['mels'][0].cpu().numpy()
235
- mel_pred = outputs['mel_out'][0].cpu().numpy()
236
- mel2ph = sample['mel2ph'][0].cpu().numpy()
237
- mel2ph_pred = None
238
- str_phs = self.token_encoder.decode(tokens, strip_padding=True)
239
- base_fn = f'[{batch_idx:06d}][{item_name.replace("%", "_")}][%s]'
240
- if text is not None:
241
- base_fn += text.replace(":", "$3A")[:80]
242
- base_fn = base_fn.replace(' ', '_')
243
- gen_dir = self.gen_dir
244
- wav_pred = self.vocoder.spec2wav(mel_pred)
245
- self.saving_result_pool.add_job(self.save_result, args=[
246
- wav_pred, mel_pred, base_fn % 'P', gen_dir, str_phs, mel2ph_pred])
247
- if hparams['save_gt']:
248
- wav_gt = self.vocoder.spec2wav(mel_gt)
249
- self.saving_result_pool.add_job(self.save_result, args=[
250
- wav_gt, mel_gt, base_fn % 'G', gen_dir, str_phs, mel2ph])
251
- if hparams.get('save_attn', False):
252
- attn = outputs['attn'][0].cpu().numpy()
253
- np.save(f'{gen_dir}/attn/{item_name}.npy', attn)
254
- # save f0 for pitch dtw
255
- f0_pred_, _ = get_pitch(wav_pred, mel_pred, hparams)
256
- f0_gt_, _ = get_pitch(wav_gt, mel_gt, hparams)
257
- np.save(f'{gen_dir}/f0/{item_name}.npy', f0_pred_)
258
- np.save(f'{gen_dir}/f0/{item_name}_gt.npy', f0_gt_)
259
-
260
- print(f"Pred_shape: {mel_pred.shape}, gt_shape: {mel_gt.shape}")
261
- return {
262
- 'item_name': item_name,
263
- 'text': text,
264
- 'ph_tokens': self.token_encoder.decode(tokens.tolist()),
265
- 'wav_fn_pred': base_fn % 'P',
266
- 'wav_fn_gt': base_fn % 'G',
267
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIWaves/Debate/src/agents/State.py DELETED
@@ -1,142 +0,0 @@
1
- from Component import *
2
-
3
-
4
- class State:
5
- """
6
- Sub-scenes of role activities, responsible for storing the tasks that each role needs to do
7
- """
8
- def __init__(self, **kwargs):
9
- self.next_states = {}
10
- self.name = kwargs["name"]
11
-
12
- self.environment_prompt = (
13
- kwargs["environment_prompt"] if "environment_prompt" in kwargs else ""
14
- )
15
-
16
- self.roles = kwargs["roles"] if "roles" in kwargs else (list(kwargs["agent_states"].keys()) if "agent_states" in kwargs else [0])
17
- if len(self.roles) == 0:
18
- self.roles = [0]
19
- self.begin_role = (
20
- kwargs["begin_role"] if "begin_role" in kwargs else self.roles[0]
21
- )
22
- self.begin_query = kwargs["begin_query"] if "begin_query" in kwargs else None
23
-
24
- self.is_begin = True
25
-
26
- self.summary_prompt = (
27
- kwargs["summary_prompt"] if "summary_prompt" in kwargs else None
28
- )
29
- self.current_role = self.begin_role
30
- self.components = (
31
- self.init_components(kwargs["agent_states"])
32
- if "agent_states" in kwargs
33
- else {}
34
- )
35
- self.index = (
36
- self.roles.index(self.begin_role) if self.begin_role in self.roles else 0
37
- )
38
- self.chat_nums = 0
39
-
40
- def init_components(self, agent_states_dict: dict):
41
- agent_states = {}
42
- for role, components in agent_states_dict.items():
43
- component_dict = {}
44
- for component, component_args in components.items():
45
- if component:
46
- # "role" "style"
47
- if component == "style":
48
- component_dict["style"] = StyleComponent(component_args["role"])
49
-
50
- # "task"
51
- elif component == "task":
52
- component_dict["task"] = TaskComponent(component_args["task"])
53
-
54
- # "rule"
55
- elif component == "rule":
56
- component_dict["rule"] = RuleComponent(component_args["rule"])
57
-
58
- # "demonstration"
59
- elif component == "demonstrations":
60
- component_dict["demonstrations"] = DemonstrationComponent(
61
- component_args["demonstrations"]
62
- )
63
-
64
- # "output"
65
- elif component == "output":
66
- component_dict["output"] = OutputComponent(
67
- component_args["output"]
68
- )
69
-
70
- elif component == "last":
71
- component_dict["last"] = LastComponent(
72
- component_args["last_prompt"]
73
- )
74
-
75
- # "demonstrations"
76
- elif component == "cot":
77
- component_dict["cot"] = CoTComponent(
78
- component_args["demonstrations"]
79
- )
80
- elif component == "CustomizeComponent":
81
- component_dict["CustomizeComponent"] = CustomizeComponent(
82
- component_args["template"], component_args["keywords"]
83
- )
84
-
85
- elif component == "system" :
86
- component_dict["system"] = SystemComponent(
87
- component_args["system_prompt"]
88
- )
89
-
90
- # =================================================================================#
91
-
92
- # "output"
93
- elif component == "StaticComponent":
94
- component_dict["StaticComponent"] = StaticComponent(
95
- component_args["output"]
96
- )
97
-
98
- # "top_k" "type" "knowledge_base" "system_prompt" "last_prompt"
99
- elif component == "KnowledgeBaseComponent":
100
- component_dict["tool"] = KnowledgeBaseComponent(
101
- component_args["top_k"],
102
- component_args["type"],
103
- component_args["knowledge_path"],
104
- )
105
-
106
- elif component == "CategoryRequirementsComponent":
107
- component_dict[
108
- "CategoryRequirementsComponent"
109
- ] = CategoryRequirementsComponent(
110
- component_args["information_path"]
111
- )
112
-
113
- elif component == "FunctionComponent":
114
- component_dict["FunctionComponent"] = FunctionComponent(component_args[""])
115
- # "short_memory_extract_words" "long_memory_extract_words" "system_prompt" "last_prompt"
116
- elif component == "ExtractComponent":
117
- component_dict["ExtractComponent"] = ExtractComponent(
118
- component_args["extract_words"],
119
- component_args["system_prompt"],
120
- component_args["last_prompt"],
121
- )
122
- elif component == "WebSearchComponent":
123
- component_dict["WebSearchComponent"] = WebSearchComponent(
124
- component_args["engine_name"], component_args["api"]
125
- )
126
- elif component == "WebCrawlComponent":
127
- component_dict["WebCrawlComponent"] = WebCrawlComponent(
128
- component_args["name"]
129
- )
130
-
131
- elif component == "CodeComponent":
132
- component_dict["CodeComponent"] = CodeComponent(
133
- component_args["file_name"], component_args["keyword"]
134
- )
135
-
136
- # ====================================================
137
- else:
138
- continue
139
-
140
- agent_states[role] = component_dict
141
-
142
- return agent_states
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ASJMO/freegpt/g4f/Provider/Providers/Zeabur.py DELETED
@@ -1,50 +0,0 @@
1
- import os
2
- import requests
3
- from ...typing import sha256, Dict, get_type_hints
4
-
5
- url = "https://gptleg.zeabur.app"
6
- model = ['gpt-3.5-turbo', 'gpt-3.5-turbo-0301',
7
- 'gpt-3.5-turbo-16k', 'gpt-4', 'gpt-4-0613']
8
- supports_stream = True
9
- needs_auth = False
10
-
11
-
12
- def _create_completion(model: str, messages: list, stream: bool, **kwargs):
13
- headers = {
14
- 'Authority': 'chat.dfehub.com',
15
- 'Content-Type': 'application/json',
16
- 'Method': 'POST',
17
- 'Path': '/api/openai/v1/chat/completions',
18
- 'Scheme': 'https',
19
- 'Accept': 'text/event-stream',
20
- 'Accept-Language': 'pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6,zh;q=0.5',
21
- 'Content-Type': 'application/json',
22
- 'Origin': 'https://gptleg.zeabur.app',
23
- 'Referer': 'https://gptleg.zeabur.app/',
24
- 'Sec-Ch-Ua': '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
25
- 'Sec-Ch-Ua-Mobile': '?0',
26
- 'Sec-Ch-Ua-Platform': '"Windows"',
27
- 'Sec-Fetch-Dest': 'empty',
28
- 'Sec-Fetch-Mode': 'cors',
29
- 'Sec-Fetch-Site': 'same-origin',
30
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36',
31
- 'X-Requested-With': 'XMLHttpRequest',
32
- }
33
-
34
- data = {
35
- 'model': model,
36
- 'temperature': 0.7,
37
- 'max_tokens': '16000',
38
- 'presence_penalty': 0,
39
- 'messages': messages,
40
- }
41
-
42
- response = requests.post(url + '/api/openai/v1/chat/completions',
43
- headers=headers, json=data, stream=stream)
44
-
45
- yield response.json()['choices'][0]['message']['content']
46
-
47
-
48
- params = f'g4f.Providers.{os.path.basename(__file__)[:-3]} supports: ' + \
49
- '(%s)' % ', '.join(
50
- [f"{name}: {get_type_hints(_create_completion)[name].__name__}" for name in _create_completion.__code__.co_varnames[:_create_completion.__code__.co_argcount]])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AchyuthGamer/OpenGPT-Chat-UI/.svelte-kit/types/src/routes/$types.d.ts DELETED
@@ -1,24 +0,0 @@
1
- import type * as Kit from '@sveltejs/kit';
2
-
3
- type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
4
- type RouteParams = { }
5
- type RouteId = '/';
6
- type MaybeWithVoid<T> = {} extends T ? T | void : T;
7
- export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T];
8
- type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>>
9
- type EnsureDefined<T> = T extends null | undefined ? {} : T;
10
- type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never;
11
- export type Snapshot<T = any> = Kit.Snapshot<T>;
12
- type PageParentData = EnsureDefined<LayoutData>;
13
- type LayoutRouteId = RouteId | "/" | "/conversation/[id]" | "/conversations" | "/login" | "/login/callback" | "/logout" | "/privacy" | "/r/[id]" | "/settings" | null
14
- type LayoutParams = RouteParams & { id?: string }
15
- type LayoutServerParentData = EnsureDefined<{}>;
16
- type LayoutParentData = EnsureDefined<{}>;
17
-
18
- export type PageServerData = null;
19
- export type PageData = Expand<PageParentData>;
20
- export type LayoutServerLoad<OutputData extends OutputDataShape<LayoutServerParentData> = OutputDataShape<LayoutServerParentData>> = Kit.ServerLoad<LayoutParams, LayoutServerParentData, OutputData, LayoutRouteId>;
21
- export type LayoutServerLoadEvent = Parameters<LayoutServerLoad>[0];
22
- export type LayoutServerData = Expand<OptionalUnion<EnsureDefined<Kit.AwaitedProperties<Awaited<ReturnType<typeof import('./proxy+layout.server.js').load>>>>>>;
23
- export type LayoutData = Expand<Omit<LayoutParentData, keyof LayoutServerData> & EnsureDefined<LayoutServerData>>;
24
- export type RequestEvent = Kit.RequestEvent<RouteParams, RouteId>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Adapter/CoAdapter/ldm/modules/encoders/modules.py DELETED
@@ -1,441 +0,0 @@
1
- import torch
2
- import torch.nn as nn
3
- import math
4
- from torch.utils.checkpoint import checkpoint
5
-
6
- from transformers import T5Tokenizer, T5EncoderModel, CLIPTokenizer, CLIPTextModel, CLIPModel
7
-
8
- import open_clip
9
- import re
10
- from ldm.util import default, count_params
11
-
12
-
13
- class AbstractEncoder(nn.Module):
14
- def __init__(self):
15
- super().__init__()
16
-
17
- def encode(self, *args, **kwargs):
18
- raise NotImplementedError
19
-
20
-
21
- class IdentityEncoder(AbstractEncoder):
22
-
23
- def encode(self, x):
24
- return x
25
-
26
-
27
- class ClassEmbedder(nn.Module):
28
- def __init__(self, embed_dim, n_classes=1000, key='class'):
29
- super().__init__()
30
- self.key = key
31
- self.embedding = nn.Embedding(n_classes, embed_dim)
32
-
33
- def forward(self, batch, key=None):
34
- if key is None:
35
- key = self.key
36
- # this is for use in crossattn
37
- c = batch[key][:, None]
38
- c = self.embedding(c)
39
- return c
40
-
41
-
42
- class FrozenT5Embedder(AbstractEncoder):
43
- """Uses the T5 transformer encoder for text"""
44
- def __init__(self, version="google/t5-v1_1-large", device="cuda", max_length=77, freeze=True): # others are google/t5-v1_1-xl and google/t5-v1_1-xxl
45
- super().__init__()
46
- self.tokenizer = T5Tokenizer.from_pretrained(version)
47
- self.transformer = T5EncoderModel.from_pretrained(version)
48
- self.device = device
49
- self.max_length = max_length # TODO: typical value?
50
- if freeze:
51
- self.freeze()
52
-
53
- def freeze(self):
54
- self.transformer = self.transformer.eval()
55
- #self.train = disabled_train
56
- for param in self.parameters():
57
- param.requires_grad = False
58
-
59
- def forward(self, text):
60
- batch_encoding = self.tokenizer(text, truncation=True, max_length=self.max_length, return_length=True,
61
- return_overflowing_tokens=False, padding="max_length", return_tensors="pt")
62
- tokens = batch_encoding["input_ids"].to(self.device)
63
- outputs = self.transformer(input_ids=tokens)
64
-
65
- z = outputs.last_hidden_state
66
- return z
67
-
68
- def encode(self, text):
69
- return self(text)
70
-
71
-
72
- class FrozenCLIPEmbedder(AbstractEncoder):
73
- """Uses the CLIP transformer encoder for text (from huggingface)"""
74
- def __init__(self, version="openai/clip-vit-large-patch14", device="cuda", max_length=77,
75
- freeze=True, layer="last"): # clip-vit-base-patch32
76
- super().__init__()
77
- self.tokenizer = CLIPTokenizer.from_pretrained(version)
78
- self.transformer = CLIPModel.from_pretrained(version).text_model
79
- self.device = device
80
- self.max_length = max_length
81
- if freeze:
82
- self.freeze()
83
- self.layer = layer
84
-
85
- def freeze(self):
86
- self.transformer = self.transformer.eval()
87
- for param in self.parameters():
88
- param.requires_grad = False
89
-
90
- def forward(self, text):
91
- batch_encoding = self.tokenizer(text, truncation=True, max_length=self.max_length, return_length=True,
92
- return_overflowing_tokens=False, padding="max_length", return_tensors="pt")
93
- tokens = batch_encoding["input_ids"].to(self.device)
94
- outputs = self.transformer(input_ids=tokens, output_hidden_states=self.layer != 'last')
95
-
96
- if self.layer == 'penultimate':
97
- z = outputs.hidden_states[-2]
98
- z = self.transformer.final_layer_norm(z)
99
- else:
100
- z = outputs.last_hidden_state
101
- return z
102
-
103
- def encode(self, text):
104
- return self(text)
105
-
106
-
107
- class FrozenOpenCLIPEmbedder(AbstractEncoder):
108
- """
109
- Uses the OpenCLIP transformer encoder for text
110
- """
111
- LAYERS = [
112
- #"pooled",
113
- "last",
114
- "penultimate"
115
- ]
116
- def __init__(self, arch="ViT-H-14", version="laion2b_s32b_b79k", device="cuda", max_length=77,
117
- freeze=True, layer="last"):
118
- super().__init__()
119
- assert layer in self.LAYERS
120
- model, _, _ = open_clip.create_model_and_transforms(arch, device=torch.device('cpu'), pretrained=version)
121
- del model.visual
122
- self.model = model
123
-
124
- self.device = device
125
- self.max_length = max_length
126
- if freeze:
127
- self.freeze()
128
- self.layer = layer
129
- if self.layer == "last":
130
- self.layer_idx = 0
131
- elif self.layer == "penultimate":
132
- self.layer_idx = 1
133
- else:
134
- raise NotImplementedError()
135
-
136
- def freeze(self):
137
- self.model = self.model.eval()
138
- for param in self.parameters():
139
- param.requires_grad = False
140
-
141
- def forward(self, text):
142
- tokens = open_clip.tokenize(text)
143
- z = self.encode_with_transformer(tokens.to(self.device))
144
- return z
145
-
146
- def encode_with_transformer(self, text):
147
- x = self.model.token_embedding(text) # [batch_size, n_ctx, d_model]
148
- x = x + self.model.positional_embedding
149
- x = x.permute(1, 0, 2) # NLD -> LND
150
- x = self.text_transformer_forward(x, attn_mask=self.model.attn_mask)
151
- x = x.permute(1, 0, 2) # LND -> NLD
152
- x = self.model.ln_final(x)
153
- return x
154
-
155
- def text_transformer_forward(self, x: torch.Tensor, attn_mask = None):
156
- for i, r in enumerate(self.model.transformer.resblocks):
157
- if i == len(self.model.transformer.resblocks) - self.layer_idx:
158
- break
159
- if self.model.transformer.grad_checkpointing and not torch.jit.is_scripting():
160
- x = checkpoint(r, x, attn_mask)
161
- else:
162
- x = r(x, attn_mask=attn_mask)
163
- return x
164
-
165
- def encode(self, text):
166
- return self(text)
167
-
168
-
169
- class FrozenCLIPT5Encoder(AbstractEncoder):
170
- def __init__(self, clip_version="openai/clip-vit-large-patch14", t5_version="google/t5-v1_1-xl", device="cuda",
171
- clip_max_length=77, t5_max_length=77):
172
- super().__init__()
173
- self.clip_encoder = FrozenCLIPEmbedder(clip_version, device, max_length=clip_max_length)
174
- self.t5_encoder = FrozenT5Embedder(t5_version, device, max_length=t5_max_length)
175
- print(f"{self.clip_encoder.__class__.__name__} has {count_params(self.clip_encoder)*1.e-6:.2f} M parameters, "
176
- f"{self.t5_encoder.__class__.__name__} comes with {count_params(self.t5_encoder)*1.e-6:.2f} M params.")
177
-
178
- def encode(self, text):
179
- return self(text)
180
-
181
- def forward(self, text):
182
- clip_z = self.clip_encoder.encode(text)
183
- t5_z = self.t5_encoder.encode(text)
184
- return [clip_z, t5_z]
185
-
186
-
187
- # code from sd-webui
188
- re_attention = re.compile(r"""
189
- \\\(|
190
- \\\)|
191
- \\\[|
192
- \\]|
193
- \\\\|
194
- \\|
195
- \(|
196
- \[|
197
- :([+-]?[.\d]+)\)|
198
- \)|
199
- ]|
200
- [^\\()\[\]:]+|
201
- :
202
- """, re.X)
203
-
204
-
205
- def parse_prompt_attention(text):
206
- """
207
- Parses a string with attention tokens and returns a list of pairs: text and its associated weight.
208
- Accepted tokens are:
209
- (abc) - increases attention to abc by a multiplier of 1.1
210
- (abc:3.12) - increases attention to abc by a multiplier of 3.12
211
- [abc] - decreases attention to abc by a multiplier of 1.1
212
- \( - literal character '('
213
- \[ - literal character '['
214
- \) - literal character ')'
215
- \] - literal character ']'
216
- \\ - literal character '\'
217
- anything else - just text
218
-
219
- >>> parse_prompt_attention('normal text')
220
- [['normal text', 1.0]]
221
- >>> parse_prompt_attention('an (important) word')
222
- [['an ', 1.0], ['important', 1.1], [' word', 1.0]]
223
- >>> parse_prompt_attention('(unbalanced')
224
- [['unbalanced', 1.1]]
225
- >>> parse_prompt_attention('\(literal\]')
226
- [['(literal]', 1.0]]
227
- >>> parse_prompt_attention('(unnecessary)(parens)')
228
- [['unnecessaryparens', 1.1]]
229
- >>> parse_prompt_attention('a (((house:1.3)) [on] a (hill:0.5), sun, (((sky))).')
230
- [['a ', 1.0],
231
- ['house', 1.5730000000000004],
232
- [' ', 1.1],
233
- ['on', 1.0],
234
- [' a ', 1.1],
235
- ['hill', 0.55],
236
- [', sun, ', 1.1],
237
- ['sky', 1.4641000000000006],
238
- ['.', 1.1]]
239
- """
240
-
241
- res = []
242
- round_brackets = []
243
- square_brackets = []
244
-
245
- round_bracket_multiplier = 1.1
246
- square_bracket_multiplier = 1 / 1.1
247
-
248
- def multiply_range(start_position, multiplier):
249
- for p in range(start_position, len(res)):
250
- res[p][1] *= multiplier
251
-
252
- for m in re_attention.finditer(text):
253
- text = m.group(0)
254
- weight = m.group(1)
255
-
256
- if text.startswith('\\'):
257
- res.append([text[1:], 1.0])
258
- elif text == '(':
259
- round_brackets.append(len(res))
260
- elif text == '[':
261
- square_brackets.append(len(res))
262
- elif weight is not None and len(round_brackets) > 0:
263
- multiply_range(round_brackets.pop(), float(weight))
264
- elif text == ')' and len(round_brackets) > 0:
265
- multiply_range(round_brackets.pop(), round_bracket_multiplier)
266
- elif text == ']' and len(square_brackets) > 0:
267
- multiply_range(square_brackets.pop(), square_bracket_multiplier)
268
- else:
269
- res.append([text, 1.0])
270
-
271
- for pos in round_brackets:
272
- multiply_range(pos, round_bracket_multiplier)
273
-
274
- for pos in square_brackets:
275
- multiply_range(pos, square_bracket_multiplier)
276
-
277
- if len(res) == 0:
278
- res = [["", 1.0]]
279
-
280
- # merge runs of identical weights
281
- i = 0
282
- while i + 1 < len(res):
283
- if res[i][1] == res[i + 1][1]:
284
- res[i][0] += res[i + 1][0]
285
- res.pop(i + 1)
286
- else:
287
- i += 1
288
-
289
- return res
290
-
291
- class WebUIFrozenCLIPEmebedder(AbstractEncoder):
292
- def __init__(self, version="openai/clip-vit-large-patch14", device="cuda", freeze=True, layer="penultimate"):
293
- super(WebUIFrozenCLIPEmebedder, self).__init__()
294
- self.tokenizer = CLIPTokenizer.from_pretrained(version)
295
- self.transformer = CLIPModel.from_pretrained(version).text_model
296
- self.device = device
297
- self.layer = layer
298
- if freeze:
299
- self.freeze()
300
-
301
- self.comma_token = [v for k, v in self.tokenizer.get_vocab().items() if k == ',</w>'][0]
302
- self.comma_padding_backtrack = 20
303
-
304
- def freeze(self):
305
- self.transformer = self.transformer.eval()
306
- for param in self.parameters():
307
- param.requires_grad = False
308
-
309
- def tokenize(self, texts):
310
- tokenized = self.tokenizer(texts, truncation=False, add_special_tokens=False)["input_ids"]
311
- return tokenized
312
-
313
- def encode_with_transformers(self, tokens):
314
- outputs = self.transformer(input_ids=tokens, output_hidden_states=self.layer!='last')
315
-
316
- if self.layer == 'penultimate':
317
- z = outputs.hidden_states[-2]
318
- z = self.transformer.final_layer_norm(z)
319
- else:
320
- z = outputs.last_hidden_state
321
-
322
- return z
323
-
324
- def tokenize_line(self, line):
325
- parsed = parse_prompt_attention(line)
326
- # print(parsed)
327
-
328
- tokenized = self.tokenize([text for text, _ in parsed])
329
-
330
- remade_tokens = []
331
- multipliers = []
332
- last_comma = -1
333
-
334
- for tokens, (text, weight) in zip(tokenized, parsed):
335
- i = 0
336
- while i < len(tokens):
337
- token = tokens[i]
338
-
339
- if token == self.comma_token:
340
- last_comma = len(remade_tokens)
341
- elif self.comma_padding_backtrack != 0 and max(len(remade_tokens),
342
- 1) % 75 == 0 and last_comma != -1 and len(
343
- remade_tokens) - last_comma <= self.comma_padding_backtrack:
344
- last_comma += 1
345
- reloc_tokens = remade_tokens[last_comma:]
346
- reloc_mults = multipliers[last_comma:]
347
-
348
- remade_tokens = remade_tokens[:last_comma]
349
- length = len(remade_tokens)
350
-
351
- rem = int(math.ceil(length / 75)) * 75 - length
352
- remade_tokens += [self.tokenizer.eos_token_id] * rem + reloc_tokens
353
- multipliers = multipliers[:last_comma] + [1.0] * rem + reloc_mults
354
-
355
- remade_tokens.append(token)
356
- multipliers.append(weight)
357
- i += 1
358
-
359
- token_count = len(remade_tokens)
360
- prompt_target_length = math.ceil(max(token_count, 1) / 75) * 75
361
- tokens_to_add = prompt_target_length - len(remade_tokens)
362
-
363
- remade_tokens = remade_tokens + [self.tokenizer.eos_token_id] * tokens_to_add
364
- multipliers = multipliers + [1.0] * tokens_to_add
365
-
366
- return remade_tokens, multipliers, token_count
367
-
368
- def process_text(self, texts):
369
- remade_batch_tokens = []
370
- token_count = 0
371
-
372
- cache = {}
373
- batch_multipliers = []
374
- for line in texts:
375
- if line in cache:
376
- remade_tokens, multipliers = cache[line]
377
- else:
378
- remade_tokens, multipliers, current_token_count = self.tokenize_line(line)
379
- token_count = max(current_token_count, token_count)
380
-
381
- cache[line] = (remade_tokens, multipliers)
382
-
383
- remade_batch_tokens.append(remade_tokens)
384
- batch_multipliers.append(multipliers)
385
-
386
- return batch_multipliers, remade_batch_tokens, token_count
387
-
388
- def process_tokens(self, remade_batch_tokens, batch_multipliers):
389
- remade_batch_tokens = [[self.tokenizer.bos_token_id] + x[:75] + [self.tokenizer.eos_token_id] for x in remade_batch_tokens]
390
- batch_multipliers = [[1.0] + x[:75] + [1.0] for x in batch_multipliers]
391
-
392
- tokens = torch.asarray(remade_batch_tokens).to(self.device)
393
-
394
- z = self.encode_with_transformers(tokens)
395
-
396
- # restoring original mean is likely not correct, but it seems to work well to prevent artifacts that happen otherwise
397
- batch_multipliers_of_same_length = [x + [1.0] * (75 - len(x)) for x in batch_multipliers]
398
- batch_multipliers = torch.asarray(batch_multipliers_of_same_length).to(self.device)
399
- original_mean = z.mean()
400
- z *= batch_multipliers.reshape(batch_multipliers.shape + (1,)).expand(z.shape)
401
- new_mean = z.mean()
402
- z *= original_mean / new_mean
403
-
404
- return z
405
-
406
- def forward(self, text):
407
- batch_multipliers, remade_batch_tokens, token_count = self.process_text(text)
408
-
409
- z = None
410
- i = 0
411
- while max(map(len, remade_batch_tokens)) != 0:
412
- rem_tokens = [x[75:] for x in remade_batch_tokens]
413
- rem_multipliers = [x[75:] for x in batch_multipliers]
414
-
415
- tokens = []
416
- multipliers = []
417
- for j in range(len(remade_batch_tokens)):
418
- if len(remade_batch_tokens[j]) > 0:
419
- tokens.append(remade_batch_tokens[j][:75])
420
- multipliers.append(batch_multipliers[j][:75])
421
- else:
422
- tokens.append([self.tokenizer.eos_token_id] * 75)
423
- multipliers.append([1.0] * 75)
424
-
425
- z1 = self.process_tokens(tokens, multipliers)
426
- z = z1 if z is None else torch.cat((z, z1), axis=-2)
427
-
428
- remade_batch_tokens = rem_tokens
429
- batch_multipliers = rem_multipliers
430
- i += 1
431
-
432
- return z
433
-
434
- def encode(self, text):
435
- return self(text)
436
-
437
-
438
-
439
- if __name__ == "__main__":
440
- model = FrozenCLIPEmbedder()
441
- count_params(model, verbose=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AkitoP/umamusume_bert_vits2/text/japanese_bert.py DELETED
@@ -1,87 +0,0 @@
1
- import torch
2
- from transformers import AutoTokenizer, AutoModelForMaskedLM
3
- import sys
4
- import os
5
- from text.japanese import text2sep_kata
6
- tokenizer = AutoTokenizer.from_pretrained("./bert/bert-base-japanese-v3")
7
-
8
- models = dict()
9
-
10
-
11
- def get_bert_feature(text, word2ph, device=None):
12
- sep_text,_ = text2sep_kata(text)
13
- sep_tokens = [tokenizer.tokenize(t) for t in sep_text]
14
- sep_ids = [tokenizer.convert_tokens_to_ids(t) for t in sep_tokens]
15
- sep_ids = [2]+[item for sublist in sep_ids for item in sublist]+[3]
16
- return get_bert_feature_with_token(sep_ids, word2ph, device)
17
-
18
-
19
- # def get_bert_feature(text, word2ph, device=None):
20
- # if (
21
- # sys.platform == "darwin"
22
- # and torch.backends.mps.is_available()
23
- # and device == "cpu"
24
- # ):
25
- # device = "mps"
26
- # if not device:
27
- # device = "cuda"
28
- # if device not in models.keys():
29
- # models[device] = AutoModelForMaskedLM.from_pretrained(
30
- # "cl-tohoku/bert-base-japanese-v3"
31
- # ).to(device)
32
- # with torch.no_grad():
33
- # inputs = tokenizer(text, return_tensors="pt")
34
- # for i in inputs:
35
- # inputs[i] = inputs[i].to(device)
36
- # res = models[device](**inputs, output_hidden_states=True)
37
- # res = torch.cat(res["hidden_states"][-3:-2], -1)[0].cpu()
38
- # assert inputs["input_ids"].shape[-1] == len(word2ph)
39
- # word2phone = word2ph
40
- # phone_level_feature = []
41
- # for i in range(len(word2phone)):
42
- # repeat_feature = res[i].repeat(word2phone[i], 1)
43
- # phone_level_feature.append(repeat_feature)
44
-
45
- # phone_level_feature = torch.cat(phone_level_feature, dim=0)
46
-
47
- # return phone_level_feature.T
48
-
49
- def get_bert_feature_with_token(tokens, word2ph, device=None):
50
- if (
51
- sys.platform == "darwin"
52
- and torch.backends.mps.is_available()
53
- and device == "cpu"
54
- ):
55
- device = "mps"
56
- if not device:
57
- device = "cuda"
58
- if device not in models.keys():
59
- models[device] = AutoModelForMaskedLM.from_pretrained(
60
- "./bert/bert-base-japanese-v3"
61
- ).to(device)
62
- with torch.no_grad():
63
- inputs = torch.tensor(tokens).to(device).unsqueeze(0)
64
- token_type_ids = torch.zeros_like(inputs).to(device)
65
- attention_mask = torch.ones_like(inputs).to(device)
66
- inputs = {"input_ids": inputs, "token_type_ids": token_type_ids, "attention_mask": attention_mask}
67
-
68
-
69
- # for i in inputs:
70
- # inputs[i] = inputs[i].to(device)
71
- res = models[device](**inputs, output_hidden_states=True)
72
- res = torch.cat(res["hidden_states"][-3:-2], -1)[0].cpu()
73
- assert inputs["input_ids"].shape[-1] == len(word2ph)
74
- word2phone = word2ph
75
- phone_level_feature = []
76
- for i in range(len(word2phone)):
77
- repeat_feature = res[i].repeat(word2phone[i], 1)
78
- phone_level_feature.append(repeat_feature)
79
-
80
- phone_level_feature = torch.cat(phone_level_feature, dim=0)
81
-
82
- return phone_level_feature.T
83
-
84
-
85
- if __name__ == "__main__":
86
- print(get_bert_feature("観覧車",[4,2]))
87
- pass
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AlekseyKorshuk/gai-project/modules/utils.py DELETED
@@ -1,35 +0,0 @@
1
- import os
2
- import json
3
-
4
- import config
5
-
6
-
7
- def get_bot_config(bot_name):
8
- folder = os.path.join(config.RESOURCE_DIR, 'bot_configs')
9
- path = os.path.join(folder, f'{bot_name}.json')
10
- return load_json(path)
11
-
12
-
13
- def get_bot_names():
14
- folder = os.path.join(config.RESOURCE_DIR, 'bot_configs')
15
- out = [name.split('.json')[0] for name in os.listdir(folder)]
16
- return out
17
-
18
-
19
- def load_json(path):
20
- with open(path, 'r') as f:
21
- return json.load(f)
22
-
23
-
24
- def get_bot_picture_html(bot_config):
25
- model_html = f"""
26
- <div class="inline-flex flex-col" style="line-height: 1.5;">
27
- <div class="flex">
28
- <div
29
- \t\t\tstyle="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; background-size: cover; background-image: url(&#39;{bot_config['imageUrl']}&#39;)">
30
- </div>
31
- </div>
32
- <div style="text-align: center; font-size: 16px; font-weight: 800">{bot_config['name']}</div>
33
- </div>
34
- """
35
- return model_html
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Alfasign/dIFFU/index.html DELETED
@@ -1,16 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="twitter:card" content="player"/>
6
- <meta name="twitter:site" content=""/>
7
- <meta name="twitter:player" content="https://omnibus-maximum-multiplier-places.hf.space"/>
8
- <meta name="twitter:player:stream" content="https://omnibus-maximum-multiplier-places.hf.space"/>
9
- <meta name="twitter:player:width" content="100%"/>
10
- <meta name="twitter:player:height" content="600"/>
11
- <meta property="og:title" content="Embedded Live Viewer"/>
12
- <meta property="og:description" content="Tweet Genie - A Huggingface Space"/>
13
- <meta property="og:image" content="https://cdn.glitch.global/80dbe92e-ce75-44af-84d5-74a2e21e9e55/omnicard.png?v=1676772531627"/>
14
- <!--<meta http-equiv="refresh" content="0; url=https://huggingface.co/spaces/corbt/tweet-genie">-->
15
- </head>
16
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/An-619/FastSAM/app_gradio.py DELETED
@@ -1,374 +0,0 @@
1
- from ultralytics import YOLO
2
- import gradio as gr
3
- import torch
4
- from utils.tools_gradio import fast_process
5
- from utils.tools import format_results, box_prompt, point_prompt, text_prompt
6
- from PIL import ImageDraw
7
- import numpy as np
8
-
9
- # Load the pre-trained model
10
- model = YOLO('./weights/FastSAM.pt')
11
-
12
- device = torch.device(
13
- "cuda"
14
- if torch.cuda.is_available()
15
- else "mps"
16
- if torch.backends.mps.is_available()
17
- else "cpu"
18
- )
19
-
20
- # Description
21
- title = "<center><strong><font size='8'>🏃 Fast Segment Anything 🤗</font></strong></center>"
22
-
23
- news = """ # 📖 News
24
- 🔥 2023/07/14: Add a "wider result" button in text mode (Thanks for [gaoxinge](https://github.com/CASIA-IVA-Lab/FastSAM/pull/95)).
25
-
26
- 🔥 2023/06/29: Support the text mode (Thanks for [gaoxinge](https://github.com/CASIA-IVA-Lab/FastSAM/pull/47)).
27
-
28
- 🔥 2023/06/26: Support the points mode. (Better and faster interaction will come soon!)
29
-
30
- 🔥 2023/06/24: Add the 'Advanced options" in Everything mode to get a more detailed adjustment.
31
- """
32
-
33
- description_e = """This is a demo on Github project 🏃 [Fast Segment Anything Model](https://github.com/CASIA-IVA-Lab/FastSAM). Welcome to give a star ⭐️ to it.
34
-
35
- 🎯 Upload an Image, segment it with Fast Segment Anything (Everything mode). The other modes will come soon.
36
-
37
- ⌛️ It takes about 6~ seconds to generate segment results. The concurrency_count of queue is 1, please wait for a moment when it is crowded.
38
-
39
- 🚀 To get faster results, you can use a smaller input size and leave high_visual_quality unchecked.
40
-
41
- 📣 You can also obtain the segmentation results of any Image through this Colab: [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1oX14f6IneGGw612WgVlAiy91UHwFAvr9?usp=sharing)
42
-
43
- 😚 A huge thanks goes out to the @HuggingFace Team for supporting us with GPU grant.
44
-
45
- 🏠 Check out our [Model Card 🏃](https://huggingface.co/An-619/FastSAM)
46
-
47
- """
48
-
49
- description_p = """ # 🎯 Instructions for points mode
50
- This is a demo on Github project 🏃 [Fast Segment Anything Model](https://github.com/CASIA-IVA-Lab/FastSAM). Welcome to give a star ⭐️ to it.
51
-
52
- 1. Upload an image or choose an example.
53
-
54
- 2. Choose the point label ('Add mask' means a positive point. 'Remove' Area means a negative point that is not segmented).
55
-
56
- 3. Add points one by one on the image.
57
-
58
- 4. Click the 'Segment with points prompt' button to get the segmentation results.
59
-
60
- **5. If you get Error, click the 'Clear points' button and try again may help.**
61
-
62
- """
63
-
64
- examples = [["examples/sa_8776.jpg"], ["examples/sa_414.jpg"], ["examples/sa_1309.jpg"], ["examples/sa_11025.jpg"],
65
- ["examples/sa_561.jpg"], ["examples/sa_192.jpg"], ["examples/sa_10039.jpg"], ["examples/sa_862.jpg"]]
66
-
67
- default_example = examples[0]
68
-
69
- css = "h1 { text-align: center } .about { text-align: justify; padding-left: 10%; padding-right: 10%; }"
70
-
71
-
72
- def segment_everything(
73
- input,
74
- input_size=1024,
75
- iou_threshold=0.7,
76
- conf_threshold=0.25,
77
- better_quality=False,
78
- withContours=True,
79
- use_retina=True,
80
- text="",
81
- wider=False,
82
- mask_random_color=True,
83
- ):
84
- input_size = int(input_size) # 确保 imgsz 是整数
85
- # Thanks for the suggestion by hysts in HuggingFace.
86
- w, h = input.size
87
- scale = input_size / max(w, h)
88
- new_w = int(w * scale)
89
- new_h = int(h * scale)
90
- input = input.resize((new_w, new_h))
91
-
92
- results = model(input,
93
- device=device,
94
- retina_masks=True,
95
- iou=iou_threshold,
96
- conf=conf_threshold,
97
- imgsz=input_size,)
98
-
99
- if len(text) > 0:
100
- results = format_results(results[0], 0)
101
- annotations, _ = text_prompt(results, text, input, device=device, wider=wider)
102
- annotations = np.array([annotations])
103
- else:
104
- annotations = results[0].masks.data
105
-
106
- fig = fast_process(annotations=annotations,
107
- image=input,
108
- device=device,
109
- scale=(1024 // input_size),
110
- better_quality=better_quality,
111
- mask_random_color=mask_random_color,
112
- bbox=None,
113
- use_retina=use_retina,
114
- withContours=withContours,)
115
- return fig
116
-
117
-
118
- def segment_with_points(
119
- input,
120
- input_size=1024,
121
- iou_threshold=0.7,
122
- conf_threshold=0.25,
123
- better_quality=False,
124
- withContours=True,
125
- use_retina=True,
126
- mask_random_color=True,
127
- ):
128
- global global_points
129
- global global_point_label
130
-
131
- input_size = int(input_size) # 确保 imgsz 是整数
132
- # Thanks for the suggestion by hysts in HuggingFace.
133
- w, h = input.size
134
- scale = input_size / max(w, h)
135
- new_w = int(w * scale)
136
- new_h = int(h * scale)
137
- input = input.resize((new_w, new_h))
138
-
139
- scaled_points = [[int(x * scale) for x in point] for point in global_points]
140
-
141
- results = model(input,
142
- device=device,
143
- retina_masks=True,
144
- iou=iou_threshold,
145
- conf=conf_threshold,
146
- imgsz=input_size,)
147
-
148
- results = format_results(results[0], 0)
149
- annotations, _ = point_prompt(results, scaled_points, global_point_label, new_h, new_w)
150
- annotations = np.array([annotations])
151
-
152
- fig = fast_process(annotations=annotations,
153
- image=input,
154
- device=device,
155
- scale=(1024 // input_size),
156
- better_quality=better_quality,
157
- mask_random_color=mask_random_color,
158
- bbox=None,
159
- use_retina=use_retina,
160
- withContours=withContours,)
161
-
162
- global_points = []
163
- global_point_label = []
164
- return fig, None
165
-
166
-
167
- def get_points_with_draw(image, label, evt: gr.SelectData):
168
- global global_points
169
- global global_point_label
170
-
171
- x, y = evt.index[0], evt.index[1]
172
- point_radius, point_color = 15, (255, 255, 0) if label == 'Add Mask' else (255, 0, 255)
173
- global_points.append([x, y])
174
- global_point_label.append(1 if label == 'Add Mask' else 0)
175
-
176
- print(x, y, label == 'Add Mask')
177
-
178
- # 创建一个可以在图像上绘图的对象
179
- draw = ImageDraw.Draw(image)
180
- draw.ellipse([(x - point_radius, y - point_radius), (x + point_radius, y + point_radius)], fill=point_color)
181
- return image
182
-
183
-
184
- cond_img_e = gr.Image(label="Input", value=default_example[0], type='pil')
185
- cond_img_p = gr.Image(label="Input with points", value=default_example[0], type='pil')
186
- cond_img_t = gr.Image(label="Input with text", value="examples/dogs.jpg", type='pil')
187
-
188
- segm_img_e = gr.Image(label="Segmented Image", interactive=False, type='pil')
189
- segm_img_p = gr.Image(label="Segmented Image with points", interactive=False, type='pil')
190
- segm_img_t = gr.Image(label="Segmented Image with text", interactive=False, type='pil')
191
-
192
- global_points = []
193
- global_point_label = []
194
-
195
- input_size_slider = gr.components.Slider(minimum=512,
196
- maximum=1024,
197
- value=1024,
198
- step=64,
199
- label='Input_size',
200
- info='Our model was trained on a size of 1024')
201
-
202
- with gr.Blocks(css=css, title='Fast Segment Anything') as demo:
203
- with gr.Row():
204
- with gr.Column(scale=1):
205
- # Title
206
- gr.Markdown(title)
207
-
208
- with gr.Column(scale=1):
209
- # News
210
- gr.Markdown(news)
211
-
212
- with gr.Tab("Everything mode"):
213
- # Images
214
- with gr.Row(variant="panel"):
215
- with gr.Column(scale=1):
216
- cond_img_e.render()
217
-
218
- with gr.Column(scale=1):
219
- segm_img_e.render()
220
-
221
- # Submit & Clear
222
- with gr.Row():
223
- with gr.Column():
224
- input_size_slider.render()
225
-
226
- with gr.Row():
227
- contour_check = gr.Checkbox(value=True, label='withContours', info='draw the edges of the masks')
228
-
229
- with gr.Column():
230
- segment_btn_e = gr.Button("Segment Everything", variant='primary')
231
- clear_btn_e = gr.Button("Clear", variant="secondary")
232
-
233
- gr.Markdown("Try some of the examples below ⬇️")
234
- gr.Examples(examples=examples,
235
- inputs=[cond_img_e],
236
- outputs=segm_img_e,
237
- fn=segment_everything,
238
- cache_examples=True,
239
- examples_per_page=4)
240
-
241
- with gr.Column():
242
- with gr.Accordion("Advanced options", open=False):
243
- iou_threshold = gr.Slider(0.1, 0.9, 0.7, step=0.1, label='iou', info='iou threshold for filtering the annotations')
244
- conf_threshold = gr.Slider(0.1, 0.9, 0.25, step=0.05, label='conf', info='object confidence threshold')
245
- with gr.Row():
246
- mor_check = gr.Checkbox(value=False, label='better_visual_quality', info='better quality using morphologyEx')
247
- with gr.Column():
248
- retina_check = gr.Checkbox(value=True, label='use_retina', info='draw high-resolution segmentation masks')
249
-
250
- # Description
251
- gr.Markdown(description_e)
252
-
253
- segment_btn_e.click(segment_everything,
254
- inputs=[
255
- cond_img_e,
256
- input_size_slider,
257
- iou_threshold,
258
- conf_threshold,
259
- mor_check,
260
- contour_check,
261
- retina_check,
262
- ],
263
- outputs=segm_img_e)
264
-
265
- with gr.Tab("Points mode"):
266
- # Images
267
- with gr.Row(variant="panel"):
268
- with gr.Column(scale=1):
269
- cond_img_p.render()
270
-
271
- with gr.Column(scale=1):
272
- segm_img_p.render()
273
-
274
- # Submit & Clear
275
- with gr.Row():
276
- with gr.Column():
277
- with gr.Row():
278
- add_or_remove = gr.Radio(["Add Mask", "Remove Area"], value="Add Mask", label="Point_label (foreground/background)")
279
-
280
- with gr.Column():
281
- segment_btn_p = gr.Button("Segment with points prompt", variant='primary')
282
- clear_btn_p = gr.Button("Clear points", variant='secondary')
283
-
284
- gr.Markdown("Try some of the examples below ⬇️")
285
- gr.Examples(examples=examples,
286
- inputs=[cond_img_p],
287
- # outputs=segm_img_p,
288
- # fn=segment_with_points,
289
- # cache_examples=True,
290
- examples_per_page=4)
291
-
292
- with gr.Column():
293
- # Description
294
- gr.Markdown(description_p)
295
-
296
- cond_img_p.select(get_points_with_draw, [cond_img_p, add_or_remove], cond_img_p)
297
-
298
- segment_btn_p.click(segment_with_points,
299
- inputs=[cond_img_p],
300
- outputs=[segm_img_p, cond_img_p])
301
-
302
- with gr.Tab("Text mode"):
303
- # Images
304
- with gr.Row(variant="panel"):
305
- with gr.Column(scale=1):
306
- cond_img_t.render()
307
-
308
- with gr.Column(scale=1):
309
- segm_img_t.render()
310
-
311
- # Submit & Clear
312
- with gr.Row():
313
- with gr.Column():
314
- input_size_slider_t = gr.components.Slider(minimum=512,
315
- maximum=1024,
316
- value=1024,
317
- step=64,
318
- label='Input_size',
319
- info='Our model was trained on a size of 1024')
320
- with gr.Row():
321
- with gr.Column():
322
- contour_check = gr.Checkbox(value=True, label='withContours', info='draw the edges of the masks')
323
- text_box = gr.Textbox(label="text prompt", value="a black dog")
324
-
325
- with gr.Column():
326
- segment_btn_t = gr.Button("Segment with text", variant='primary')
327
- clear_btn_t = gr.Button("Clear", variant="secondary")
328
-
329
- gr.Markdown("Try some of the examples below ⬇️")
330
- gr.Examples(examples=[["examples/dogs.jpg"], ["examples/fruits.jpg"], ["examples/flowers.jpg"]],
331
- inputs=[cond_img_t],
332
- # outputs=segm_img_e,
333
- # fn=segment_everything,
334
- # cache_examples=True,
335
- examples_per_page=4)
336
-
337
- with gr.Column():
338
- with gr.Accordion("Advanced options", open=False):
339
- iou_threshold = gr.Slider(0.1, 0.9, 0.7, step=0.1, label='iou', info='iou threshold for filtering the annotations')
340
- conf_threshold = gr.Slider(0.1, 0.9, 0.25, step=0.05, label='conf', info='object confidence threshold')
341
- with gr.Row():
342
- mor_check = gr.Checkbox(value=False, label='better_visual_quality', info='better quality using morphologyEx')
343
- retina_check = gr.Checkbox(value=True, label='use_retina', info='draw high-resolution segmentation masks')
344
- wider_check = gr.Checkbox(value=False, label='wider', info='wider result')
345
-
346
- # Description
347
- gr.Markdown(description_e)
348
-
349
- segment_btn_t.click(segment_everything,
350
- inputs=[
351
- cond_img_t,
352
- input_size_slider_t,
353
- iou_threshold,
354
- conf_threshold,
355
- mor_check,
356
- contour_check,
357
- retina_check,
358
- text_box,
359
- wider_check,
360
- ],
361
- outputs=segm_img_t)
362
-
363
- def clear():
364
- return None, None
365
-
366
- def clear_text():
367
- return None, None, None
368
-
369
- clear_btn_e.click(clear, outputs=[cond_img_e, segm_img_e])
370
- clear_btn_p.click(clear, outputs=[cond_img_p, segm_img_p])
371
- clear_btn_t.click(clear_text, outputs=[cond_img_p, segm_img_p, text_box])
372
-
373
- demo.queue()
374
- demo.launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Androidonnxfork/CivitAi-to-Diffusers/diffusers/docs/source/en/conceptual/ethical_guidelines.md DELETED
@@ -1,51 +0,0 @@
1
- # 🧨 Diffusers’ Ethical Guidelines
2
-
3
- ## Preamble
4
-
5
- [Diffusers](https://huggingface.co/docs/diffusers/index) provides pre-trained diffusion models and serves as a modular toolbox for inference and training.
6
-
7
- Given its real case applications in the world and potential negative impacts on society, we think it is important to provide the project with ethical guidelines to guide the development, users’ contributions, and usage of the Diffusers library.
8
-
9
- The risks associated with using this technology are still being examined, but to name a few: copyrights issues for artists; deep-fake exploitation; sexual content generation in inappropriate contexts; non-consensual impersonation; harmful social biases perpetuating the oppression of marginalized groups.
10
- We will keep tracking risks and adapt the following guidelines based on the community's responsiveness and valuable feedback.
11
-
12
-
13
- ## Scope
14
-
15
- The Diffusers community will apply the following ethical guidelines to the project’s development and help coordinate how the community will integrate the contributions, especially concerning sensitive topics related to ethical concerns.
16
-
17
-
18
- ## Ethical guidelines
19
-
20
- The following ethical guidelines apply generally, but we will primarily implement them when dealing with ethically sensitive issues while making a technical choice. Furthermore, we commit to adapting those ethical principles over time following emerging harms related to the state of the art of the technology in question.
21
-
22
- - **Transparency**: we are committed to being transparent in managing PRs, explaining our choices to users, and making technical decisions.
23
-
24
- - **Consistency**: we are committed to guaranteeing our users the same level of attention in project management, keeping it technically stable and consistent.
25
-
26
- - **Simplicity**: with a desire to make it easy to use and exploit the Diffusers library, we are committed to keeping the project’s goals lean and coherent.
27
-
28
- - **Accessibility**: the Diffusers project helps lower the entry bar for contributors who can help run it even without technical expertise. Doing so makes research artifacts more accessible to the community.
29
-
30
- - **Reproducibility**: we aim to be transparent about the reproducibility of upstream code, models, and datasets when made available through the Diffusers library.
31
-
32
- - **Responsibility**: as a community and through teamwork, we hold a collective responsibility to our users by anticipating and mitigating this technology's potential risks and dangers.
33
-
34
-
35
- ## Examples of implementations: Safety features and Mechanisms
36
-
37
- The team works daily to make the technical and non-technical tools available to deal with the potential ethical and social risks associated with diffusion technology. Moreover, the community's input is invaluable in ensuring these features' implementation and raising awareness with us.
38
-
39
- - [**Community tab**](https://huggingface.co/docs/hub/repositories-pull-requests-discussions): it enables the community to discuss and better collaborate on a project.
40
-
41
- - **Bias exploration and evaluation**: the Hugging Face team provides a [space](https://huggingface.co/spaces/society-ethics/DiffusionBiasExplorer) to demonstrate the biases in Stable Diffusion interactively. In this sense, we support and encourage bias explorers and evaluations.
42
-
43
- - **Encouraging safety in deployment**
44
-
45
- - [**Safe Stable Diffusion**](https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion_safe): It mitigates the well-known issue that models, like Stable Diffusion, that are trained on unfiltered, web-crawled datasets tend to suffer from inappropriate degeneration. Related paper: [Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models](https://arxiv.org/abs/2211.05105).
46
-
47
- - [**Safety Checker**](https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/safety_checker.py): It checks and compares the class probability of a set of hard-coded harmful concepts in the embedding space against an image after it has been generated. The harmful concepts are intentionally hidden to prevent reverse engineering of the checker.
48
-
49
- - **Staged released on the Hub**: in particularly sensitive situations, access to some repositories should be restricted. This staged release is an intermediary step that allows the repository’s authors to have more control over its use.
50
-
51
- - **Licensing**: [OpenRAILs](https://huggingface.co/blog/open_rail), a new type of licensing, allow us to ensure free access while having a set of restrictions that ensure more responsible use.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Androidonnxfork/CivitAi-to-Diffusers/hf_utils.py DELETED
@@ -1,50 +0,0 @@
1
- from huggingface_hub import get_hf_file_metadata, hf_hub_url, hf_hub_download, scan_cache_dir, whoami, list_models
2
-
3
-
4
- def get_my_model_names(token):
5
-
6
- try:
7
- author = whoami(token=token)
8
- model_infos = list_models(author=author["name"], use_auth_token=token)
9
- return [model.modelId for model in model_infos], None
10
-
11
- except Exception as e:
12
- return [], e
13
-
14
- def download_file(repo_id: str, filename: str, token: str):
15
- """Download a file from a repo on the Hugging Face Hub.
16
-
17
- Returns:
18
- file_path (:obj:`str`): The path to the downloaded file.
19
- revision (:obj:`str`): The commit hash of the file.
20
- """
21
-
22
- md = get_hf_file_metadata(hf_hub_url(repo_id=repo_id, filename=filename), token=token)
23
- revision = md.commit_hash
24
-
25
- file_path = hf_hub_download(repo_id=repo_id, filename=filename, revision=revision, token=token)
26
-
27
- return file_path, revision
28
-
29
- def delete_file(revision: str):
30
- """Delete a file from local cache.
31
-
32
- Args:
33
- revision (:obj:`str`): The commit hash of the file.
34
- Returns:
35
- None
36
- """
37
- scan_cache_dir().delete_revisions(revision).execute()
38
-
39
- def get_pr_url(api, repo_id, title):
40
- try:
41
- discussions = api.get_repo_discussions(repo_id=repo_id)
42
- except Exception:
43
- return None
44
- for discussion in discussions:
45
- if (
46
- discussion.status == "open"
47
- and discussion.is_pull_request
48
- and discussion.title == title
49
- ):
50
- return f"https://huggingface.co/{repo_id}/discussions/{discussion.num}"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_detection/configs/mask_rcnn/mask_rcnn_r50_caffe_fpn_1x_coco.py DELETED
@@ -1,36 +0,0 @@
1
- _base_ = './mask_rcnn_r50_fpn_1x_coco.py'
2
- model = dict(
3
- pretrained='open-mmlab://detectron2/resnet50_caffe',
4
- backbone=dict(norm_cfg=dict(requires_grad=False), style='caffe'))
5
- # use caffe img_norm
6
- img_norm_cfg = dict(
7
- mean=[103.530, 116.280, 123.675], std=[1.0, 1.0, 1.0], to_rgb=False)
8
- train_pipeline = [
9
- dict(type='LoadImageFromFile'),
10
- dict(type='LoadAnnotations', with_bbox=True, with_mask=True),
11
- dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
12
- dict(type='RandomFlip', flip_ratio=0.5),
13
- dict(type='Normalize', **img_norm_cfg),
14
- dict(type='Pad', size_divisor=32),
15
- dict(type='DefaultFormatBundle'),
16
- dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels', 'gt_masks']),
17
- ]
18
- test_pipeline = [
19
- dict(type='LoadImageFromFile'),
20
- dict(
21
- type='MultiScaleFlipAug',
22
- img_scale=(1333, 800),
23
- flip=False,
24
- transforms=[
25
- dict(type='Resize', keep_ratio=True),
26
- dict(type='RandomFlip'),
27
- dict(type='Normalize', **img_norm_cfg),
28
- dict(type='Pad', size_divisor=32),
29
- dict(type='ImageToTensor', keys=['img']),
30
- dict(type='Collect', keys=['img']),
31
- ])
32
- ]
33
- data = dict(
34
- train=dict(pipeline=train_pipeline),
35
- val=dict(pipeline=test_pipeline),
36
- test=dict(pipeline=test_pipeline))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_detection/mmdet/models/losses/mse_loss.py DELETED
@@ -1,49 +0,0 @@
1
- import torch.nn as nn
2
- import torch.nn.functional as F
3
-
4
- from ..builder import LOSSES
5
- from .utils import weighted_loss
6
-
7
-
8
- @weighted_loss
9
- def mse_loss(pred, target):
10
- """Warpper of mse loss."""
11
- return F.mse_loss(pred, target, reduction='none')
12
-
13
-
14
- @LOSSES.register_module()
15
- class MSELoss(nn.Module):
16
- """MSELoss.
17
-
18
- Args:
19
- reduction (str, optional): The method that reduces the loss to a
20
- scalar. Options are "none", "mean" and "sum".
21
- loss_weight (float, optional): The weight of the loss. Defaults to 1.0
22
- """
23
-
24
- def __init__(self, reduction='mean', loss_weight=1.0):
25
- super().__init__()
26
- self.reduction = reduction
27
- self.loss_weight = loss_weight
28
-
29
- def forward(self, pred, target, weight=None, avg_factor=None):
30
- """Forward function of loss.
31
-
32
- Args:
33
- pred (torch.Tensor): The prediction.
34
- target (torch.Tensor): The learning target of the prediction.
35
- weight (torch.Tensor, optional): Weight of the loss for each
36
- prediction. Defaults to None.
37
- avg_factor (int, optional): Average factor that is used to average
38
- the loss. Defaults to None.
39
-
40
- Returns:
41
- torch.Tensor: The calculated loss
42
- """
43
- loss = self.loss_weight * mse_loss(
44
- pred,
45
- target,
46
- weight,
47
- reduction=self.reduction,
48
- avg_factor=avg_factor)
49
- return loss
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Andy1621/uniformer_image_detection/mmdet/models/roi_heads/mask_heads/fused_semantic_head.py DELETED
@@ -1,107 +0,0 @@
1
- import torch.nn as nn
2
- import torch.nn.functional as F
3
- from mmcv.cnn import ConvModule, kaiming_init
4
- from mmcv.runner import auto_fp16, force_fp32
5
-
6
- from mmdet.models.builder import HEADS
7
-
8
-
9
- @HEADS.register_module()
10
- class FusedSemanticHead(nn.Module):
11
- r"""Multi-level fused semantic segmentation head.
12
-
13
- .. code-block:: none
14
-
15
- in_1 -> 1x1 conv ---
16
- |
17
- in_2 -> 1x1 conv -- |
18
- ||
19
- in_3 -> 1x1 conv - ||
20
- ||| /-> 1x1 conv (mask prediction)
21
- in_4 -> 1x1 conv -----> 3x3 convs (*4)
22
- | \-> 1x1 conv (feature)
23
- in_5 -> 1x1 conv ---
24
- """ # noqa: W605
25
-
26
- def __init__(self,
27
- num_ins,
28
- fusion_level,
29
- num_convs=4,
30
- in_channels=256,
31
- conv_out_channels=256,
32
- num_classes=183,
33
- ignore_label=255,
34
- loss_weight=0.2,
35
- conv_cfg=None,
36
- norm_cfg=None):
37
- super(FusedSemanticHead, self).__init__()
38
- self.num_ins = num_ins
39
- self.fusion_level = fusion_level
40
- self.num_convs = num_convs
41
- self.in_channels = in_channels
42
- self.conv_out_channels = conv_out_channels
43
- self.num_classes = num_classes
44
- self.ignore_label = ignore_label
45
- self.loss_weight = loss_weight
46
- self.conv_cfg = conv_cfg
47
- self.norm_cfg = norm_cfg
48
- self.fp16_enabled = False
49
-
50
- self.lateral_convs = nn.ModuleList()
51
- for i in range(self.num_ins):
52
- self.lateral_convs.append(
53
- ConvModule(
54
- self.in_channels,
55
- self.in_channels,
56
- 1,
57
- conv_cfg=self.conv_cfg,
58
- norm_cfg=self.norm_cfg,
59
- inplace=False))
60
-
61
- self.convs = nn.ModuleList()
62
- for i in range(self.num_convs):
63
- in_channels = self.in_channels if i == 0 else conv_out_channels
64
- self.convs.append(
65
- ConvModule(
66
- in_channels,
67
- conv_out_channels,
68
- 3,
69
- padding=1,
70
- conv_cfg=self.conv_cfg,
71
- norm_cfg=self.norm_cfg))
72
- self.conv_embedding = ConvModule(
73
- conv_out_channels,
74
- conv_out_channels,
75
- 1,
76
- conv_cfg=self.conv_cfg,
77
- norm_cfg=self.norm_cfg)
78
- self.conv_logits = nn.Conv2d(conv_out_channels, self.num_classes, 1)
79
-
80
- self.criterion = nn.CrossEntropyLoss(ignore_index=ignore_label)
81
-
82
- def init_weights(self):
83
- kaiming_init(self.conv_logits)
84
-
85
- @auto_fp16()
86
- def forward(self, feats):
87
- x = self.lateral_convs[self.fusion_level](feats[self.fusion_level])
88
- fused_size = tuple(x.shape[-2:])
89
- for i, feat in enumerate(feats):
90
- if i != self.fusion_level:
91
- feat = F.interpolate(
92
- feat, size=fused_size, mode='bilinear', align_corners=True)
93
- x += self.lateral_convs[i](feat)
94
-
95
- for i in range(self.num_convs):
96
- x = self.convs[i](x)
97
-
98
- mask_pred = self.conv_logits(x)
99
- x = self.conv_embedding(x)
100
- return mask_pred, x
101
-
102
- @force_fp32(apply_to=('mask_pred', ))
103
- def loss(self, mask_pred, labels):
104
- labels = labels.squeeze(1).long()
105
- loss_semantic_seg = self.criterion(mask_pred, labels)
106
- loss_semantic_seg *= self.loss_weight
107
- return loss_semantic_seg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AnishKumbhar/ChatBot/text-generation-webui-main/extensions/Training_PRO/matplotgraph.py DELETED
@@ -1,62 +0,0 @@
1
- import os
2
- import json
3
-
4
- def create_graph(lora_path, lora_name):
5
- try:
6
- import matplotlib.pyplot as plt
7
- from matplotlib.ticker import ScalarFormatter
8
-
9
- peft_model_path = f'{lora_path}/training_graph.json'
10
- image_model_path = f'{lora_path}/training_graph.png'
11
- # Check if the JSON file exists
12
- if os.path.exists(peft_model_path):
13
- # Load data from JSON file
14
- with open(peft_model_path, 'r') as file:
15
- data = json.load(file)
16
- # Extract x, y1, and y2 values
17
- x = [item['epoch'] for item in data]
18
- y1 = [item['learning_rate'] for item in data]
19
- y2 = [item['loss'] for item in data]
20
-
21
- # Create the line chart
22
- fig, ax1 = plt.subplots(figsize=(10, 6))
23
-
24
-
25
- # Plot y1 (learning rate) on the first y-axis
26
- ax1.plot(x, y1, 'b-', label='Learning Rate')
27
- ax1.set_xlabel('Epoch')
28
- ax1.set_ylabel('Learning Rate', color='b')
29
- ax1.tick_params('y', colors='b')
30
-
31
- # Create a second y-axis
32
- ax2 = ax1.twinx()
33
-
34
- # Plot y2 (loss) on the second y-axis
35
- ax2.plot(x, y2, 'r-', label='Loss')
36
- ax2.set_ylabel('Loss', color='r')
37
- ax2.tick_params('y', colors='r')
38
-
39
- # Set the y-axis formatter to display numbers in scientific notation
40
- ax1.yaxis.set_major_formatter(ScalarFormatter(useMathText=True))
41
- ax1.ticklabel_format(style='sci', axis='y', scilimits=(0,0))
42
-
43
- # Add grid
44
- ax1.grid(True)
45
-
46
- # Combine the legends for both plots
47
- lines, labels = ax1.get_legend_handles_labels()
48
- lines2, labels2 = ax2.get_legend_handles_labels()
49
- ax2.legend(lines + lines2, labels + labels2, loc='best')
50
-
51
- # Set the title
52
- plt.title(f'{lora_name} LR and Loss vs Epoch')
53
-
54
- # Save the chart as an image
55
- plt.savefig(image_model_path)
56
-
57
- print(f"Graph saved in {image_model_path}")
58
- else:
59
- print(f"File 'training_graph.json' does not exist in the {lora_path}")
60
-
61
- except ImportError:
62
- print("matplotlib is not installed. Please install matplotlib to create PNG graphs")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Anonymous-sub/Rerender/ControlNet/annotator/midas/midas/midas_net_custom.py DELETED
@@ -1,128 +0,0 @@
1
- """MidashNet: Network for monocular depth estimation trained by mixing several datasets.
2
- This file contains code that is adapted from
3
- https://github.com/thomasjpfan/pytorch_refinenet/blob/master/pytorch_refinenet/refinenet/refinenet_4cascade.py
4
- """
5
- import torch
6
- import torch.nn as nn
7
-
8
- from .base_model import BaseModel
9
- from .blocks import FeatureFusionBlock, FeatureFusionBlock_custom, Interpolate, _make_encoder
10
-
11
-
12
- class MidasNet_small(BaseModel):
13
- """Network for monocular depth estimation.
14
- """
15
-
16
- def __init__(self, path=None, features=64, backbone="efficientnet_lite3", non_negative=True, exportable=True, channels_last=False, align_corners=True,
17
- blocks={'expand': True}):
18
- """Init.
19
-
20
- Args:
21
- path (str, optional): Path to saved model. Defaults to None.
22
- features (int, optional): Number of features. Defaults to 256.
23
- backbone (str, optional): Backbone network for encoder. Defaults to resnet50
24
- """
25
- print("Loading weights: ", path)
26
-
27
- super(MidasNet_small, self).__init__()
28
-
29
- use_pretrained = False if path else True
30
-
31
- self.channels_last = channels_last
32
- self.blocks = blocks
33
- self.backbone = backbone
34
-
35
- self.groups = 1
36
-
37
- features1=features
38
- features2=features
39
- features3=features
40
- features4=features
41
- self.expand = False
42
- if "expand" in self.blocks and self.blocks['expand'] == True:
43
- self.expand = True
44
- features1=features
45
- features2=features*2
46
- features3=features*4
47
- features4=features*8
48
-
49
- self.pretrained, self.scratch = _make_encoder(self.backbone, features, use_pretrained, groups=self.groups, expand=self.expand, exportable=exportable)
50
-
51
- self.scratch.activation = nn.ReLU(False)
52
-
53
- self.scratch.refinenet4 = FeatureFusionBlock_custom(features4, self.scratch.activation, deconv=False, bn=False, expand=self.expand, align_corners=align_corners)
54
- self.scratch.refinenet3 = FeatureFusionBlock_custom(features3, self.scratch.activation, deconv=False, bn=False, expand=self.expand, align_corners=align_corners)
55
- self.scratch.refinenet2 = FeatureFusionBlock_custom(features2, self.scratch.activation, deconv=False, bn=False, expand=self.expand, align_corners=align_corners)
56
- self.scratch.refinenet1 = FeatureFusionBlock_custom(features1, self.scratch.activation, deconv=False, bn=False, align_corners=align_corners)
57
-
58
-
59
- self.scratch.output_conv = nn.Sequential(
60
- nn.Conv2d(features, features//2, kernel_size=3, stride=1, padding=1, groups=self.groups),
61
- Interpolate(scale_factor=2, mode="bilinear"),
62
- nn.Conv2d(features//2, 32, kernel_size=3, stride=1, padding=1),
63
- self.scratch.activation,
64
- nn.Conv2d(32, 1, kernel_size=1, stride=1, padding=0),
65
- nn.ReLU(True) if non_negative else nn.Identity(),
66
- nn.Identity(),
67
- )
68
-
69
- if path:
70
- self.load(path)
71
-
72
-
73
- def forward(self, x):
74
- """Forward pass.
75
-
76
- Args:
77
- x (tensor): input data (image)
78
-
79
- Returns:
80
- tensor: depth
81
- """
82
- if self.channels_last==True:
83
- print("self.channels_last = ", self.channels_last)
84
- x.contiguous(memory_format=torch.channels_last)
85
-
86
-
87
- layer_1 = self.pretrained.layer1(x)
88
- layer_2 = self.pretrained.layer2(layer_1)
89
- layer_3 = self.pretrained.layer3(layer_2)
90
- layer_4 = self.pretrained.layer4(layer_3)
91
-
92
- layer_1_rn = self.scratch.layer1_rn(layer_1)
93
- layer_2_rn = self.scratch.layer2_rn(layer_2)
94
- layer_3_rn = self.scratch.layer3_rn(layer_3)
95
- layer_4_rn = self.scratch.layer4_rn(layer_4)
96
-
97
-
98
- path_4 = self.scratch.refinenet4(layer_4_rn)
99
- path_3 = self.scratch.refinenet3(path_4, layer_3_rn)
100
- path_2 = self.scratch.refinenet2(path_3, layer_2_rn)
101
- path_1 = self.scratch.refinenet1(path_2, layer_1_rn)
102
-
103
- out = self.scratch.output_conv(path_1)
104
-
105
- return torch.squeeze(out, dim=1)
106
-
107
-
108
-
109
- def fuse_model(m):
110
- prev_previous_type = nn.Identity()
111
- prev_previous_name = ''
112
- previous_type = nn.Identity()
113
- previous_name = ''
114
- for name, module in m.named_modules():
115
- if prev_previous_type == nn.Conv2d and previous_type == nn.BatchNorm2d and type(module) == nn.ReLU:
116
- # print("FUSED ", prev_previous_name, previous_name, name)
117
- torch.quantization.fuse_modules(m, [prev_previous_name, previous_name, name], inplace=True)
118
- elif prev_previous_type == nn.Conv2d and previous_type == nn.BatchNorm2d:
119
- # print("FUSED ", prev_previous_name, previous_name)
120
- torch.quantization.fuse_modules(m, [prev_previous_name, previous_name], inplace=True)
121
- # elif previous_type == nn.Conv2d and type(module) == nn.ReLU:
122
- # print("FUSED ", previous_name, name)
123
- # torch.quantization.fuse_modules(m, [previous_name, name], inplace=True)
124
-
125
- prev_previous_type = previous_type
126
- prev_previous_name = previous_name
127
- previous_type = type(module)
128
- previous_name = name
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Anonymous-sub/Rerender/ControlNet/annotator/openpose/__init__.py DELETED
@@ -1,49 +0,0 @@
1
- # Openpose
2
- # Original from CMU https://github.com/CMU-Perceptual-Computing-Lab/openpose
3
- # 2nd Edited by https://github.com/Hzzone/pytorch-openpose
4
- # 3rd Edited by ControlNet
5
-
6
- import os
7
- os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
8
-
9
- import torch
10
- import numpy as np
11
- from . import util
12
- from .body import Body
13
- from .hand import Hand
14
- from annotator.util import annotator_ckpts_path
15
-
16
-
17
- body_model_path = "https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/body_pose_model.pth"
18
- hand_model_path = "https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/hand_pose_model.pth"
19
-
20
-
21
- class OpenposeDetector:
22
- def __init__(self):
23
- body_modelpath = os.path.join(annotator_ckpts_path, "body_pose_model.pth")
24
- hand_modelpath = os.path.join(annotator_ckpts_path, "hand_pose_model.pth")
25
-
26
- if not os.path.exists(hand_modelpath):
27
- from basicsr.utils.download_util import load_file_from_url
28
- load_file_from_url(body_model_path, model_dir=annotator_ckpts_path)
29
- load_file_from_url(hand_model_path, model_dir=annotator_ckpts_path)
30
-
31
- self.body_estimation = Body(body_modelpath)
32
- self.hand_estimation = Hand(hand_modelpath)
33
-
34
- def __call__(self, oriImg, hand=False):
35
- oriImg = oriImg[:, :, ::-1].copy()
36
- with torch.no_grad():
37
- candidate, subset = self.body_estimation(oriImg)
38
- canvas = np.zeros_like(oriImg)
39
- canvas = util.draw_bodypose(canvas, candidate, subset)
40
- if hand:
41
- hands_list = util.handDetect(candidate, subset, oriImg)
42
- all_hand_peaks = []
43
- for x, y, w, is_left in hands_list:
44
- peaks = self.hand_estimation(oriImg[y:y+w, x:x+w, :])
45
- peaks[:, 0] = np.where(peaks[:, 0] == 0, peaks[:, 0], peaks[:, 0] + x)
46
- peaks[:, 1] = np.where(peaks[:, 1] == 0, peaks[:, 1], peaks[:, 1] + y)
47
- all_hand_peaks.append(peaks)
48
- canvas = util.draw_handpose(canvas, all_hand_peaks)
49
- return canvas, dict(candidate=candidate.tolist(), subset=subset.tolist())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Anonymous-sub/Rerender/ControlNet/annotator/uniformer/configs/_base_/datasets/pascal_voc12_aug.py DELETED
@@ -1,9 +0,0 @@
1
- _base_ = './pascal_voc12.py'
2
- # dataset settings
3
- data = dict(
4
- train=dict(
5
- ann_dir=['SegmentationClass', 'SegmentationClassAug'],
6
- split=[
7
- 'ImageSets/Segmentation/train.txt',
8
- 'ImageSets/Segmentation/aug.txt'
9
- ]))
 
 
 
 
 
 
 
 
 
 
spaces/ApathyINC/CustomGPT/README.md DELETED
@@ -1,12 +0,0 @@
1
- ---
2
- title: Test
3
- emoji: 🏢
4
- colorFrom: red
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 3.27.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/Apex-X/Tm/roop/globals.py DELETED
@@ -1,17 +0,0 @@
1
- from typing import List
2
-
3
- source_path = None
4
- target_path = None
5
- output_path = None
6
- frame_processors: List[str] = []
7
- keep_fps = None
8
- keep_audio = None
9
- keep_frames = None
10
- many_faces = None
11
- video_encoder = None
12
- video_quality = None
13
- max_memory = None
14
- execution_providers: List[str] = []
15
- execution_threads = None
16
- headless = None
17
- log_level = 'error'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Arcypojeb/NeuralServer/README.md DELETED
@@ -1,13 +0,0 @@
1
- ---
2
- title: NeuralServer
3
- emoji: 🦀
4
- colorFrom: yellow
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 3.43.2
8
- app_file: app.py
9
- pinned: false
10
- license: cc
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ariharasudhan/YoloV5/utils/autobatch.py DELETED
@@ -1,72 +0,0 @@
1
- # YOLOv5 🚀 by Ultralytics, GPL-3.0 license
2
- """
3
- Auto-batch utils
4
- """
5
-
6
- from copy import deepcopy
7
-
8
- import numpy as np
9
- import torch
10
-
11
- from utils.general import LOGGER, colorstr
12
- from utils.torch_utils import profile
13
-
14
-
15
- def check_train_batch_size(model, imgsz=640, amp=True):
16
- # Check YOLOv5 training batch size
17
- with torch.cuda.amp.autocast(amp):
18
- return autobatch(deepcopy(model).train(), imgsz) # compute optimal batch size
19
-
20
-
21
- def autobatch(model, imgsz=640, fraction=0.8, batch_size=16):
22
- # Automatically estimate best YOLOv5 batch size to use `fraction` of available CUDA memory
23
- # Usage:
24
- # import torch
25
- # from utils.autobatch import autobatch
26
- # model = torch.hub.load('ultralytics/yolov5', 'yolov5s', autoshape=False)
27
- # print(autobatch(model))
28
-
29
- # Check device
30
- prefix = colorstr('AutoBatch: ')
31
- LOGGER.info(f'{prefix}Computing optimal batch size for --imgsz {imgsz}')
32
- device = next(model.parameters()).device # get model device
33
- if device.type == 'cpu':
34
- LOGGER.info(f'{prefix}CUDA not detected, using default CPU batch-size {batch_size}')
35
- return batch_size
36
- if torch.backends.cudnn.benchmark:
37
- LOGGER.info(f'{prefix} ⚠️ Requires torch.backends.cudnn.benchmark=False, using default batch-size {batch_size}')
38
- return batch_size
39
-
40
- # Inspect CUDA memory
41
- gb = 1 << 30 # bytes to GiB (1024 ** 3)
42
- d = str(device).upper() # 'CUDA:0'
43
- properties = torch.cuda.get_device_properties(device) # device properties
44
- t = properties.total_memory / gb # GiB total
45
- r = torch.cuda.memory_reserved(device) / gb # GiB reserved
46
- a = torch.cuda.memory_allocated(device) / gb # GiB allocated
47
- f = t - (r + a) # GiB free
48
- LOGGER.info(f'{prefix}{d} ({properties.name}) {t:.2f}G total, {r:.2f}G reserved, {a:.2f}G allocated, {f:.2f}G free')
49
-
50
- # Profile batch sizes
51
- batch_sizes = [1, 2, 4, 8, 16]
52
- try:
53
- img = [torch.empty(b, 3, imgsz, imgsz) for b in batch_sizes]
54
- results = profile(img, model, n=3, device=device)
55
- except Exception as e:
56
- LOGGER.warning(f'{prefix}{e}')
57
-
58
- # Fit a solution
59
- y = [x[2] for x in results if x] # memory [2]
60
- p = np.polyfit(batch_sizes[:len(y)], y, deg=1) # first degree polynomial fit
61
- b = int((f * fraction - p[1]) / p[0]) # y intercept (optimal batch size)
62
- if None in results: # some sizes failed
63
- i = results.index(None) # first fail index
64
- if b >= batch_sizes[i]: # y intercept above failure point
65
- b = batch_sizes[max(i - 1, 0)] # select prior safe point
66
- if b < 1 or b > 1024: # b outside of safe range
67
- b = batch_size
68
- LOGGER.warning(f'{prefix}WARNING ⚠️ CUDA anomaly detected, recommend restart environment and retry command.')
69
-
70
- fraction = (np.polyval(p, b) + r + a) / t # actual fraction predicted
71
- LOGGER.info(f'{prefix}Using batch-size {b} for {d} {t * fraction:.2f}G/{t:.2f}G ({fraction * 100:.0f}%) ✅')
72
- return b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Arulkumar03/GroundingDINO_SOTA_Zero_Shot_Model/groundingdino/models/GroundingDINO/csrc/vision.cpp DELETED
@@ -1,58 +0,0 @@
1
- // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
2
-
3
- #include "MsDeformAttn/ms_deform_attn.h"
4
-
5
- namespace groundingdino {
6
-
7
- #ifdef WITH_CUDA
8
- extern int get_cudart_version();
9
- #endif
10
-
11
- std::string get_cuda_version() {
12
- #ifdef WITH_CUDA
13
- std::ostringstream oss;
14
-
15
- // copied from
16
- // https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/cuda/detail/CUDAHooks.cpp#L231
17
- auto printCudaStyleVersion = [&](int v) {
18
- oss << (v / 1000) << "." << (v / 10 % 100);
19
- if (v % 10 != 0) {
20
- oss << "." << (v % 10);
21
- }
22
- };
23
- printCudaStyleVersion(get_cudart_version());
24
- return oss.str();
25
- #else
26
- return std::string("not available");
27
- #endif
28
- }
29
-
30
- // similar to
31
- // https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/Version.cpp
32
- std::string get_compiler_version() {
33
- std::ostringstream ss;
34
- #if defined(__GNUC__)
35
- #ifndef __clang__
36
- { ss << "GCC " << __GNUC__ << "." << __GNUC_MINOR__; }
37
- #endif
38
- #endif
39
-
40
- #if defined(__clang_major__)
41
- {
42
- ss << "clang " << __clang_major__ << "." << __clang_minor__ << "."
43
- << __clang_patchlevel__;
44
- }
45
- #endif
46
-
47
- #if defined(_MSC_VER)
48
- { ss << "MSVC " << _MSC_FULL_VER; }
49
- #endif
50
- return ss.str();
51
- }
52
-
53
- PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
54
- m.def("ms_deform_attn_forward", &ms_deform_attn_forward, "ms_deform_attn_forward");
55
- m.def("ms_deform_attn_backward", &ms_deform_attn_backward, "ms_deform_attn_backward");
56
- }
57
-
58
- } // namespace groundingdino
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_internal/operations/build/build_tracker.py DELETED
@@ -1,124 +0,0 @@
1
- import contextlib
2
- import hashlib
3
- import logging
4
- import os
5
- from types import TracebackType
6
- from typing import Dict, Generator, Optional, Set, Type, Union
7
-
8
- from pip._internal.models.link import Link
9
- from pip._internal.req.req_install import InstallRequirement
10
- from pip._internal.utils.temp_dir import TempDirectory
11
-
12
- logger = logging.getLogger(__name__)
13
-
14
-
15
- @contextlib.contextmanager
16
- def update_env_context_manager(**changes: str) -> Generator[None, None, None]:
17
- target = os.environ
18
-
19
- # Save values from the target and change them.
20
- non_existent_marker = object()
21
- saved_values: Dict[str, Union[object, str]] = {}
22
- for name, new_value in changes.items():
23
- try:
24
- saved_values[name] = target[name]
25
- except KeyError:
26
- saved_values[name] = non_existent_marker
27
- target[name] = new_value
28
-
29
- try:
30
- yield
31
- finally:
32
- # Restore original values in the target.
33
- for name, original_value in saved_values.items():
34
- if original_value is non_existent_marker:
35
- del target[name]
36
- else:
37
- assert isinstance(original_value, str) # for mypy
38
- target[name] = original_value
39
-
40
-
41
- @contextlib.contextmanager
42
- def get_build_tracker() -> Generator["BuildTracker", None, None]:
43
- root = os.environ.get("PIP_BUILD_TRACKER")
44
- with contextlib.ExitStack() as ctx:
45
- if root is None:
46
- root = ctx.enter_context(TempDirectory(kind="build-tracker")).path
47
- ctx.enter_context(update_env_context_manager(PIP_BUILD_TRACKER=root))
48
- logger.debug("Initialized build tracking at %s", root)
49
-
50
- with BuildTracker(root) as tracker:
51
- yield tracker
52
-
53
-
54
- class BuildTracker:
55
- def __init__(self, root: str) -> None:
56
- self._root = root
57
- self._entries: Set[InstallRequirement] = set()
58
- logger.debug("Created build tracker: %s", self._root)
59
-
60
- def __enter__(self) -> "BuildTracker":
61
- logger.debug("Entered build tracker: %s", self._root)
62
- return self
63
-
64
- def __exit__(
65
- self,
66
- exc_type: Optional[Type[BaseException]],
67
- exc_val: Optional[BaseException],
68
- exc_tb: Optional[TracebackType],
69
- ) -> None:
70
- self.cleanup()
71
-
72
- def _entry_path(self, link: Link) -> str:
73
- hashed = hashlib.sha224(link.url_without_fragment.encode()).hexdigest()
74
- return os.path.join(self._root, hashed)
75
-
76
- def add(self, req: InstallRequirement) -> None:
77
- """Add an InstallRequirement to build tracking."""
78
-
79
- assert req.link
80
- # Get the file to write information about this requirement.
81
- entry_path = self._entry_path(req.link)
82
-
83
- # Try reading from the file. If it exists and can be read from, a build
84
- # is already in progress, so a LookupError is raised.
85
- try:
86
- with open(entry_path) as fp:
87
- contents = fp.read()
88
- except FileNotFoundError:
89
- pass
90
- else:
91
- message = "{} is already being built: {}".format(req.link, contents)
92
- raise LookupError(message)
93
-
94
- # If we're here, req should really not be building already.
95
- assert req not in self._entries
96
-
97
- # Start tracking this requirement.
98
- with open(entry_path, "w", encoding="utf-8") as fp:
99
- fp.write(str(req))
100
- self._entries.add(req)
101
-
102
- logger.debug("Added %s to build tracker %r", req, self._root)
103
-
104
- def remove(self, req: InstallRequirement) -> None:
105
- """Remove an InstallRequirement from build tracking."""
106
-
107
- assert req.link
108
- # Delete the created file and the corresponding entries.
109
- os.unlink(self._entry_path(req.link))
110
- self._entries.remove(req)
111
-
112
- logger.debug("Removed %s from build tracker %r", req, self._root)
113
-
114
- def cleanup(self) -> None:
115
- for req in set(self._entries):
116
- self.remove(req)
117
-
118
- logger.debug("Removed build tracker: %r", self._root)
119
-
120
- @contextlib.contextmanager
121
- def track(self, req: InstallRequirement) -> Generator[None, None, None]:
122
- self.add(req)
123
- yield
124
- self.remove(req)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pkg_resources/_vendor/packaging/utils.py DELETED
@@ -1,136 +0,0 @@
1
- # This file is dual licensed under the terms of the Apache License, Version
2
- # 2.0, and the BSD License. See the LICENSE file in the root of this repository
3
- # for complete details.
4
-
5
- import re
6
- from typing import FrozenSet, NewType, Tuple, Union, cast
7
-
8
- from .tags import Tag, parse_tag
9
- from .version import InvalidVersion, Version
10
-
11
- BuildTag = Union[Tuple[()], Tuple[int, str]]
12
- NormalizedName = NewType("NormalizedName", str)
13
-
14
-
15
- class InvalidWheelFilename(ValueError):
16
- """
17
- An invalid wheel filename was found, users should refer to PEP 427.
18
- """
19
-
20
-
21
- class InvalidSdistFilename(ValueError):
22
- """
23
- An invalid sdist filename was found, users should refer to the packaging user guide.
24
- """
25
-
26
-
27
- _canonicalize_regex = re.compile(r"[-_.]+")
28
- # PEP 427: The build number must start with a digit.
29
- _build_tag_regex = re.compile(r"(\d+)(.*)")
30
-
31
-
32
- def canonicalize_name(name: str) -> NormalizedName:
33
- # This is taken from PEP 503.
34
- value = _canonicalize_regex.sub("-", name).lower()
35
- return cast(NormalizedName, value)
36
-
37
-
38
- def canonicalize_version(version: Union[Version, str]) -> str:
39
- """
40
- This is very similar to Version.__str__, but has one subtle difference
41
- with the way it handles the release segment.
42
- """
43
- if isinstance(version, str):
44
- try:
45
- parsed = Version(version)
46
- except InvalidVersion:
47
- # Legacy versions cannot be normalized
48
- return version
49
- else:
50
- parsed = version
51
-
52
- parts = []
53
-
54
- # Epoch
55
- if parsed.epoch != 0:
56
- parts.append(f"{parsed.epoch}!")
57
-
58
- # Release segment
59
- # NB: This strips trailing '.0's to normalize
60
- parts.append(re.sub(r"(\.0)+$", "", ".".join(str(x) for x in parsed.release)))
61
-
62
- # Pre-release
63
- if parsed.pre is not None:
64
- parts.append("".join(str(x) for x in parsed.pre))
65
-
66
- # Post-release
67
- if parsed.post is not None:
68
- parts.append(f".post{parsed.post}")
69
-
70
- # Development release
71
- if parsed.dev is not None:
72
- parts.append(f".dev{parsed.dev}")
73
-
74
- # Local version segment
75
- if parsed.local is not None:
76
- parts.append(f"+{parsed.local}")
77
-
78
- return "".join(parts)
79
-
80
-
81
- def parse_wheel_filename(
82
- filename: str,
83
- ) -> Tuple[NormalizedName, Version, BuildTag, FrozenSet[Tag]]:
84
- if not filename.endswith(".whl"):
85
- raise InvalidWheelFilename(
86
- f"Invalid wheel filename (extension must be '.whl'): {filename}"
87
- )
88
-
89
- filename = filename[:-4]
90
- dashes = filename.count("-")
91
- if dashes not in (4, 5):
92
- raise InvalidWheelFilename(
93
- f"Invalid wheel filename (wrong number of parts): {filename}"
94
- )
95
-
96
- parts = filename.split("-", dashes - 2)
97
- name_part = parts[0]
98
- # See PEP 427 for the rules on escaping the project name
99
- if "__" in name_part or re.match(r"^[\w\d._]*$", name_part, re.UNICODE) is None:
100
- raise InvalidWheelFilename(f"Invalid project name: {filename}")
101
- name = canonicalize_name(name_part)
102
- version = Version(parts[1])
103
- if dashes == 5:
104
- build_part = parts[2]
105
- build_match = _build_tag_regex.match(build_part)
106
- if build_match is None:
107
- raise InvalidWheelFilename(
108
- f"Invalid build number: {build_part} in '{filename}'"
109
- )
110
- build = cast(BuildTag, (int(build_match.group(1)), build_match.group(2)))
111
- else:
112
- build = ()
113
- tags = parse_tag(parts[-1])
114
- return (name, version, build, tags)
115
-
116
-
117
- def parse_sdist_filename(filename: str) -> Tuple[NormalizedName, Version]:
118
- if filename.endswith(".tar.gz"):
119
- file_stem = filename[: -len(".tar.gz")]
120
- elif filename.endswith(".zip"):
121
- file_stem = filename[: -len(".zip")]
122
- else:
123
- raise InvalidSdistFilename(
124
- f"Invalid sdist filename (extension must be '.tar.gz' or '.zip'):"
125
- f" {filename}"
126
- )
127
-
128
- # We are requiring a PEP 440 version, which cannot contain dashes,
129
- # so we split on the last dash.
130
- name_part, sep, version_part = file_stem.rpartition("-")
131
- if not sep:
132
- raise InvalidSdistFilename(f"Invalid sdist filename: {filename}")
133
-
134
- name = canonicalize_name(name_part)
135
- version = Version(version_part)
136
- return (name, version)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/setuptools/_distutils/version.py DELETED
@@ -1,358 +0,0 @@
1
- #
2
- # distutils/version.py
3
- #
4
- # Implements multiple version numbering conventions for the
5
- # Python Module Distribution Utilities.
6
- #
7
- # $Id$
8
- #
9
-
10
- """Provides classes to represent module version numbers (one class for
11
- each style of version numbering). There are currently two such classes
12
- implemented: StrictVersion and LooseVersion.
13
-
14
- Every version number class implements the following interface:
15
- * the 'parse' method takes a string and parses it to some internal
16
- representation; if the string is an invalid version number,
17
- 'parse' raises a ValueError exception
18
- * the class constructor takes an optional string argument which,
19
- if supplied, is passed to 'parse'
20
- * __str__ reconstructs the string that was passed to 'parse' (or
21
- an equivalent string -- ie. one that will generate an equivalent
22
- version number instance)
23
- * __repr__ generates Python code to recreate the version number instance
24
- * _cmp compares the current instance with either another instance
25
- of the same class or a string (which will be parsed to an instance
26
- of the same class, thus must follow the same rules)
27
- """
28
-
29
- import re
30
- import warnings
31
- import contextlib
32
-
33
-
34
- @contextlib.contextmanager
35
- def suppress_known_deprecation():
36
- with warnings.catch_warnings(record=True) as ctx:
37
- warnings.filterwarnings(
38
- action='default',
39
- category=DeprecationWarning,
40
- message="distutils Version classes are deprecated.",
41
- )
42
- yield ctx
43
-
44
-
45
- class Version:
46
- """Abstract base class for version numbering classes. Just provides
47
- constructor (__init__) and reproducer (__repr__), because those
48
- seem to be the same for all version numbering classes; and route
49
- rich comparisons to _cmp.
50
- """
51
-
52
- def __init__(self, vstring=None):
53
- if vstring:
54
- self.parse(vstring)
55
- warnings.warn(
56
- "distutils Version classes are deprecated. "
57
- "Use packaging.version instead.",
58
- DeprecationWarning,
59
- stacklevel=2,
60
- )
61
-
62
- def __repr__(self):
63
- return "{} ('{}')".format(self.__class__.__name__, str(self))
64
-
65
- def __eq__(self, other):
66
- c = self._cmp(other)
67
- if c is NotImplemented:
68
- return c
69
- return c == 0
70
-
71
- def __lt__(self, other):
72
- c = self._cmp(other)
73
- if c is NotImplemented:
74
- return c
75
- return c < 0
76
-
77
- def __le__(self, other):
78
- c = self._cmp(other)
79
- if c is NotImplemented:
80
- return c
81
- return c <= 0
82
-
83
- def __gt__(self, other):
84
- c = self._cmp(other)
85
- if c is NotImplemented:
86
- return c
87
- return c > 0
88
-
89
- def __ge__(self, other):
90
- c = self._cmp(other)
91
- if c is NotImplemented:
92
- return c
93
- return c >= 0
94
-
95
-
96
- # Interface for version-number classes -- must be implemented
97
- # by the following classes (the concrete ones -- Version should
98
- # be treated as an abstract class).
99
- # __init__ (string) - create and take same action as 'parse'
100
- # (string parameter is optional)
101
- # parse (string) - convert a string representation to whatever
102
- # internal representation is appropriate for
103
- # this style of version numbering
104
- # __str__ (self) - convert back to a string; should be very similar
105
- # (if not identical to) the string supplied to parse
106
- # __repr__ (self) - generate Python code to recreate
107
- # the instance
108
- # _cmp (self, other) - compare two version numbers ('other' may
109
- # be an unparsed version string, or another
110
- # instance of your version class)
111
-
112
-
113
- class StrictVersion(Version):
114
-
115
- """Version numbering for anal retentives and software idealists.
116
- Implements the standard interface for version number classes as
117
- described above. A version number consists of two or three
118
- dot-separated numeric components, with an optional "pre-release" tag
119
- on the end. The pre-release tag consists of the letter 'a' or 'b'
120
- followed by a number. If the numeric components of two version
121
- numbers are equal, then one with a pre-release tag will always
122
- be deemed earlier (lesser) than one without.
123
-
124
- The following are valid version numbers (shown in the order that
125
- would be obtained by sorting according to the supplied cmp function):
126
-
127
- 0.4 0.4.0 (these two are equivalent)
128
- 0.4.1
129
- 0.5a1
130
- 0.5b3
131
- 0.5
132
- 0.9.6
133
- 1.0
134
- 1.0.4a3
135
- 1.0.4b1
136
- 1.0.4
137
-
138
- The following are examples of invalid version numbers:
139
-
140
- 1
141
- 2.7.2.2
142
- 1.3.a4
143
- 1.3pl1
144
- 1.3c4
145
-
146
- The rationale for this version numbering system will be explained
147
- in the distutils documentation.
148
- """
149
-
150
- version_re = re.compile(
151
- r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$', re.VERBOSE | re.ASCII
152
- )
153
-
154
- def parse(self, vstring):
155
- match = self.version_re.match(vstring)
156
- if not match:
157
- raise ValueError("invalid version number '%s'" % vstring)
158
-
159
- (major, minor, patch, prerelease, prerelease_num) = match.group(1, 2, 4, 5, 6)
160
-
161
- if patch:
162
- self.version = tuple(map(int, [major, minor, patch]))
163
- else:
164
- self.version = tuple(map(int, [major, minor])) + (0,)
165
-
166
- if prerelease:
167
- self.prerelease = (prerelease[0], int(prerelease_num))
168
- else:
169
- self.prerelease = None
170
-
171
- def __str__(self):
172
-
173
- if self.version[2] == 0:
174
- vstring = '.'.join(map(str, self.version[0:2]))
175
- else:
176
- vstring = '.'.join(map(str, self.version))
177
-
178
- if self.prerelease:
179
- vstring = vstring + self.prerelease[0] + str(self.prerelease[1])
180
-
181
- return vstring
182
-
183
- def _cmp(self, other): # noqa: C901
184
- if isinstance(other, str):
185
- with suppress_known_deprecation():
186
- other = StrictVersion(other)
187
- elif not isinstance(other, StrictVersion):
188
- return NotImplemented
189
-
190
- if self.version != other.version:
191
- # numeric versions don't match
192
- # prerelease stuff doesn't matter
193
- if self.version < other.version:
194
- return -1
195
- else:
196
- return 1
197
-
198
- # have to compare prerelease
199
- # case 1: neither has prerelease; they're equal
200
- # case 2: self has prerelease, other doesn't; other is greater
201
- # case 3: self doesn't have prerelease, other does: self is greater
202
- # case 4: both have prerelease: must compare them!
203
-
204
- if not self.prerelease and not other.prerelease:
205
- return 0
206
- elif self.prerelease and not other.prerelease:
207
- return -1
208
- elif not self.prerelease and other.prerelease:
209
- return 1
210
- elif self.prerelease and other.prerelease:
211
- if self.prerelease == other.prerelease:
212
- return 0
213
- elif self.prerelease < other.prerelease:
214
- return -1
215
- else:
216
- return 1
217
- else:
218
- assert False, "never get here"
219
-
220
-
221
- # end class StrictVersion
222
-
223
-
224
- # The rules according to Greg Stein:
225
- # 1) a version number has 1 or more numbers separated by a period or by
226
- # sequences of letters. If only periods, then these are compared
227
- # left-to-right to determine an ordering.
228
- # 2) sequences of letters are part of the tuple for comparison and are
229
- # compared lexicographically
230
- # 3) recognize the numeric components may have leading zeroes
231
- #
232
- # The LooseVersion class below implements these rules: a version number
233
- # string is split up into a tuple of integer and string components, and
234
- # comparison is a simple tuple comparison. This means that version
235
- # numbers behave in a predictable and obvious way, but a way that might
236
- # not necessarily be how people *want* version numbers to behave. There
237
- # wouldn't be a problem if people could stick to purely numeric version
238
- # numbers: just split on period and compare the numbers as tuples.
239
- # However, people insist on putting letters into their version numbers;
240
- # the most common purpose seems to be:
241
- # - indicating a "pre-release" version
242
- # ('alpha', 'beta', 'a', 'b', 'pre', 'p')
243
- # - indicating a post-release patch ('p', 'pl', 'patch')
244
- # but of course this can't cover all version number schemes, and there's
245
- # no way to know what a programmer means without asking him.
246
- #
247
- # The problem is what to do with letters (and other non-numeric
248
- # characters) in a version number. The current implementation does the
249
- # obvious and predictable thing: keep them as strings and compare
250
- # lexically within a tuple comparison. This has the desired effect if
251
- # an appended letter sequence implies something "post-release":
252
- # eg. "0.99" < "0.99pl14" < "1.0", and "5.001" < "5.001m" < "5.002".
253
- #
254
- # However, if letters in a version number imply a pre-release version,
255
- # the "obvious" thing isn't correct. Eg. you would expect that
256
- # "1.5.1" < "1.5.2a2" < "1.5.2", but under the tuple/lexical comparison
257
- # implemented here, this just isn't so.
258
- #
259
- # Two possible solutions come to mind. The first is to tie the
260
- # comparison algorithm to a particular set of semantic rules, as has
261
- # been done in the StrictVersion class above. This works great as long
262
- # as everyone can go along with bondage and discipline. Hopefully a
263
- # (large) subset of Python module programmers will agree that the
264
- # particular flavour of bondage and discipline provided by StrictVersion
265
- # provides enough benefit to be worth using, and will submit their
266
- # version numbering scheme to its domination. The free-thinking
267
- # anarchists in the lot will never give in, though, and something needs
268
- # to be done to accommodate them.
269
- #
270
- # Perhaps a "moderately strict" version class could be implemented that
271
- # lets almost anything slide (syntactically), and makes some heuristic
272
- # assumptions about non-digits in version number strings. This could
273
- # sink into special-case-hell, though; if I was as talented and
274
- # idiosyncratic as Larry Wall, I'd go ahead and implement a class that
275
- # somehow knows that "1.2.1" < "1.2.2a2" < "1.2.2" < "1.2.2pl3", and is
276
- # just as happy dealing with things like "2g6" and "1.13++". I don't
277
- # think I'm smart enough to do it right though.
278
- #
279
- # In any case, I've coded the test suite for this module (see
280
- # ../test/test_version.py) specifically to fail on things like comparing
281
- # "1.2a2" and "1.2". That's not because the *code* is doing anything
282
- # wrong, it's because the simple, obvious design doesn't match my
283
- # complicated, hairy expectations for real-world version numbers. It
284
- # would be a snap to fix the test suite to say, "Yep, LooseVersion does
285
- # the Right Thing" (ie. the code matches the conception). But I'd rather
286
- # have a conception that matches common notions about version numbers.
287
-
288
-
289
- class LooseVersion(Version):
290
-
291
- """Version numbering for anarchists and software realists.
292
- Implements the standard interface for version number classes as
293
- described above. A version number consists of a series of numbers,
294
- separated by either periods or strings of letters. When comparing
295
- version numbers, the numeric components will be compared
296
- numerically, and the alphabetic components lexically. The following
297
- are all valid version numbers, in no particular order:
298
-
299
- 1.5.1
300
- 1.5.2b2
301
- 161
302
- 3.10a
303
- 8.02
304
- 3.4j
305
- 1996.07.12
306
- 3.2.pl0
307
- 3.1.1.6
308
- 2g6
309
- 11g
310
- 0.960923
311
- 2.2beta29
312
- 1.13++
313
- 5.5.kw
314
- 2.0b1pl0
315
-
316
- In fact, there is no such thing as an invalid version number under
317
- this scheme; the rules for comparison are simple and predictable,
318
- but may not always give the results you want (for some definition
319
- of "want").
320
- """
321
-
322
- component_re = re.compile(r'(\d+ | [a-z]+ | \.)', re.VERBOSE)
323
-
324
- def parse(self, vstring):
325
- # I've given up on thinking I can reconstruct the version string
326
- # from the parsed tuple -- so I just store the string here for
327
- # use by __str__
328
- self.vstring = vstring
329
- components = [x for x in self.component_re.split(vstring) if x and x != '.']
330
- for i, obj in enumerate(components):
331
- try:
332
- components[i] = int(obj)
333
- except ValueError:
334
- pass
335
-
336
- self.version = components
337
-
338
- def __str__(self):
339
- return self.vstring
340
-
341
- def __repr__(self):
342
- return "LooseVersion ('%s')" % str(self)
343
-
344
- def _cmp(self, other):
345
- if isinstance(other, str):
346
- other = LooseVersion(other)
347
- elif not isinstance(other, LooseVersion):
348
- return NotImplemented
349
-
350
- if self.version == other.version:
351
- return 0
352
- if self.version < other.version:
353
- return -1
354
- if self.version > other.version:
355
- return 1
356
-
357
-
358
- # end class LooseVersion
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/detectron2/evaluation/sem_seg_evaluation.py DELETED
@@ -1,184 +0,0 @@
1
- # Copyright (c) Facebook, Inc. and its affiliates.
2
- import itertools
3
- import json
4
- import logging
5
- import numpy as np
6
- import os
7
- from collections import OrderedDict
8
- import PIL.Image as Image
9
- import pycocotools.mask as mask_util
10
- import torch
11
-
12
- from detectron2.data import DatasetCatalog, MetadataCatalog
13
- from detectron2.utils.comm import all_gather, is_main_process, synchronize
14
- from detectron2.utils.file_io import PathManager
15
-
16
- from .evaluator import DatasetEvaluator
17
-
18
-
19
- class SemSegEvaluator(DatasetEvaluator):
20
- """
21
- Evaluate semantic segmentation metrics.
22
- """
23
-
24
- def __init__(
25
- self,
26
- dataset_name,
27
- distributed=True,
28
- output_dir=None,
29
- *,
30
- num_classes=None,
31
- ignore_label=None,
32
- ):
33
- """
34
- Args:
35
- dataset_name (str): name of the dataset to be evaluated.
36
- distributed (bool): if True, will collect results from all ranks for evaluation.
37
- Otherwise, will evaluate the results in the current process.
38
- output_dir (str): an output directory to dump results.
39
- num_classes, ignore_label: deprecated argument
40
- """
41
- self._logger = logging.getLogger(__name__)
42
- if num_classes is not None:
43
- self._logger.warn(
44
- "SemSegEvaluator(num_classes) is deprecated! It should be obtained from metadata."
45
- )
46
- if ignore_label is not None:
47
- self._logger.warn(
48
- "SemSegEvaluator(ignore_label) is deprecated! It should be obtained from metadata."
49
- )
50
- self._dataset_name = dataset_name
51
- self._distributed = distributed
52
- self._output_dir = output_dir
53
-
54
- self._cpu_device = torch.device("cpu")
55
-
56
- self.input_file_to_gt_file = {
57
- dataset_record["file_name"]: dataset_record["sem_seg_file_name"]
58
- for dataset_record in DatasetCatalog.get(dataset_name)
59
- }
60
-
61
- meta = MetadataCatalog.get(dataset_name)
62
- # Dict that maps contiguous training ids to COCO category ids
63
- try:
64
- c2d = meta.stuff_dataset_id_to_contiguous_id
65
- self._contiguous_id_to_dataset_id = {v: k for k, v in c2d.items()}
66
- except AttributeError:
67
- self._contiguous_id_to_dataset_id = None
68
- self._class_names = meta.stuff_classes
69
- self._num_classes = len(meta.stuff_classes)
70
- if num_classes is not None:
71
- assert self._num_classes == num_classes, f"{self._num_classes} != {num_classes}"
72
- self._ignore_label = ignore_label if ignore_label is not None else meta.ignore_label
73
-
74
- def reset(self):
75
- self._conf_matrix = np.zeros((self._num_classes + 1, self._num_classes + 1), dtype=np.int64)
76
- self._predictions = []
77
-
78
- def process(self, inputs, outputs):
79
- """
80
- Args:
81
- inputs: the inputs to a model.
82
- It is a list of dicts. Each dict corresponds to an image and
83
- contains keys like "height", "width", "file_name".
84
- outputs: the outputs of a model. It is either list of semantic segmentation predictions
85
- (Tensor [H, W]) or list of dicts with key "sem_seg" that contains semantic
86
- segmentation prediction in the same format.
87
- """
88
- for input, output in zip(inputs, outputs):
89
- output = output["sem_seg"].argmax(dim=0).to(self._cpu_device)
90
- pred = np.array(output, dtype=np.int)
91
- with PathManager.open(self.input_file_to_gt_file[input["file_name"]], "rb") as f:
92
- gt = np.array(Image.open(f), dtype=np.int)
93
-
94
- gt[gt == self._ignore_label] = self._num_classes
95
-
96
- self._conf_matrix += np.bincount(
97
- (self._num_classes + 1) * pred.reshape(-1) + gt.reshape(-1),
98
- minlength=self._conf_matrix.size,
99
- ).reshape(self._conf_matrix.shape)
100
-
101
- self._predictions.extend(self.encode_json_sem_seg(pred, input["file_name"]))
102
-
103
- def evaluate(self):
104
- """
105
- Evaluates standard semantic segmentation metrics (http://cocodataset.org/#stuff-eval):
106
-
107
- * Mean intersection-over-union averaged across classes (mIoU)
108
- * Frequency Weighted IoU (fwIoU)
109
- * Mean pixel accuracy averaged across classes (mACC)
110
- * Pixel Accuracy (pACC)
111
- """
112
- if self._distributed:
113
- synchronize()
114
- conf_matrix_list = all_gather(self._conf_matrix)
115
- self._predictions = all_gather(self._predictions)
116
- self._predictions = list(itertools.chain(*self._predictions))
117
- if not is_main_process():
118
- return
119
-
120
- self._conf_matrix = np.zeros_like(self._conf_matrix)
121
- for conf_matrix in conf_matrix_list:
122
- self._conf_matrix += conf_matrix
123
-
124
- if self._output_dir:
125
- PathManager.mkdirs(self._output_dir)
126
- file_path = os.path.join(self._output_dir, "sem_seg_predictions.json")
127
- with PathManager.open(file_path, "w") as f:
128
- f.write(json.dumps(self._predictions))
129
-
130
- acc = np.full(self._num_classes, np.nan, dtype=np.float)
131
- iou = np.full(self._num_classes, np.nan, dtype=np.float)
132
- tp = self._conf_matrix.diagonal()[:-1].astype(np.float)
133
- pos_gt = np.sum(self._conf_matrix[:-1, :-1], axis=0).astype(np.float)
134
- class_weights = pos_gt / np.sum(pos_gt)
135
- pos_pred = np.sum(self._conf_matrix[:-1, :-1], axis=1).astype(np.float)
136
- acc_valid = pos_gt > 0
137
- acc[acc_valid] = tp[acc_valid] / pos_gt[acc_valid]
138
- iou_valid = (pos_gt + pos_pred) > 0
139
- union = pos_gt + pos_pred - tp
140
- iou[acc_valid] = tp[acc_valid] / union[acc_valid]
141
- macc = np.sum(acc[acc_valid]) / np.sum(acc_valid)
142
- miou = np.sum(iou[acc_valid]) / np.sum(iou_valid)
143
- fiou = np.sum(iou[acc_valid] * class_weights[acc_valid])
144
- pacc = np.sum(tp) / np.sum(pos_gt)
145
-
146
- res = {}
147
- res["mIoU"] = 100 * miou
148
- res["fwIoU"] = 100 * fiou
149
- for i, name in enumerate(self._class_names):
150
- res["IoU-{}".format(name)] = 100 * iou[i]
151
- res["mACC"] = 100 * macc
152
- res["pACC"] = 100 * pacc
153
- for i, name in enumerate(self._class_names):
154
- res["ACC-{}".format(name)] = 100 * acc[i]
155
-
156
- if self._output_dir:
157
- file_path = os.path.join(self._output_dir, "sem_seg_evaluation.pth")
158
- with PathManager.open(file_path, "wb") as f:
159
- torch.save(res, f)
160
- results = OrderedDict({"sem_seg": res})
161
- self._logger.info(results)
162
- return results
163
-
164
- def encode_json_sem_seg(self, sem_seg, input_file_name):
165
- """
166
- Convert semantic segmentation to COCO stuff format with segments encoded as RLEs.
167
- See http://cocodataset.org/#format-results
168
- """
169
- json_list = []
170
- for label in np.unique(sem_seg):
171
- if self._contiguous_id_to_dataset_id is not None:
172
- assert (
173
- label in self._contiguous_id_to_dataset_id
174
- ), "Label {} is not in the metadata info for {}".format(label, self._dataset_name)
175
- dataset_id = self._contiguous_id_to_dataset_id[label]
176
- else:
177
- dataset_id = int(label)
178
- mask = (sem_seg == label).astype(np.uint8)
179
- mask_rle = mask_util.encode(np.array(mask[:, :, None], order="F"))[0]
180
- mask_rle["counts"] = mask_rle["counts"].decode("utf-8")
181
- json_list.append(
182
- {"file_name": input_file_name, "category_id": dataset_id, "segmentation": mask_rle}
183
- )
184
- return json_list
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Banbri/zcvzcv/src/components/ui/button.tsx DELETED
@@ -1,56 +0,0 @@
1
- import * as React from "react"
2
- import { Slot } from "@radix-ui/react-slot"
3
- import { cva, type VariantProps } from "class-variance-authority"
4
-
5
- import { cn } from "@/lib/utils"
6
-
7
- const buttonVariants = cva(
8
- "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-stone-400 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-stone-950 dark:focus-visible:ring-stone-800",
9
- {
10
- variants: {
11
- variant: {
12
- default: "bg-stone-900 text-stone-50 hover:bg-stone-900/90 dark:bg-stone-50 dark:text-stone-900 dark:hover:bg-stone-50/90",
13
- destructive:
14
- "bg-red-500 text-stone-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-red-50 dark:hover:bg-red-900/90",
15
- outline:
16
- "border border-stone-200 bg-white hover:bg-stone-100 hover:text-stone-900 dark:border-stone-800 dark:bg-stone-950 dark:hover:bg-stone-800 dark:hover:text-stone-50",
17
- secondary:
18
- "bg-stone-100 text-stone-900 hover:bg-stone-100/80 dark:bg-stone-800 dark:text-stone-50 dark:hover:bg-stone-800/80",
19
- ghost: "hover:bg-stone-100 hover:text-stone-900 dark:hover:bg-stone-800 dark:hover:text-stone-50",
20
- link: "text-stone-900 underline-offset-4 hover:underline dark:text-stone-50",
21
- },
22
- size: {
23
- default: "h-10 px-4 py-2",
24
- sm: "h-9 rounded-md px-3",
25
- lg: "h-11 rounded-md px-8",
26
- icon: "h-10 w-10",
27
- },
28
- },
29
- defaultVariants: {
30
- variant: "default",
31
- size: "default",
32
- },
33
- }
34
- )
35
-
36
- export interface ButtonProps
37
- extends React.ButtonHTMLAttributes<HTMLButtonElement>,
38
- VariantProps<typeof buttonVariants> {
39
- asChild?: boolean
40
- }
41
-
42
- const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
43
- ({ className, variant, size, asChild = false, ...props }, ref) => {
44
- const Comp = asChild ? Slot : "button"
45
- return (
46
- <Comp
47
- className={cn(buttonVariants({ variant, size, className }))}
48
- ref={ref}
49
- {...props}
50
- />
51
- )
52
- }
53
- )
54
- Button.displayName = "Button"
55
-
56
- export { Button, buttonVariants }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Descargar Amor 2015 Pelcula En Ingls.md DELETED
@@ -1,99 +0,0 @@
1
- <br />
2
- <h1>Descargar Love 2015 Película en inglés: Una reseña</h1>
3
- <p>Si estás buscando una película que desafíe tus sentidos, estimule tu imaginación y provoque tus emociones, es posible que quieras descargar la película en inglés Love 2015. Se trata de una película que ha sido descrita como un "melodrama sexual" por su escritor y director Gaspar Noé, conocido por sus obras polémicas y experimentales. En este artículo, revisaremos de qué se trata Love 2015, por qué deberías descargarlo y cómo hacerlo de forma segura y legal. </p>
4
- <h2>¿Qué es el amor 2015? </h2>
5
- <p>Love 2015 es una película erótica de arte dramático que se estrenó en 3D en el Festival de Cine de Cannes en 2015. Cuenta la historia de Murphy, un estudiante de cine estadounidense que vive en París, que recuerda su relación apasionada y turbulenta con su ex novia Electra, después de recibir una llamada telefónica de su madre. La película presenta escenas de sexo no verbal entre los actores, que han causado controversia y censura en algunos países. </p>
6
- <h2>descargar amor 2015 película en inglés</h2><br /><p><b><b>Download Zip</b> &mdash;&mdash;&mdash;>>> <a href="https://bltlly.com/2v6IUH">https://bltlly.com/2v6IUH</a></b></p><br /><br />
7
- <h3>La trama del amor 2015</h3>
8
- <p>La película está estructurada como una serie de flashbacks no lineales que muestran los recuerdos de Murphy de Electra. Ellos representan su primer encuentro, su rápida conexión y sus vidas en los próximos dos años, que están llenos de abuso de drogas, sexo duro y momentos tiernos. Murphy y Electra finalmente tienen un trío con su joven vecina Omi, como una forma de darle vida a su vida amorosa. Sin embargo, Murphy continúa su aventura con Omi, sin el conocimiento de Electra, y la deja embarazada. Esto lleva al final de su relación con Electra, y la situación actual de Murphy viviendo con Omi y su hijo Gaspar. El paradero y destino de Electra quedan sin resolver al final de la película. </p>
9
- <h3>El reparto y el equipo de Love 2015</h3>
10
-
11
- <h3>La recepción y controversia del Amor 2015</h3>
12
- <p>La película recibió críticas mixtas de críticos y audiencias por igual. Algunos lo elogiaron por su visión artística, su representación realista del amor y el sexo, y sus logros técnicos. Otros lo criticaron por su falta de profundidad, su excesiva desnudez y explicitación, y su estilo autoindulgente. La película también provocó controversia por su contenido gráfico, lo que llevó a algunos países a prohibirla o censurarla. Por ejemplo, en India, la película fue rechazada la certificación por el Consejo Central de Certificación de Cine (CBFC), prohibiendo de hecho su estreno en salas. En Turquía, la película fue inicialmente prohibida por el Ministerio de Cultura y Turismo, pero más tarde se le permitió ser proyectada con grandes recortes. En Rusia, la película se estrenó con una restricción de edad de más de 18 años, pero algunos cines se negaron a mostrarla o cancelaron las proyecciones debido a las quejas de grupos conservadores. </p>
13
- <h2>¿Por qué descargar Love 2015? </h2>
14
- <p>Si estás interesado en <p>Si estás interesado en ver Love 2015, es posible que tengas algunas razones para descargarlo en lugar de transmitirlo en línea o comprar un DVD. Estos son algunos de ellos:</p>
15
- <h3>El valor artístico y cinematográfico de Love 2015</h3>
16
- <p>Love 2015 no es una película típica de Hollywood. Es una película de arte que explora los temas del amor, el sexo y la memoria de una manera única y no convencional. Utiliza la tecnología 3D para crear una experiencia inmersiva e íntima para los espectadores, que son invitados a presenciar las escenas crudas y realistas de pasión y dolor entre los personajes. También utiliza largas tomas, iluminación natural y un diálogo mínimo para crear una atmósfera realista y espontánea. La película es una fiesta visual y auditiva que merece ser vista en alta calidad y sin interrupciones. </p>
17
- <h3>El impacto erótico y emocional del amor 2015</h3>
18
-
19
- <h3>La disponibilidad y accesibilidad de Love 2015</h3>
20
- <p>Love 2015 no es una película ampliamente disponible. Se trata de una película independiente que ha enfrentado dificultades de distribución y exhibición debido a su controvertido contenido. Ha sido prohibida o censurada en algunos países, y limitada o restringida en otros. También ha sido difícil de encontrar en teatros o plataformas en línea, especialmente en su versión original en 3D. Por lo tanto, descargarlo puede ser la forma más fácil y conveniente de verlo, siempre y cuando lo hagas legal y éticamente. </p>
21
- <p></p>
22
- <h2>Cómo descargar Love 2015? </h2>
23
- <p>Si has decidido descargar Love 2015, debes ser consciente de algunos problemas y desafíos que puedan surgir. Aquí hay algunos consejos y trucos para ayudarte a descargarlo de forma segura y legal:</p>
24
- <h3>Las cuestiones legales y éticas de descargar Love 2015</h3>
25
- <p>Descargar Love 2015 podría ser ilegal o poco ético dependiendo de dónde vivas y cómo lo hagas. Deberías respetar los derechos de propiedad intelectual de los cineastas y los actores, que han puesto mucho esfuerzo y riesgo en hacer esta película. También debe evitar descargarlo de fuentes ilegales o sospechosas, como sitios de torrent o plataformas para compartir archivos, que podrían exponerlo a virus, malware o consecuencias legales. Siempre debe comprobar las leyes y reglamentos de su país antes de descargar cualquier película, y utilizar solo los servicios autorizados y de buena reputación que ofrecen descargas legales. </p>
26
- <h3>Las mejores plataformas y servicios para descargar Love 2015</h3>
27
- <p>Hay varias plataformas y servicios que ofrecen descargas legales de Love 2015, ya sea gratis o por una tarifa. Algunos de ellos son:</p>
28
- <tabla>
29
- <tr>
30
- <th>Plataforma/Servicio</th>
31
- <th>Precio</th>
32
- <th>Características</th>
33
- </tr>
34
- <tr>
35
- <td>Netflix</td>
36
- <td>$8.99-$17.99 por mes</td>
37
- <td>- Opción de streaming y descarga<br>- Disponible en muchos países<br>- Versión 2D original solamente</td>
38
- </tr>
39
- <tr>
40
- <td>Amazon Prime Video</td>
41
- <td>$12.99 por mes o $119 por año</td>
42
-
43
- </tr>
44
- <tr>
45
- <td>iTunes</td>
46
- <td>$4.99 para alquilar o $14.99 para comprar</td>
47
- <td>- Opción de descarga solamente<br>- Disponible en algunos países<br>- Versión original en 2D solamente</td>
48
- </tr>
49
- <tr>
50
- <td>Vudu</td>
51
- <td>$4.99 para alquilar o $14.99 para comprar</td>
52
- <td>- Opción de descarga solamente<br>- Disponible en los Estados Unidos solamente<br>- Versión 2D original solamente</td>
53
- </tr>
54
- <tr>
55
- <td>Películas de YouTube</td>
56
- <td>$4.99 para alquilar o $14.99 para comprar</td>
57
- <td>- Opción de descarga solamente<br>- Disponible en algunos países<br>- Versión original en 2D solamente</td>
58
- </tr>
59
- <tr>
60
- <td>FandangoNOW</td>
61
- <td>$4.99 para alquilar o $14.99 para comprar</td>
62
- <td>- Opción de descarga solamente<br>- Disponible en los Estados Unidos solamente<br>- Versión 2D original solamente</td>
63
- </tr>
64
- <tr>
65
- <td>Google Play Películas & TV</td <td>Google Play Películas & TV</td>
66
- <td>$4.99 para alquilar o $14.99 para comprar</td>
67
- <td>- Opción de descarga solamente<br>- Disponible en algunos países<br>- Versión original en 2D solamente</td>
68
- </tr>
69
- <tr>
70
- <td>3DGO! </td>
71
- <td>$7.99 para alquilar</td>
72
- <td>- Streaming y descarga de opciones<br>- Disponible en los Estados Unidos y Canadá solo<br>- Versión 3D original solo</td>
73
- </tr>
74
- </tabla>
75
- <p>Puedes elegir la plataforma o servicio que se adapte a tus preferencias y presupuesto, y seguir sus instrucciones para descargar Love 2015. Es posible que necesite crear una cuenta, proporcionar sus detalles de pago y descargar una aplicación o software específico para acceder a la película. </p>
76
- <h3>Los consejos y trucos para descargar Love 2015</h3>
77
- <p>Aquí hay algunos consejos y trucos para hacer su experiencia de descarga más agradable y sin problemas:</p>
78
- <ul>
79
- <li>Asegúrese de tener una conexión a Internet estable y rápida, ya que el archivo de película puede ser grande y tomar mucho tiempo para descargar. </li>
80
- <li>Asegúrese de que tiene suficiente espacio de almacenamiento en el dispositivo, ya que el archivo de película puede ocupar mucho espacio y ralentizar el dispositivo. </li>
81
- <li>Asegúrese de tener un dispositivo y un software compatibles, ya que el archivo de película podría no funcionar en algunos dispositivos o formatos. </li>
82
-
83
- <li>Asegúrate de tener un ambiente cómodo y privado, ya que la película contiene escenas explícitas y gráficas que podrían no ser adecuadas para algunas audiencias o configuraciones. </li>
84
- </ul>
85
- <h2>Conclusión</h2>
86
- <p>En conclusión, Love 2015 es una película que te hará sentir un montón de cosas, de asombro a shock, de placer a dolor, de amor a odio. Es una película que desafiará tu percepción del cine, el arte y la realidad. Es una película que se quedará contigo mucho después de verla. Si eres lo suficientemente curioso y aventurero para descargarlo, no te arrepentirás. </p>
87
- <h2>Preguntas frecuentes</h2>
88
- <h4>¿Cuál es el significado de Amor 2015? </h4>
89
- <p>No hay respuesta definitiva a esta pregunta, ya que la película está abierta a la interpretación y la opinión personal. Sin embargo, algunos posibles temas o mensajes que la película explora son: el poder y la fragilidad del amor, la belleza y la fealdad del sexo, la alegría y el dolor de la memoria, la ilusión y la realidad del cine, y la vida y muerte del arte. </p>
90
- <h4>¿El amor 2015 se basa en una historia real? </h4>
91
- <p>No, Love 2015 no se basa en una historia real. Es una historia de ficción escrita por Gaspar Noé, inspirado en sus propias experiencias y fantasías. Sin embargo, algunos elementos de la película se basan en eventos reales o personas. Por ejemplo, el nombre del hijo de Murphy, Gaspar, es una referencia al propio hijo de Noé con su ex novia Roxane Mesquida. El nombre de Electra es una referencia al personaje de cómic favorito de Noé, Elektra. La escena donde Murphy ve Enter the Void en un cine es una referencia a la película anterior de Noé. </p>
92
- <h4>¿Cómo se hizo el amor 2015? </h4>
93
-
94
- <h4>¿Quiénes son los actores de Love 2015? </h4>
95
- <p>Los actores de Love 2015 son Karl Glusman como Murphy, Aomi Muyock como Electra y Klara Kristin como Omi. Los tres actores estaban haciendo su debut en la pantalla en esta película, y fueron elegidos por Noé después de conocerlos en un club. Acordaron hacer la película sin leer el guion ni saber mucho sobre el director. También acordaron hacer las escenas de sexo sin dobles corporales ni prótesis. Se les pagaba alrededor de 1000 euros por día por su trabajo. </p>
96
- <h4>¿Dónde puedo ver Love 2015? </h4>
97
- <p>Puedes ver Love 2015 descargándolo desde una de las plataformas o servicios mencionados anteriormente, o transmitiéndolo online si está disponible en tu país. También puede comprar o alquilar un DVD o Blu-ray de la película si está disponible en su región. Sin embargo, debe tener en cuenta que algunas versiones de la película pueden ser <p>Sin embargo, debe tener en cuenta que algunas versiones de la película pueden ser censuradas o cortadas, dependiendo del país o la plataforma. Si quieres ver la película en su forma original y sin cortar, deberías buscar la versión en 3D, que es la versión preferida del director. También debe utilizar un dispositivo compatible con 3D y gafas para disfrutar del efecto completo de la película. </p> 64aa2da5cf<br />
98
- <br />
99
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Descargar Apk Mod 69 En Vivo.md DELETED
@@ -1,67 +0,0 @@
1
-
2
- <h1>Descargar APK Mod 69 en vivo: Una guía para los usuarios de Android</h1>
3
- <p>Si usted está buscando una manera de darle vida a sus opciones de entretenimiento en su dispositivo Android, es posible que desee echa un vistazo APK Mod 69 Live. Esta es una aplicación que te permite ver videos en vivo de magníficos anfitriones de todo el mundo. También puede interactuar con ellos y otros espectadores, enviar regalos y monedas, y disfrutar de una variedad de contenido que se adapte a sus preferencias. En este artículo, te mostraremos qué es APK Mod 69 Live, cómo descargarlo e instalarlo, y cómo usarlo. </p>
4
- <h2>descargar apk mod 69 en vivo</h2><br /><p><b><b>Download File</b> &#9999; <a href="https://bltlly.com/2v6Jbr">https://bltlly.com/2v6Jbr</a></b></p><br /><br />
5
- <h2>¿Qué es APK Mod 69 Live? </h2>
6
- <p>APK Mod 69 Live es una aplicación que te permite ver videos de transmisión en vivo de hermosos anfitriones de diferentes países. Puede elegir entre varias categorías y canales, como Tailandia, Indonesia, Vietnam, Corea, Japón, China y más. También puede chatear con los anfitriones y otros espectadores, enviar regalos y monedas, y unirse a la diversión. </p>
7
- <h3>Características de APK Mod 69 Live</h3>
8
- <p>Algunas de las características de APK Mod 69 Live son:</p>
9
- <ul>
10
- <li>Transmisión de vídeo y audio de alta calidad</li>
11
- <li>Miles de hosts para elegir</li>
12
- <li> Diferentes categorías y canales para adaptarse a su gusto</li>
13
- <li>Interfaz fácil y sencilla</li>
14
- <li>Gratis para descargar y usar</li>
15
- <li>No se requiere registro o login</li>
16
- <li>No hay anuncios o ventanas emergentes</li>
17
- <li>Acceso ilimitado a todo el contenido</li>
18
- </ul>
19
- <h3>Beneficios de APK Mod 69 Live</h3>
20
- <p>Algunos de los beneficios de APK Mod 69 Live son:</p>
21
- <ul>
22
- <li>Puedes disfrutar de una variedad de contenido que no está disponible en otras plataformas</li>
23
- <li>Puede interactuar con los anfitriones y otros espectadores en tiempo real</li>
24
- <li>Puedes apoyar a tus anfitriones favoritos enviando regalos y monedas</li>
25
- <li>Puedes descubrir nuevas culturas e idiomas</li>
26
- <li> Usted puede divertirse y relajarse en cualquier momento y en cualquier lugar</li>
27
- </ul>
28
- <h2>Cómo descargar e instalar APK Mod 69 Live? </h2>
29
- <p>Si desea descargar e instalar APK Mod 69 Live en su dispositivo Android, debe seguir estos pasos:</p>
30
- <p></p>
31
-
32
- <p>Dado que APK Mod 69 Live no está disponible en Google Play Store, es necesario habilitar fuentes desconocidas en el dispositivo. Esto le permitirá instalar aplicaciones desde fuentes distintas de la tienda oficial. Para hacer esto, vaya a Configuración > Seguridad > Fuentes desconocidas y conéctelo. </p>
33
- <h3>Paso 2: Descargar el archivo APK</h3>
34
- <p>Siguiente, es necesario descargar el archivo APK de APK Mod 69 Live. Puede hacer esto haciendo clic en este enlace: <a href="( 1 )">Descargar APK Mod 69 Live v2.10.4.3</a>. Esto te llevará a un sitio web donde puedes descargar el archivo de forma segura. </p>
35
- <h3>Paso 3: Instalar el archivo APK</h3>
36
- <p>Una vez que haya descargado el archivo, debe instalarlo en su dispositivo. Para hacer esto, busque el archivo en su carpeta de descargas o barra de notificaciones y toque en él. Verá una ventana emergente pidiéndole que confirme la instalación. Toque en Instalar y espere a que el proceso termine. </p>
37
- <h3>Paso 4: Inicie la aplicación y disfrute</h3>
38
- <p>Finalmente, puede iniciar la aplicación y disfrutar viendo videos en vivo de hermosos anfitriones. Para ello, vaya a su cajón de aplicaciones y toque en el icono de APK Mod 69 Live. Verás la pantalla principal de la app, donde podrás navegar por diferentes categorías y canales. También puede utilizar la función de búsqueda para encontrar hosts o contenidos específicos. </p>
39
- <h2>Cómo utilizar APK Mod 69 Live? </h2>
40
- <p>Usar APK Mod 69 Live es muy fácil y simple. Aquí hay algunos consejos sobre cómo usar la aplicación:</p>
41
- <h3>Explorar las categorías y canales</h3>
42
- <p>La aplicación tiene varias categorías y canales que puedes explorar. Puedes encontrarlos en la parte superior de la pantalla principal, donde puedes deslizar hacia la izquierda o hacia la derecha para ver más opciones. Algunas de las categorías son Tailandia, Indonesia, Vietnam, Corea, Japón, China y más. También puedes encontrar canales basados en géneros, como música, danza, comedia, juegos y más. Toque en cualquier categoría o canal para ver la lista de hosts que están en vivo o fuera de línea. </p>
43
- <h3>Ver videos en vivo de anfitriones hermosos</h3>
44
-
45
- <h3>Interactuar con los anfitriones y otros espectadores</h3>
46
- <p>Una de las mejores características de APK Mod 69 Live es que se puede interactuar con los anfitriones y otros espectadores en tiempo real. Puede chatear con ellos escribiendo su mensaje en el cuadro de chat y tocando en Enviar. También puedes usar emojis, pegatinas y GIF para expresarte mejor. También puede seguir a sus anfitriones favoritos tocando el botón Seguir en su perfil. Esto le permitirá recibir notificaciones cuando se pongan en marcha. </p>
47
- <h3>Enviar regalos y monedas para apoyar a sus anfitriones favoritos</h3>
48
- <p>Si quieres mostrar tu aprecio y apoyo a tus anfitriones favoritos, puedes enviarles regalos y monedas. Los regalos son artículos virtuales que puedes comprar con monedas, que son la moneda de la aplicación. Puedes obtener monedas viendo anuncios o comprándolos con dinero real. Para enviar un regalo, toca el icono de regalo en la parte inferior de la pantalla y elige entre una variedad de opciones, como flores, corazones, anillos, autos, aviones y más. Cuanto más caro sea el regalo, más monedas gastarás. El anfitrión recibirá un porcentaje de las monedas como ingreso. </p>
49
- <h2>Conclusión</h2>
50
- <p>APK Mod 69 Live es una aplicación increíble que le permite ver videos en vivo de transmisión de magníficos anfitriones de todo el mundo. También puede interactuar con ellos y otros espectadores, enviar regalos y monedas, y disfrutar de una variedad de contenido que se adapte a sus preferencias. Si quieres descargar e instalar APK Mod 69 Live en tu dispositivo Android, solo tienes que seguir los pasos de este artículo y empezar a divertirse. </p>
51
- <h2>Preguntas frecuentes</h2>
52
- <p>Aquí hay algunas preguntas frecuentes sobre APK Mod 69 Live:</p>
53
- <ul>
54
- <li><b>Es APK Mod 69 Vivir seguro de usar? </b></li>
55
- <li>Sí, APK Mod 69 Live es seguro de usar siempre y cuando se descarga desde una fuente de confianza como <a href="">este enlace</a>. La aplicación no contiene ningún virus o malware que podría dañar su dispositivo o datos. </li>
56
- <li><b>Es APK Mod 69 Live legal de usar? </b></li>
57
-
58
- <li><b>Es APK Mod 69 Live libre de usar? </b></li>
59
- <li>Sí, APK Mod 69 Live es de uso gratuito y no requiere ningún registro o login. Sin embargo, si desea enviar regalos o monedas a los anfitriones, tendrá que comprarlos con dinero real o ver anuncios. </li>
60
- <li><b>¿Cómo puedo contactar con APK Mod 69 Live? </b></li>
61
- <li>Si tiene alguna pregunta o comentario sobre APK Mod 69 Live, puede ponerse en contacto con ellos enviando un correo electrónico a [email protected]. </li>
62
- <li><b>¿Cómo puedo actualizar APK Mod 69 Live? </b></li>
63
- <li>Si desea actualizar APK Mod 69 Live, tendrá que descargar la última versión del archivo APK de <a href="">este enlace</a> e instalarlo en su dispositivo. También puede buscar actualizaciones dentro de la aplicación tocando en el icono de menú en la esquina superior izquierda de la pantalla y seleccionando Buscar actualizaciones.</li>
64
- </ul>
65
- <p>Espero que este artículo te haya ayudado a aprender más sobre APK Mod 69 Live y cómo descargarlo y usarlo. Si tienes algún comentario o sugerencia, por favor siéntete libre de compartirlos a continuación. ¡Gracias por leer y tener un gran día! </p> 64aa2da5cf<br />
66
- <br />
67
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/boto3/docs/base.py DELETED
@@ -1,51 +0,0 @@
1
- # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You
4
- # may not use this file except in compliance with the License. A copy of
5
- # the License is located at
6
- #
7
- # https://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is
10
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
- # ANY KIND, either express or implied. See the License for the specific
12
- # language governing permissions and limitations under the License.
13
- from botocore.compat import OrderedDict
14
-
15
-
16
- class BaseDocumenter:
17
- def __init__(self, resource):
18
- self._resource = resource
19
- self._client = self._resource.meta.client
20
- self._resource_model = self._resource.meta.resource_model
21
- self._service_model = self._client.meta.service_model
22
- self._resource_name = self._resource.meta.resource_model.name
23
- self._service_name = self._service_model.service_name
24
- self._service_docs_name = self._client.__class__.__name__
25
- self.member_map = OrderedDict()
26
- self.represents_service_resource = (
27
- self._service_name == self._resource_name
28
- )
29
- self._resource_class_name = self._resource_name
30
- if self._resource_name == self._service_name:
31
- self._resource_class_name = 'ServiceResource'
32
-
33
- @property
34
- def class_name(self):
35
- return f'{self._service_docs_name}.{self._resource_name}'
36
-
37
-
38
- class NestedDocumenter(BaseDocumenter):
39
- def __init__(self, resource, root_docs_path):
40
- super().__init__(resource)
41
- self._root_docs_path = root_docs_path
42
- self._resource_sub_path = self._resource_name.lower()
43
- if self._resource_name == self._service_name:
44
- self._resource_sub_path = 'service-resource'
45
-
46
- @property
47
- def class_name(self):
48
- resource_class_name = self._resource_name
49
- if self._resource_name == self._service_name:
50
- resource_class_name = 'ServiceResource'
51
- return f'{self._service_docs_name}.{resource_class_name}'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_internal/network/cache.py DELETED
@@ -1,69 +0,0 @@
1
- """HTTP cache implementation.
2
- """
3
-
4
- import os
5
- from contextlib import contextmanager
6
- from typing import Generator, Optional
7
-
8
- from pip._vendor.cachecontrol.cache import BaseCache
9
- from pip._vendor.cachecontrol.caches import FileCache
10
- from pip._vendor.requests.models import Response
11
-
12
- from pip._internal.utils.filesystem import adjacent_tmp_file, replace
13
- from pip._internal.utils.misc import ensure_dir
14
-
15
-
16
- def is_from_cache(response: Response) -> bool:
17
- return getattr(response, "from_cache", False)
18
-
19
-
20
- @contextmanager
21
- def suppressed_cache_errors() -> Generator[None, None, None]:
22
- """If we can't access the cache then we can just skip caching and process
23
- requests as if caching wasn't enabled.
24
- """
25
- try:
26
- yield
27
- except OSError:
28
- pass
29
-
30
-
31
- class SafeFileCache(BaseCache):
32
- """
33
- A file based cache which is safe to use even when the target directory may
34
- not be accessible or writable.
35
- """
36
-
37
- def __init__(self, directory: str) -> None:
38
- assert directory is not None, "Cache directory must not be None."
39
- super().__init__()
40
- self.directory = directory
41
-
42
- def _get_cache_path(self, name: str) -> str:
43
- # From cachecontrol.caches.file_cache.FileCache._fn, brought into our
44
- # class for backwards-compatibility and to avoid using a non-public
45
- # method.
46
- hashed = FileCache.encode(name)
47
- parts = list(hashed[:5]) + [hashed]
48
- return os.path.join(self.directory, *parts)
49
-
50
- def get(self, key: str) -> Optional[bytes]:
51
- path = self._get_cache_path(key)
52
- with suppressed_cache_errors():
53
- with open(path, "rb") as f:
54
- return f.read()
55
-
56
- def set(self, key: str, value: bytes, expires: Optional[int] = None) -> None:
57
- path = self._get_cache_path(key)
58
- with suppressed_cache_errors():
59
- ensure_dir(os.path.dirname(path))
60
-
61
- with adjacent_tmp_file(path) as f:
62
- f.write(value)
63
-
64
- replace(f.name, path)
65
-
66
- def delete(self, key: str) -> None:
67
- path = self._get_cache_path(key)
68
- with suppressed_cache_errors():
69
- os.remove(path)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/pyproject_hooks/_compat.py DELETED
@@ -1,8 +0,0 @@
1
- __all__ = ("tomllib",)
2
-
3
- import sys
4
-
5
- if sys.version_info >= (3, 11):
6
- import tomllib
7
- else:
8
- from pip._vendor import tomli as tomllib