mimbres commited on
Commit
d9e50c1
1 Parent(s): a60a5d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -2
app.py CHANGED
@@ -130,8 +130,26 @@ YOUTUBE_EXAMPLES = ["https://www.youtube.com/watch?v=vMboypSkj3c"]
130
  theme = gr.Theme.from_hub("gradio/dracula_revamped")
131
  theme.text_md = '9px'
132
  theme.text_lg = '11px'
133
- css = "body {background-image: url(r'https://gifer.com/embed/U7f2');}"
134
- # <iframe src="https://gifer.com/embed/U7f2" width=480 height=330.065 frameBorder="0" allowFullScreen></iframe><p><a href="https://gifer.com">via GIFER</a></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  with gr.Blocks(theme=theme, css=css) as demo:
136
 
137
  with gr.Row():
 
130
  theme = gr.Theme.from_hub("gradio/dracula_revamped")
131
  theme.text_md = '9px'
132
  theme.text_lg = '11px'
133
+ css = """
134
+ .gradio-container {
135
+ background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
136
+ background-size: 400% 400%;
137
+ animation: gradient 15s ease infinite;
138
+ height: 100vh;
139
+ }
140
+ @keyframes gradient {
141
+ 0% {
142
+ background-position: 0% 50%;
143
+ }
144
+ 50% {
145
+ background-position: 100% 50%;
146
+ }
147
+ 100% {
148
+ background-position: 0% 50%;
149
+ }
150
+ }
151
+ """
152
+
153
  with gr.Blocks(theme=theme, css=css) as demo:
154
 
155
  with gr.Row():