Spaces:
Running
Running
Download Browser_Agent/workflows/tasks.py from Luca448/APP-Backend: direct link, hf CLI and curl.
- Browser
- Download file 436 Bytes
-
https://huggingface.co/spaces/Luca448/APP-Backend/resolve/main/Browser_Agent/workflows/tasks.py
- Command line
-
hf download hf://spaces/Luca448/APP-Backend/Browser_Agent/workflows/tasks.py
-
curl -L -o tasks.py https://huggingface.co/spaces/Luca448/APP-Backend/resolve/main/Browser_Agent/workflows/tasks.py
436 Bytes
| # workflows/tasks.py | |
| # Vordefinierte, häufige Workflows (z.B. Account-Erstellung über Temp-Mail) | |
| TEMP_MAIL_WORKFLOW = """ | |
| 1. Gehe zu einer Temp-Mail Webseite. | |
| 2. Extrahiere die generierte E-Mail-Adresse. | |
| 3. Markiere die Aufgabe als abgeschlossen mit der E-Mail-Adresse als Ergebnis. | |
| """ | |
| def get_predefined_task(task_name: str) -> str: | |
| tasks = { | |
| "temp_mail": TEMP_MAIL_WORKFLOW, | |
| } | |
| return tasks.get(task_name, "") | |