akhaliq HF Staff commited on
Commit
654cfbf
·
verified ·
1 Parent(s): 514d2c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
app.py CHANGED
@@ -149,6 +149,20 @@ def create_ui():
149
  .dark .logo-dark{display: block !important}
150
  .dark .logo-light{display: none}
151
  #sub_title{margin-top: -20px !important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  '''
153
 
154
  with gr.Blocks(title="Sora-2", theme=gr.themes.Soft(), css=css) as demo:
@@ -158,6 +172,9 @@ def create_ui():
158
  🎬 Sora-2
159
  </h1>
160
  <p style="font-size: 1.1em; color: #666; margin-bottom: 20px;">Generate stunning videos using OpenAI's Sora-2 model</p>
 
 
 
161
  <p style='color: orange;'>⚠️ You must Sign in with Hugging Face using the button to use this app.</p>
162
  <p style="font-size: 0.9em; color: #999; margin-top: 15px;">
163
  Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" style="color: #667eea;">anycoder</a>
 
149
  .dark .logo-dark{display: block !important}
150
  .dark .logo-light{display: none}
151
  #sub_title{margin-top: -20px !important}
152
+ .mobile-notice {
153
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
154
+ color: white;
155
+ padding: 15px;
156
+ border-radius: 10px;
157
+ margin: 20px auto;
158
+ max-width: 600px;
159
+ text-align: center;
160
+ }
161
+ .mobile-notice a {
162
+ color: #fff;
163
+ text-decoration: underline;
164
+ font-weight: bold;
165
+ }
166
  '''
167
 
168
  with gr.Blocks(title="Sora-2", theme=gr.themes.Soft(), css=css) as demo:
 
172
  🎬 Sora-2
173
  </h1>
174
  <p style="font-size: 1.1em; color: #666; margin-bottom: 20px;">Generate stunning videos using OpenAI's Sora-2 model</p>
175
+ <div class="mobile-notice">
176
+ 📱 On mobile? Use the optimized version: <a href="https://akhaliq-sora-2.hf.space" target="_blank">akhaliq-sora-2.hf.space</a>
177
+ </div>
178
  <p style='color: orange;'>⚠️ You must Sign in with Hugging Face using the button to use this app.</p>
179
  <p style="font-size: 0.9em; color: #999; margin-top: 15px;">
180
  Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" style="color: #667eea;">anycoder</a>