Spaces:
Paused
Paused
File size: 687 Bytes
2267b09 5aa6038 2267b09 5aa6038 c43ff02 5aa6038 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
from llmtuner import create_ui
import gradio as gr
css = '''
#duplicate-button {
margin: auto;
color: white;
background: #1565c0;
border-radius: 100vh;
}
'''
title = 'LLaMA Board: A One-stop Web UI for Getting Started with LLaMA Factory'
description = '<a href="https://github.com/hiyouga/LLaMA-Factory" target="_blank">LLaMA Factory</a>: Training and Evaluating Large Language Models with Minimal Effort'
with gr.Blocks(css=css) as demo:
gr.HTML(f"<h1><center>{title}</center></h1>")
gr.HTML(f"<h3><center>{description}</center></h3>")
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
demo_ui = create_ui()
demo.queue().launch() |