| import gradio as gr | |
| def update(name): | |
| return f"Welcome to Gradio, {name}!" | |
| intro_md = """ | |
| # Introduction | |
| This space exists to allow you to benchmark [TGI](https://github.com/huggingface/text-generation-inference) by using dev mode on spaces. | |
| """ | |
| with gr.Blocks() as demo: | |
| gr.Markdown(intro_md) | |
| demo.launch() | |