Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,12 +33,12 @@ def predict(text, model, tokenizer, n_beams=5, temperature=2.5, top_p=0.8, max_l
|
|
| 33 |
model, tokenizer = get_model('sberbank-ai/rugpt3medium_based_on_gpt2', 'korzh-medium_30epochs_1bs.bin')
|
| 34 |
|
| 35 |
st.title("NeuroKorzh")
|
| 36 |
-
st.markdown("<img width=400px src='https://
|
| 37 |
unsafe_allow_html=True)
|
| 38 |
|
| 39 |
st.markdown("\n")
|
| 40 |
|
| 41 |
-
text = st.text_area(label='Starting point for text generation', height=
|
| 42 |
button = st.button('Go')
|
| 43 |
|
| 44 |
if button:
|
|
|
|
| 33 |
model, tokenizer = get_model('sberbank-ai/rugpt3medium_based_on_gpt2', 'korzh-medium_30epochs_1bs.bin')
|
| 34 |
|
| 35 |
st.title("NeuroKorzh")
|
| 36 |
+
st.markdown("<img width=400px src='https://drive.google.com/file/d/1WTOztM7M-OPOFv9U-HNdh03R0LQ1vCih/view?usp=sharing'>",
|
| 37 |
unsafe_allow_html=True)
|
| 38 |
|
| 39 |
st.markdown("\n")
|
| 40 |
|
| 41 |
+
text = st.text_area(label='Starting point for text generation', height=100)
|
| 42 |
button = st.button('Go')
|
| 43 |
|
| 44 |
if button:
|