Spaces:
Runtime error
Runtime error
| #display a text | |
| import gradio as gr | |
| def text_display(text): | |
| return text | |
| demo = gr.Interface("huggingface/EleutherAI/gpt-j-6B", inputs=gr.Textbox(lines=5, label="Input Text"), "text") | |
| #alternatively use gr.TextBox() | |
| demo.launch() |