Spaces:
Runtime error
Runtime error
kmkarakaya
commited on
Commit
·
1e30ecb
1
Parent(s):
677aeca
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, TFGPT2LMHeadModel
|
3 |
|
4 |
-
review_model = TFGPT2LMHeadModel.
|
5 |
-
ined("kmkarakaya/turkish
|
6 |
-
Reviews-ds")
|
7 |
review_tokenizer = AutoTokenizer.from_pretrained("kmkarakaya/turkishReviews-ds")
|
8 |
|
9 |
def generate_review(prompt):
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, TFGPT2LMHeadModel
|
3 |
|
4 |
+
review_model = TFGPT2LMHeadModel.from_pretrained("kmkarakaya/turkishReviews-ds")
|
|
|
|
|
5 |
review_tokenizer = AutoTokenizer.from_pretrained("kmkarakaya/turkishReviews-ds")
|
6 |
|
7 |
def generate_review(prompt):
|