Spaces:
Runtime error
Runtime error
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() |