Spaces:
Runtime error
Runtime error
Commit
·
3a6bdd9
1
Parent(s):
4611d46
Update pages/gpt_v1.py
Browse files- pages/gpt_v1.py +8 -0
pages/gpt_v1.py
CHANGED
@@ -4,6 +4,14 @@ import torch
|
|
4 |
import textwrap
|
5 |
import plotly.express as px
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
st.header(':green[Text generation by GPT2 model]')
|
9 |
|
|
|
4 |
import textwrap
|
5 |
import plotly.express as px
|
6 |
|
7 |
+
from streamlit_extras.let_it_rain import rain
|
8 |
+
|
9 |
+
rain(
|
10 |
+
emoji="🎈",
|
11 |
+
font_size=54,
|
12 |
+
falling_speed=5,
|
13 |
+
animation_length="infinite",
|
14 |
+
)
|
15 |
|
16 |
st.header(':green[Text generation by GPT2 model]')
|
17 |
|