sahrulrashid commited on
Commit
fa08d8e
·
verified ·
1 Parent(s): c7248e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,6 +4,6 @@ import gradio as gr
4
  def text_display(text):
5
  return text
6
 
7
- demo = gr.Interface(text_display, gr.Text(), "text")
8
  #alternatively use gr.TextBox()
9
  demo.launch()
 
4
  def text_display(text):
5
  return text
6
 
7
+ demo = gr.Interface("huggingface/EleutherAI/gpt-j-6B", inputs=gr.Textbox(lines=5, label="Input Text"), "text")
8
  #alternatively use gr.TextBox()
9
  demo.launch()