gpt-j-6B / app.py
sahrulrashid's picture
Update app.py
fa08d8e verified
raw
history blame
235 Bytes
#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()