This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| ) | |
| func main() { | |
| // Create file server handler | |
| fs := http.FileServer(http.Dir("./media")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 创建一个对象来存储用户信息和一个数组来存储推文 | |
| const usersMap = {}; | |
| let tweets = []; | |
| // 定义一个函数来提取推文信息 | |
| function extractTweets() { | |
| const tweetElems = document.querySelectorAll('article[data-testid="tweet"]'); | |
| tweetElems.forEach(tweetElem => { | |
| const tweetTextElem = tweetElem.querySelector('[data-testid="tweetText"]'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Get the current directory | |
| cd /d %~dp0\..\.. | |
| REM Define your Python script | |
| REM Python command | |
| SET "cmd=.\venv\Scripts\python -m animatediff generate -c .\projects\proj-awpaint-01\prompts.json -W 384 -H 576 -L 32 -C 16 -o .\projects\proj-awpaint-01\output" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| REM Get the current directory | |
| cd /d %~dp0\..\.. | |
| REM Define your Python script | |
| REM Python command | |
| SET "cmd=.\venv\Scripts\python -m animatediff generate -c .\projects\proj-awpaint-01\prompts.json -W 384 -H 576 -L 256 -C 16 -o .\projects\proj-awpaint-01\output" |