Spaces:
Sleeping
Sleeping
| """ | |
| Simple Gradio app for HuggingFace Spaces | |
| """ | |
| import gradio as gr | |
| import os | |
| import sys | |
| # Add py directory to path | |
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'py')) | |
| def chat(message, history): | |
| """Simple echo function for testing""" | |
| return f"Echo: {message}" | |
| # Create simple interface | |
| demo = gr.ChatInterface( | |
| fn=chat, | |
| title="AI Assistant Multi-Agent System", | |
| description="A multi-agent conversational AI system (simplified for testing)" | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() |