Colby commited on
Commit
8c53b39
·
verified ·
1 Parent(s): b71765b

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ wiki_wiki = wikipediaapi.Wikipedia('Organika ([email protected])', 'en')
27
  # Use a pipeline as a high-level helper
28
  from transformers import pipeline
29
  topic_model = pipeline("zero-shot-classification", model="valhalla/distilbart-mnli-12-9")
30
- model = pipeline("text-generation", model="Colby/StarCoder-3B-WoW-JSON")
31
 
32
  def merlin_chat(message, history):
33
  chat_text = ""
 
27
  # Use a pipeline as a high-level helper
28
  from transformers import pipeline
29
  topic_model = pipeline("zero-shot-classification", model="valhalla/distilbart-mnli-12-9")
30
+ model = pipeline("text-generation", model="Colby/StarCoder-3B-WoW-JSON", device=0)
31
 
32
  def merlin_chat(message, history):
33
  chat_text = ""