Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
4.42.0
Rubiklab Talkback environment
If you're a power user, stop reading and start wasting your time..
Get started
Installation
pip install -r requirements.txt
Make sure you have your .env file based on .env.example
# custom formatting sources
GRADIO_CSS=http://localhost:8001/assets/gradio_app.css
GRADIO_JS=http://localhost:8001/assets/gradio_app.js
# this is the rubiklab backend (on prod: https://api.rubiklab.ai)
RUBIK_BACKEND=http://localhost:8001/api/talkback
How to start
To make everything work, you need to make sure all the below services are up-to-date, the .env file contains the correct paths, and everything is running:
- API backend
- Flask data uploader (part of this repository)
Launch the app [DEV]
gradio gradio_app.py app
cd uploader && python uploadapi.py
If backend is not started yet: Navigate to the Rubiklab backend, and..
php artisan serve --port=8001
Launch the app [PROD]
cd /var/www/talkback
sh prod.sh
- now just wait a few sec.. and done