Spaces:
Runtime error
Runtime error
kmkarakaya
commited on
Commit
·
92d0772
1
Parent(s):
4f0ad71
second
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import tensorflow as tf
|
2 |
-
|
3 |
from transformers import AutoTokenizer, TFGPT2LMHeadModel
|
4 |
-
|
5 |
import gradio as gr
|
6 |
|
7 |
review_model = TFGPT2LMHeadModel.from_pretrained("kmkarakaya/turkishReviews-ds")
|
|
|
1 |
import tensorflow as tf
|
2 |
+
#!pip install transformers[sentencepiece] -q
|
3 |
from transformers import AutoTokenizer, TFGPT2LMHeadModel
|
4 |
+
#!pip install gradio -q
|
5 |
import gradio as gr
|
6 |
|
7 |
review_model = TFGPT2LMHeadModel.from_pretrained("kmkarakaya/turkishReviews-ds")
|