BI_ANALYTICS / run.py
ratulsur's picture
Upload 8 files
e51a81b verified
#!/usr/bin/env python3
"""
BI Storyteller - Marketing Analysis Automation Platform
Run this script to start the Gradio application
"""
import sys
import os
# Add the current directory to Python path
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from main import BIStoryteller
if __name__ == "__main__":
print("🎯 Starting BI Storyteller - Marketing Analysis Automation Platform")
print("=" * 60)
# Create and launch the application
app = BIStoryteller()
interface = app.create_interface()
print("\nπŸ“Š BI Storyteller is ready!")
print("🌐 Open your browser and navigate to the provided URL")
print("πŸ”‘ Don't forget to set your Groq API key in the interface")
print("=" * 60)
# Launch with custom settings
interface.launch(
server_name="0.0.0.0", # Allow external access
server_port=7860, # Default Gradio port
share=False, # Set to True if you want a public link
debug=True, # Enable debug mode
show_error=True, # Show detailed error messages
quiet=False # Show startup messages
)