umm-maybe commited on
Commit
69889de
·
1 Parent(s): f662517

Whoops no GPU

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import json
3
  from transformers import pipeline
4
  # Load the pipeline
5
- tourModel = pipeline(model="manhan/GPT-Tour", device=0)
6
 
7
  def getTour(hh_income,hh_size,age,sex,edu,wrk):
8
  # person = a dict with person-level and hh-level attributes:
 
2
  import json
3
  from transformers import pipeline
4
  # Load the pipeline
5
+ tourModel = pipeline(model="manhan/GPT-Tour")
6
 
7
  def getTour(hh_income,hh_size,age,sex,edu,wrk):
8
  # person = a dict with person-level and hh-level attributes: