Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from llama_generate import run | |
| def greet(query): | |
| results = run(query) | |
| return results | |
| sample_list = [ | |
| "Who is Lihu Chen?.", | |
| "Who is Gaël Varoquaux?" | |
| ] | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text", examples=sample_list, cache_examples=False) | |
| iface.launch() |