Omnibus commited on
Commit
3649895
1 Parent(s): abdd62e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import spaces
2
  from transformers import pipeline
3
  import gradio as gr
4
  model = 'mosaicml/mpt-7b-instruct'
 
5
 
6
  pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, device='cuda:0')
7
 
 
2
  from transformers import pipeline
3
  import gradio as gr
4
  model = 'mosaicml/mpt-7b-instruct'
5
+ tokenizer = 'mosaicml/mpt-7b-instruct'
6
 
7
  pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, device='cuda:0')
8