import gradio as gr | |
def greet(name): | |
return "Hello " + name + "!!" | |
with gr.Blocks() as demo: | |
gr.Markdown("# Instruction Tuning with Unsloth") | |
gr.Interface(fn=greet, | |
inputs="text", | |
outputs="text") | |
demo.launch() | |
import gradio as gr | |
def greet(name): | |
return "Hello " + name + "!!" | |
with gr.Blocks() as demo: | |
gr.Markdown("# Instruction Tuning with Unsloth") | |
gr.Interface(fn=greet, | |
inputs="text", | |
outputs="text") | |
demo.launch() | |