Spaces:
Runtime error
Runtime error
Commit
·
63e1766
1
Parent(s):
0e2c718
Update app.py
Browse files
app.py
CHANGED
@@ -28,13 +28,13 @@ article = """<p style='text-align: center'>On YouTube:</p>
|
|
28 |
<p style='text-align: center'>On Medium:</p>
|
29 |
<p style='text-align: center'><a href='https://medium.com/deep-learning-with-keras/how-to-train-a-hugging-face-causal-language-model-from-scratch-8d08d038168f' target='_blank'>How to Train a Hugging Face Causal Language Model from Scratch with a Custom Dataset and a Custom Tokenizer?</a></p>"""
|
30 |
examples=["Bir hafta önce aldığım cep telefonu",
|
31 |
-
"Tatil için rezervasyon yaptırdım
|
32 |
-
"
|
33 |
-
"Spor salonuna
|
34 |
|
35 |
demo = gr.Interface(fn=generate_review,
|
36 |
-
inputs="
|
37 |
-
outputs= gr.Textbox(lines=
|
38 |
examples=examples,
|
39 |
title=title,
|
40 |
description= description,
|
|
|
28 |
<p style='text-align: center'>On Medium:</p>
|
29 |
<p style='text-align: center'><a href='https://medium.com/deep-learning-with-keras/how-to-train-a-hugging-face-causal-language-model-from-scratch-8d08d038168f' target='_blank'>How to Train a Hugging Face Causal Language Model from Scratch with a Custom Dataset and a Custom Tokenizer?</a></p>"""
|
30 |
examples=["Bir hafta önce aldığım cep telefonu",
|
31 |
+
"Tatil için rezervasyon yaptırdım",
|
32 |
+
"Geçen ay sipariş verdiğim",
|
33 |
+
"Spor salonuna abone oldum ama"]
|
34 |
|
35 |
demo = gr.Interface(fn=generate_review,
|
36 |
+
inputs= gr.Textbox(lines=5, placeholder="enter or select a prompt below..."),,
|
37 |
+
outputs= gr.Textbox(lines=5, placeholder="genereated review will be here..."),
|
38 |
examples=examples,
|
39 |
title=title,
|
40 |
description= description,
|