Spaces:
Runtime error
Runtime error
File size: 350 Bytes
5a16046 e8fd69f 5a16046 686aa3a 5a16046 686aa3a 5a16046 d94406a 5a16046 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
from confidence import run
def greet(query):
results = run(query, sample_size=5)
return results
sample_list = [
"Tell me something about Lihu Chen, e.g., birth date and place and short bio ",
]
iface = gr.Interface(fn=greet, inputs="text", outputs="text", examples=sample_list, cache_examples=True)
iface.launch() |