File size: 470 Bytes
a519c99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()