mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
updated fuinction call
This commit is contained in:
parent
e8fbfccdda
commit
372a474cf6
@ -27,11 +27,11 @@ def open_and_fill_udio(song_description: str, lyrics: str) -> str:
|
||||
try:
|
||||
# Open the specified webpage
|
||||
webbrowser.open('https://udio.com')
|
||||
time.sleep(4) # Wait for the page to load
|
||||
time.sleep(5) # Wait for the page to load
|
||||
|
||||
# Click the input field near the "Create" button
|
||||
# Adjust the x, y coordinates based on your screen resolution
|
||||
pyautogui.click(x=500, y=110)
|
||||
pyautogui.click(x=500, y=120)
|
||||
|
||||
# Fill the song description field
|
||||
pyautogui.write(song_description)
|
||||
|
Loading…
Reference in New Issue
Block a user