Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from src.ui_components import create_interface | |
| # from src.agent_logic import initialize_agent # Placeholder for agent initialization | |
| # Initialize agent (if needed at startup) | |
| # initialize_agent() | |
| def main(): | |
| """Creates and launches the Gradio interface.""" | |
| print("Gradio arayüzü oluşturuluyor...") | |
| iface = create_interface() | |
| print("Gradio arayüzü başlatılıyor...") | |
| iface.launch() | |
| if __name__ == "__main__": | |
| main() | |