Wootang01 commited on
Commit
1b2e00f
1 Parent(s): 7648d2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  #level 5 text generator
2
  import gradio as gr
3
 
4
- api = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
5
 
6
 
7
  def complete_with_gpt(text):
@@ -17,4 +17,4 @@ with gr.Blocks() as demo:
17
 
18
  btn.click(complete_with_gpt, textbox, textbox)
19
 
20
- demo.launch()
 
1
  #level 5 text generator
2
  import gradio as gr
3
 
4
+ api = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
5
 
6
 
7
  def complete_with_gpt(text):
 
17
 
18
  btn.click(complete_with_gpt, textbox, textbox)
19
 
20
+ demo.launch(share="True")