Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,32 +10,33 @@ theme = gr.themes.Soft(
|
|
| 10 |
|
| 11 |
# Create Gradio blocks with custom CSS for enhanced UI
|
| 12 |
with gr.Blocks(theme=theme, title="RocketGPT - AI-Powered Chatbot") as demo:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
| 40 |
demo.queue(max_size=300)
|
| 41 |
demo.launch()
|
|
|
|
| 10 |
|
| 11 |
# Create Gradio blocks with custom CSS for enhanced UI
|
| 12 |
with gr.Blocks(theme=theme, title="RocketGPT - AI-Powered Chatbot") as demo:
|
| 13 |
+
# Define individual tabs
|
| 14 |
+
with gr.Blocks() as chat:
|
| 15 |
+
gr.Markdown("### 💬 SuperChat")
|
| 16 |
+
gr.HTML("<iframe src='https://Qwen-QwQ-32B-preview.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
|
| 17 |
+
|
| 18 |
+
with gr.Blocks() as voice:
|
| 19 |
+
gr.Markdown("### 🎙️ Speech Generator")
|
| 20 |
+
gr.HTML("<iframe src='https://wifix199-Text-to-speech-LuminaIQ.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
|
| 21 |
+
|
| 22 |
+
with gr.Blocks() as image:
|
| 23 |
+
gr.Markdown("### 🖼️ Image Generator")
|
| 24 |
+
gr.HTML("<iframe src='https://wifix199-Text-to-image-LuminaIQ.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
|
| 25 |
+
|
| 26 |
+
with gr.Blocks() as video:
|
| 27 |
+
gr.Markdown("### 📹 Video Engine")
|
| 28 |
+
gr.HTML("<iframe src='https://kingnish-instant-video.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
|
| 29 |
+
|
| 30 |
+
with gr.Blocks() as tryon:
|
| 31 |
+
gr.Markdown("### 🖼️ Finegrain")
|
| 32 |
+
gr.HTML("<iframe src='https://finegrain-finegrain-object-cutter.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
|
| 33 |
+
|
| 34 |
+
# Create a tabbed interface
|
| 35 |
+
gr.TabbedInterface(
|
| 36 |
+
interface_list=[chat, voice, image, video, tryon],
|
| 37 |
+
tab_names=["💬 SuperChat", "🗣️ Speech Generator", "🖼️ Image Generator", "🎥 Video Generator", "🖼️ Finegrain"]
|
| 38 |
+
)
|
| 39 |
+
|
| 40 |
+
# Launch the app
|
| 41 |
demo.queue(max_size=300)
|
| 42 |
demo.launch()
|