hiwylee's picture
Update app.py
eaf2c66 verified
raw
history blame contribute delete
283 Bytes
import gradio as gr
# gr.load("models/hiwylee/Meta-Llama-3-8B-Instruct_ko").launch()
def greet(name, intensity):
return "Hello, " + name + "!" * int(intensity)
demo = gr.Interface(
fn=greet,
inputs=["text", "slider"],
outputs=["text"],
)
demo.launch(shared=True)