File size: 1,054 Bytes
78cbf86 ee2e3f0 78cbf86 4c07191 16c227f 4c07191 78cbf86 e493626 78cbf86 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | ---
title: GLS Bot
emoji: 📦
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: "6.26.0"
python_version: "3.12"
app_file: app.py
pinned: false
suggested_hardware: zero-a10g
---
# GLS Lead Bot
Mobile-friendly Gradio app for extracting SugarCRM Leads from screenshots.
After each newly created Lead, the app also creates one Besuchsbericht in SugarCRM.
Duplicate Leads are skipped and do not get a new Besuchsbericht.
New Leads default to status `Kontaktiert`.
Besuchsbericht timing:
- first created Lead: 10:00-10:05
- each next created Lead: 20 minutes after the previous visit ends
- examples: 10:00-10:05, 10:25-10:30, 10:50-10:55
Required Spaces Secrets:
```text
OPENAI_API_KEY
GLS_NAME
GLS_PASSWORD
```
Required before making the Space public:
```text
APP_USER
APP_PASS
```
Optional Spaces Secrets:
```text
OPENAI_MODEL=gpt-4o
SUGAR_BASE_URL=https://glsps.sugaropencloud.eu/rest/v11_27/
SUGAR_PLATFORM=base
SUGAR_CLIENT_ID=sugar
SUGAR_CLIENT_SECRET=
```
Use `APP_USER` and `APP_PASS` to password-protect the app for non-public use.
|