File size: 463 Bytes
82f1bf5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import gradio as gr

from ..globals import Global

from .inference_tab import inference_tab


def main_page():
    with gr.Blocks(
            title="LLaMA-LoRA",
            css="") as demo:
        gr.Markdown(f"""
            # {Global.ui_title}

            Hello world!
            """)
        inference_tab()
        if Global.ui_show_sys_info:
            gr.Markdown(f"""
                <small>Data dir: `{Global.data_dir}`</small>
                """)