Spaces:
Runtime error
Runtime error
kmkarakaya
commited on
Commit
·
06de096
1
Parent(s):
7334585
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ Generation takes 15-20 seconds on average.
|
|
25 |
You can share your experience by Flagging.
|
26 |
Enjoy!
|
27 |
|
28 |
-
NOTE: Examples
|
29 |
article = """<p style='text-align: center'>On YouTube:</p>
|
30 |
<p style='text-align: center'><a href='https://youtube.com/playlist?list=PLQflnv_s49v9d9w-L0S8XUXXdNks7vPBL' target='_blank'>How to Train a Hugging Face Causal Language Model from Scratch with a Custom Dataset and a Custom Tokenizer?</a></p>
|
31 |
<p style='text-align: center'><a href='https://youtube.com/playlist?list=PLQflnv_s49v8aajw6m9MRNbAAbL63flKD' target='_blank'>Hugging Face kütüphanesini kullanarak bir GPT2 Transformer Dil Modelini Kendi Veri Setimizle nasıl eğitip kullanabiliriz? (in Turkish)</a></p>
|
@@ -42,9 +42,9 @@ demo = gr.Interface(fn=generate_review,
|
|
42 |
examples=examples,
|
43 |
title=title,
|
44 |
description= description,
|
45 |
-
article = article
|
46 |
-
allow_flagging="manual",
|
47 |
-
flagging_options=["good","moderate", "non-sense", ]
|
48 |
#flagging_dir='./flags'
|
49 |
)
|
50 |
demo.launch('share=True', 'enable_queue=True')
|
|
|
25 |
You can share your experience by Flagging.
|
26 |
Enjoy!
|
27 |
|
28 |
+
NOTE: Examples can sometimes generate ERROR. When you see ERROR on the screen just click SUBMIT. Model will generate text in 15-20 secs."""
|
29 |
article = """<p style='text-align: center'>On YouTube:</p>
|
30 |
<p style='text-align: center'><a href='https://youtube.com/playlist?list=PLQflnv_s49v9d9w-L0S8XUXXdNks7vPBL' target='_blank'>How to Train a Hugging Face Causal Language Model from Scratch with a Custom Dataset and a Custom Tokenizer?</a></p>
|
31 |
<p style='text-align: center'><a href='https://youtube.com/playlist?list=PLQflnv_s49v8aajw6m9MRNbAAbL63flKD' target='_blank'>Hugging Face kütüphanesini kullanarak bir GPT2 Transformer Dil Modelini Kendi Veri Setimizle nasıl eğitip kullanabiliriz? (in Turkish)</a></p>
|
|
|
42 |
examples=examples,
|
43 |
title=title,
|
44 |
description= description,
|
45 |
+
article = article
|
46 |
+
#allow_flagging="manual",
|
47 |
+
#flagging_options=["good","moderate", "non-sense", ]
|
48 |
#flagging_dir='./flags'
|
49 |
)
|
50 |
demo.launch('share=True', 'enable_queue=True')
|