Running StableDiffusion with just one click on a Mac
AD |
StableDiffusion is different from the client software we usually use. It requires entering instructions at the terminal each time it runs, and then opening the browser to input the website address
StableDiffusion is different from the client software we usually use. It requires entering instructions at the terminal each time it runs, and then opening the browser to input the website address. The operation is quite cumbersome. We can use the shortcut instruction tool provided by the Mac computer to run it with one click, and the script part of this instruction is written with ChatGPT assistance.
Open the shortcut command app, locate the action 'Run AppleScript', and drag it into the left editing panel
Copy the following code to replace the default code. The purpose of these codes is to start Terminal and enter the necessary instructions to start SD. After replacing, I see a purple color with no formatting in the text. Don't panic, it's not your problem. Keep moving forward
Onrun {input, parameters} tellapplicationTerminalToactivate # Open terminaltellapplicationSystemEventsTokystrokeCD/Users/Bavoch/table differentiation webuiDelayoneTellapplicationSystemEventsTokystrokeReturnTellapplicationSystemEventsTokystroke./webui. shDelayoneTellapplicationSystemEventsTokystrokeReturnend run
Click on the "Hammer" icon to compile. The first run may prompt for permission issues. Go to "Settings Privacy and Security Auxiliary Functions", turn on the "Siriationsd" switch, and then try again. It should be no problem.
If everything is normal, the code will be formatted as shown in the following image, which is much more comfortable.
Find the 'Open URL' action and add it to the editing panel
Click on the blue text 'AppleScript Results' and click' Clear 'in the pop-up window
http://one27.0.0.one:7860
This completes the creation of this shortcut command. You can now click the "Play" button in the upper right corner to run it and see if it is successful.
Tip: When the running address is first opened, it will prompt "Unable to access this website" because the terminal command has not been completed yet. Wait a moment, and it will be ready.
Finally, let's do some finishing work and give your shortcut commands an easily recognizable name with a nice icon. For ease of use, we checked "Fixed in Menu Bar" in the right property panel and set a shortcut key (the other checks were checked by the system when I set the shortcut key, which felt like a bug, regardless of it)
This way, every time you click on the shortcut command menu in the menu bar or use the set shortcut keys in the future, you can run SD.
Disclaimer: The content of this article is sourced from the internet. The copyright of the text, images, and other materials belongs to the original author. The platform reprints the materials for the purpose of conveying more information. The content of the article is for reference and learning only, and should not be used for commercial purposes. If it infringes on your legitimate rights and interests, please contact us promptly and we will handle it as soon as possible! We respect copyright and are committed to protecting it. Thank you for sharing.(Email:[email protected])
Mobile advertising space rental |
Tag: Running StableDiffusion with just one click on Mac
With the mission of promoting agriculture through technology, Xinba Xinxuan Group's agricultural sector Hainan headquarters sets sail in Sanya
NextDo you want to turn around? Foxconn Terry Gou never dreamed that there would be no meeting in the Chinese market
Guess you like
-
2024 Spring Festival Travel Rush New Train Schedule: 321 Additional Trains Nationwide Starting January 5th, Further Enhancing Service Quality and EfficiencyDetail
2024-12-23 12:05:44 1
-
Changan Automobile and EHang Intelligent Sign Strategic Cooperation Agreement to Build Future Flying Car EcosystemDetail
2024-12-22 15:08:38 1
-
Liaoning Province and Baidu Sign Strategic Cooperation Framework Agreement to Jointly Promote AI Industry DevelopmentDetail
2024-12-20 19:36:38 1
-
Wanxun Technology Secures Nearly RMB 200 Million in Funding to Lead Global Soft Robotics Innovation, Set to Showcase Breakthroughs at CES 2025Detail
2024-12-20 15:54:19 1
-
Huolala's 2025 Spring Festival Freight Festival: Supporting Spring Festival Travel, Offering New Year Benefits to Users and DriversDetail
2024-12-20 13:38:20 1
-
The Third Meeting of the Third Council of the International New Energy Solutions Platform (INES): Charting a Blueprint for a "Dual Carbon" FutureDetail
2024-12-19 17:03:07 1
-
WeChat's Official Account Launches "Author Read Aloud Voice" Feature for Personalized Article ListeningDetail
2024-12-18 17:19:57 1
-
The 12th China University Students' Polymer Materials Innovation and Entrepreneurship Competition Finals Grand Opening in Guangrao CountyDetail
2024-12-18 16:04:28 1
-
Tracing the Ancient Shu Road, Winds of the Three Kingdoms: Global Influencer Shu Road Journey LaunchesDetail
2024-12-18 15:23:35 1
-
Seres: A Pioneer in ESG Practices, Driving Sustainable Development of China's New Energy Vehicle IndustryDetail
2024-12-17 16:20:26 1
- Detail
-
My Health, My Guard: Huawei WATCH D2 Aids Precise Blood Pressure Management in the Winter Health BattleDetail
2024-12-17 09:36:15 1
-
Investigation into the Chaos of Airline Seat Selection: Paid Seat Selection, Seat Locking Mechanisms, and Consumer Rights ProtectionDetail
2024-12-15 16:45:48 1
-
Japanese Scientists Grow Human Organs in Pigs: A Balancing Act of Breakthrough and EthicsDetail
2024-12-14 19:48:50 1
-
Pang Donglai and Sam's Club: Two Paths to Transformation in China's Retail IndustryDetail
2024-12-14 17:57:03 1
-
In-Depth Analysis of China's Precision Reducer Industry: Technological Innovation and Market CompetitionDetail
2024-12-14 16:04:26 1
-
Alibaba's "TAO" App Launches in Japan, Targeting High-Quality Service and Convenient LogisticsDetail
2024-12-13 13:22:23 1
-
In-depth Analysis of China's Cross-border E-commerce Industry Chain: Opportunities and Challenges CoexistDetail
2024-12-13 11:37:17 1
-
Sweet Potato Robotics: How a Unified Software and Hardware Computing Platform Accelerates Robotics Industry DevelopmentDetail
2024-12-13 06:36:34 1
- Detail