GLS_Bot / README.md
Hund45's picture
Upload 3 files
16c227f verified
|
Raw History Blame Contribute Delete
1.05 kB

A newer version of the Gradio SDK is available: 6.30.0

Upgrade
metadata
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:

OPENAI_API_KEY
GLS_NAME
GLS_PASSWORD

Required before making the Space public:

APP_USER
APP_PASS

Optional Spaces Secrets:

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.