Spaces:
Sleeping
Sleeping
umm-maybe
commited on
Commit
·
c0bb523
1
Parent(s):
c31c636
Upgrade to GPU
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import json
|
|
3 |
|
4 |
from transformers import pipeline
|
5 |
# Load the pipeline
|
6 |
-
tourModel = pipeline(model="manhan/GPT-Tour")
|
7 |
|
8 |
def getTour(income,size,years,sex,edu,wrk):
|
9 |
# person = a dict with person-level and hh-level attributes:
|
|
|
3 |
|
4 |
from transformers import pipeline
|
5 |
# Load the pipeline
|
6 |
+
tourModel = pipeline(model="manhan/GPT-Tour", device=0)
|
7 |
|
8 |
def getTour(income,size,years,sex,edu,wrk):
|
9 |
# person = a dict with person-level and hh-level attributes:
|