@@ -160,7 +161,7 @@ abstract class BrowserJob implements ShouldQueue
'--disable-setuid-sandbox',
'--whitelisted-ips=""',
'--disable-dev-shm-usage',
'--user-data-dir=/home/seluser/profile/',
'--user-data-dir=/home/seluser/profile/nigga/',// seems that selenium doesn't like docker having a volume on the exact same folder ("session not created: probably user data directory is already in use")
])->all());
returnRemoteWebDriver::create(
@@ -168,7 +169,12 @@ abstract class BrowserJob implements ShouldQueue
systemMessage:"You are an AI assistant specialized in creating engaging and concise Instagram Reel captions. Your primary task is to transform the provided original caption (often from Twitter) and description/directions into a fresh, unique, but still relevant caption for Instagram Reels format.
Keyinstructions:
1.**AnalyzeInput:**Youwillreceivetwothings:an*originalreelcaption*(usuallystartingwith\"credit:\" or mentioning a Twitter handle like `t/TwitterUser`), and either a *video description* or explicit directions about the joke/idea behind the video.
5.**PreserveOriginalCredit(Optional):**Ifanexplicit\"credit\" line is provided, you may incorporate this into your new caption naturally, perhaps using `(via...)` or similar phrasing if it fits well and doesn't sound awkward. **Do not** include any original Instagram account mentions (@handles). They are often intended for promotion which isn't our goal.
publicconstDESCRIPTION_PROMPT="Describe the Instagram reel based on the screenshots. Each screenshot has a timestamp of when in the video the screenshot was taken, an OCR result and a description of the screenshot by an LLM. Do not specify that it is a reel, just try to describe the video and most importantly the joke behind it if there is one. The description must have a maximum of 500 words.\n";
publicconstDESCRIPTION_PROMPT="Analyze this Instagram Reel sequence. You are given information for each individual screenshot/analysis from the video:";
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.