Spaces:
Runtime error
Runtime error
Suggesting to add link to models ❤️
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def card_html(sinhala_sentence, english_sentence):
|
|
80 |
|
81 |
if page == 'Pretrained GPT2':
|
82 |
st.title('Sinhala Text generation with GPT2')
|
83 |
-
st.markdown('A simple demo using Sinhala-gpt2 model trained during hf-flax week')
|
84 |
|
85 |
model, tokenizer = load_model('flax-community/Sinhala-gpt2')
|
86 |
|
@@ -103,7 +103,7 @@ if page == 'Pretrained GPT2':
|
|
103 |
else:
|
104 |
|
105 |
st.title('Sinhala Text generation with Finetuned GPT2')
|
106 |
-
st.markdown('This model has been finetuned Sinhala-gpt2 model with 6000 news articles(~12MB)')
|
107 |
|
108 |
model, tokenizer = load_model('keshan/sinhala-gpt2-newswire')
|
109 |
|
|
|
80 |
|
81 |
if page == 'Pretrained GPT2':
|
82 |
st.title('Sinhala Text generation with GPT2')
|
83 |
+
st.markdown('A simple demo using [Sinhala-gpt2 model](https://huggingface.co/flax-community/Sinhala-gpt2) trained during hf-flax week')
|
84 |
|
85 |
model, tokenizer = load_model('flax-community/Sinhala-gpt2')
|
86 |
|
|
|
103 |
else:
|
104 |
|
105 |
st.title('Sinhala Text generation with Finetuned GPT2')
|
106 |
+
st.markdown('This model has been [finetuned Sinhala-gpt2 model](https://huggingface.co/keshan/sinhala-gpt2-newswire) with 6000 news articles(~12MB)')
|
107 |
|
108 |
model, tokenizer = load_model('keshan/sinhala-gpt2-newswire')
|
109 |
|