Wootang01 commited on
Commit
605dfb9
·
1 Parent(s): 46898ed

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ title = "Text Generator GPT-J-6B"
4
+ description = "Kindly input your text, submit and the computer will predict subsequent words for your text."
5
+
6
+ gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", inputs = gr.inputs.Textbox(lines=5, label="Input text.", title=title, description=description, enable_queue = True).launch()