magnolia-pm
commited on
Commit
•
80d1bd9
1
Parent(s):
2247cb1
update
Browse files
README.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
---
|
2 |
title: Item Desirability Demo
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: streamlit
|
|
|
7 |
sdk_version: 1.17.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
|
|
1 |
---
|
2 |
title: Item Desirability Demo
|
3 |
+
emoji: 🎭
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: yellow
|
6 |
sdk: streamlit
|
7 |
+
python_version: 3.8.16
|
8 |
sdk_version: 1.17.0
|
9 |
app_file: app.py
|
10 |
pinned: false
|
app.py
CHANGED
@@ -76,7 +76,7 @@ auth_token = os.environ.get("item-desirability") or True
|
|
76 |
if 'tokenizer' not in globals():
|
77 |
tokenizer = AutoTokenizer.from_pretrained(
|
78 |
pretrained_model_name_or_path=model_path,
|
79 |
-
use_fast=True,
|
80 |
use_auth_token=auth_token
|
81 |
)
|
82 |
|
|
|
76 |
if 'tokenizer' not in globals():
|
77 |
tokenizer = AutoTokenizer.from_pretrained(
|
78 |
pretrained_model_name_or_path=model_path,
|
79 |
+
# use_fast=True,
|
80 |
use_auth_token=auth_token
|
81 |
)
|
82 |
|