Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ from utils.engine import process_and_index_video, ask_video_question
|
|
| 5 |
logger = get_logger("GradioUI")
|
| 6 |
logger.info("Constructing UI...")
|
| 7 |
|
| 8 |
-
|
|
|
|
| 9 |
gr.Markdown("# 🧠 Multimodal Video RAG (Vision Q/A)")
|
| 10 |
|
| 11 |
with gr.Row():
|
|
@@ -26,4 +27,5 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 26 |
|
| 27 |
if __name__ == "__main__":
|
| 28 |
logger.info("Launching server...")
|
| 29 |
-
|
|
|
|
|
|
| 5 |
logger = get_logger("GradioUI")
|
| 6 |
logger.info("Constructing UI...")
|
| 7 |
|
| 8 |
+
# Removed theme from Blocks constructor
|
| 9 |
+
with gr.Blocks() as demo:
|
| 10 |
gr.Markdown("# 🧠 Multimodal Video RAG (Vision Q/A)")
|
| 11 |
|
| 12 |
with gr.Row():
|
|
|
|
| 27 |
|
| 28 |
if __name__ == "__main__":
|
| 29 |
logger.info("Launching server...")
|
| 30 |
+
# Moved theme to launch method for Gradio 6.0 compatibility
|
| 31 |
+
demo.launch(theme=gr.themes.Soft())
|