Spaces:
Sleeping

raaf-alpha / app.py
ADO Pipeline
Automated update from ADO 20250502.14
89aaec3
Raw History Blame Contribute Delete
519 Bytes
# app.py
from agents.raaf import chat_interface
if __name__ == "__main__":
import pathlib
from agents.raaf import chat
import gradio as gr
# Load your CSS as a string
css_str = (pathlib.Path(__file__).parent / "style.css").read_text()
# Inject CSS when you build the ChatInterface
chat_interface = gr.ChatInterface(
fn=chat,
type="messages",
css=css_str, # ← here, not in launch()
)
if __name__ == "__main__":
chat_interface.launch()