Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ from io import BytesIO
|
|
| 23 |
import base64
|
| 24 |
import requests
|
| 25 |
from mistralai import Mistral
|
| 26 |
-
from huggingface_hub import hf_hub_download
|
| 27 |
|
| 28 |
# Set up device
|
| 29 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
@@ -218,7 +218,7 @@ def text3d_tool():
|
|
| 218 |
|
| 219 |
# Gradio interface with custom theme and equal height row
|
| 220 |
with gr.Blocks(theme='gstaff/sketch') as demo:
|
| 221 |
-
with gr.Row(
|
| 222 |
gr.Markdown("# Multi-Tool Interface: Chatbot, Music, Transpixar, IC Light, Image to Flux Prompt, and Text3D")
|
| 223 |
|
| 224 |
# Chatbot Tab
|
|
|
|
| 23 |
import base64
|
| 24 |
import requests
|
| 25 |
from mistralai import Mistral
|
| 26 |
+
from huggingface_hub import hf_hub_download
|
| 27 |
|
| 28 |
# Set up device
|
| 29 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 218 |
|
| 219 |
# Gradio interface with custom theme and equal height row
|
| 220 |
with gr.Blocks(theme='gstaff/sketch') as demo:
|
| 221 |
+
with gr.Row(equal_height=True): # Fix: Use equal_height parameter
|
| 222 |
gr.Markdown("# Multi-Tool Interface: Chatbot, Music, Transpixar, IC Light, Image to Flux Prompt, and Text3D")
|
| 223 |
|
| 224 |
# Chatbot Tab
|