Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +1 -14
index.html
CHANGED
|
@@ -1,13 +1,4 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
import os
|
| 3 |
|
| 4 |
-
# Load secrets from environment variables
|
| 5 |
-
API_KEY = os.environ.get("SUNO_API_KEY", "")
|
| 6 |
-
CALLBACK_URL = os.environ.get("CALLBACK_URL", "")
|
| 7 |
-
|
| 8 |
-
# Serve the HTML page
|
| 9 |
-
with gr.Blocks() as demo:
|
| 10 |
-
gr.HTML(f"""
|
| 11 |
<!DOCTYPE html>
|
| 12 |
<html lang="en">
|
| 13 |
<head>
|
|
@@ -172,8 +163,4 @@ with gr.Blocks() as demo:
|
|
| 172 |
</script>
|
| 173 |
<script src="script.js"></script>
|
| 174 |
</body>
|
| 175 |
-
</html>
|
| 176 |
-
""")
|
| 177 |
-
|
| 178 |
-
if __name__ == "__main__":
|
| 179 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
<!DOCTYPE html>
|
| 3 |
<html lang="en">
|
| 4 |
<head>
|
|
|
|
| 163 |
</script>
|
| 164 |
<script src="script.js"></script>
|
| 165 |
</body>
|
| 166 |
+
</html>
|
|
|
|
|
|
|
|
|
|
|
|