ejschwartz commited on
Commit
4f80c95
·
1 Parent(s): df6ba08

pipeline again

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ model = AutoModelForCausalLM.from_pretrained(
17
  )
18
 
19
  # Then create the pipeline with the model and tokenizer
20
- #pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer)
21
 
22
  @spaces.GPU
23
  def greet(name):
 
17
  )
18
 
19
  # Then create the pipeline with the model and tokenizer
20
+ pipe = pipeline(task="text-generation", model=model, tokenizer=tokenizer)
21
 
22
  @spaces.GPU
23
  def greet(name):