File size: 693 Bytes
3232d64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import gradio as gr
import logging

# Import common utilities
from pipelines.utils.common import (
    set_ui_component,
    get_ui_component,
    set_evaluation_type,
    get_evaluation_type,
    update_evaluation_params,
    search_and_filter
)

# Import API utilities
from pipelines.utils.api import (
    update_status,
    fetch_logs,
    fetch_results
)

# Set up logger
logger = logging.getLogger(__name__)

# Set functions to make available to the app
__all__ = [
    "set_ui_component",
    "get_ui_component", 
    "set_evaluation_type",
    "get_evaluation_type",
    "update_evaluation_params",
    "search_and_filter",
    "update_status",
    "fetch_logs",
    "fetch_results"
]