Luis Oala commited on
Commit
5b8a5ea
·
1 Parent(s): d847df1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ io2 = gr.Interface.load("huggingface/gpt2-large")
20
 
21
  #io4 = gr.Interface.load("huggingface/gpt2-xl")
22
 
23
- def inference(text, model):
24
  """
25
  if model == "gpt2-large":
26
  outtext = io2(text)
 
20
 
21
  #io4 = gr.Interface.load("huggingface/gpt2-xl")
22
 
23
+ def inference(text):
24
  """
25
  if model == "gpt2-large":
26
  outtext = io2(text)