kmkarakaya commited on
Commit
63e1766
·
1 Parent(s): 0e2c718

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- "Henüz alalı bir",
33
- "Spor salonuna 1 yıllık abone oldum ama"]
34
 
35
  demo = gr.Interface(fn=generate_review,
36
- inputs="text",
37
- outputs= gr.Textbox(lines=3, placeholder="genereated review will be here..."),
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,