Spaces:
Sleeping
Sleeping
File size: 525 Bytes
7b363cb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | """
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() |