aiqtech commited on
Commit
33d1439
·
verified ·
1 Parent(s): b7eb1c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -67
app.py CHANGED
@@ -65,71 +65,5 @@ with gr.Blocks(css=css, title="Redirect to FLUX VIDEO") as demo:
65
  </div>
66
  """)
67
 
68
- demo.launch()import gradio as gr
69
-
70
- # Simple CSS for styling
71
- css = """
72
- .main-container {
73
- max-width: 800px;
74
- margin: 0 auto;
75
- padding: 40px 20px;
76
- text-align: center;
77
- }
78
-
79
- .redirect-box {
80
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
81
- border-radius: 20px;
82
- padding: 60px 40px;
83
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
84
- margin: 20px auto;
85
- }
86
-
87
- .redirect-box h1 {
88
- color: white;
89
- font-size: 2.5em;
90
- margin-bottom: 20px;
91
- }
92
-
93
- .redirect-box p {
94
- color: white;
95
- font-size: 1.3em;
96
- margin-bottom: 30px;
97
- opacity: 0.95;
98
- }
99
-
100
- .redirect-link {
101
- display: inline-block;
102
- background: white;
103
- color: #667eea;
104
- padding: 15px 40px;
105
- border-radius: 30px;
106
- text-decoration: none;
107
- font-size: 1.2em;
108
- font-weight: bold;
109
- transition: all 0.3s ease;
110
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
111
- }
112
-
113
- .redirect-link:hover {
114
- transform: translateY(-3px);
115
- box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
116
- }
117
- """
118
-
119
- # Create Gradio app
120
- with gr.Blocks(css=css, title="Redirect to FLUX VIDEO") as demo:
121
- gr.HTML("""
122
- <div class="main-container">
123
- <div class="redirect-box">
124
- <h1>🎨 Welcome to FLUX VIDEO Generation</h1>
125
- <p>Please visit our latest version for the best experience</p>
126
- <a href="https://huggingface.co/spaces/ginigen/Flux-VIDEO"
127
- target="_blank"
128
- class="redirect-link">
129
- Go to FLUX VIDEO →
130
- </a>
131
- </div>
132
- </div>
133
- """)
134
-
135
  demo.launch()
 
65
  </div>
66
  """)
67
 
68
+ # Launch the app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  demo.launch()