Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse files- src/ai/.DS_Store +0 -0
- src/ai/voxtral_spaces_analyzer.py +0 -5
- src/ui/spaces_interface.py +9 -7
src/ai/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
src/ai/voxtral_spaces_analyzer.py
CHANGED
|
@@ -351,11 +351,6 @@ class VoxtralSpacesAnalyzer:
|
|
| 351 |
None
|
| 352 |
)
|
| 353 |
|
| 354 |
-
# Debug: Print prompt to check language
|
| 355 |
-
print("🔍 DEBUG PROMPT:")
|
| 356 |
-
print("=" * 50)
|
| 357 |
-
print(prompt_text[:500] + "..." if len(prompt_text) > 500 else prompt_text)
|
| 358 |
-
print("=" * 50)
|
| 359 |
|
| 360 |
# Create conversation for audio instruct mode
|
| 361 |
conversation = [{
|
|
|
|
| 351 |
None
|
| 352 |
)
|
| 353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
|
| 355 |
# Create conversation for audio instruct mode
|
| 356 |
conversation = [{
|
src/ui/spaces_interface.py
CHANGED
|
@@ -210,11 +210,9 @@ def create_spaces_interface():
|
|
| 210 |
spacing_size=gr.themes.sizes.spacing_md,
|
| 211 |
radius_size=gr.themes.sizes.radius_md
|
| 212 |
)
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
title="MeetingNotes - AI Analysis with Voxtral",
|
| 217 |
-
css="""
|
| 218 |
.gradio-container {
|
| 219 |
max-width: 1200px !important;
|
| 220 |
margin: 0 auto !important;
|
|
@@ -240,6 +238,9 @@ def create_spaces_interface():
|
|
| 240 |
margin-top: 25px;
|
| 241 |
}
|
| 242 |
"""
|
|
|
|
|
|
|
|
|
|
| 243 |
) as demo:
|
| 244 |
# Main header with style (identique à l'original)
|
| 245 |
with gr.Column(elem_classes="main-header"):
|
|
@@ -492,10 +493,11 @@ def create_spaces_interface():
|
|
| 492 |
gr.Markdown(
|
| 493 |
"""
|
| 494 |
---
|
| 495 |
-
**MeetingNotes** | Powered by [Voxtral](https://mistral.ai/) |
|
| 496 |
🚀 Intelligent meeting analysis | 💾 HF Spaces with Zero GPU
|
| 497 |
""",
|
| 498 |
elem_classes="footer-info"
|
| 499 |
)
|
| 500 |
|
| 501 |
-
|
|
|
|
|
|
| 210 |
spacing_size=gr.themes.sizes.spacing_md,
|
| 211 |
radius_size=gr.themes.sizes.radius_md
|
| 212 |
)
|
| 213 |
+
|
| 214 |
+
# CSS personnalisé pour l'application
|
| 215 |
+
custom_css = """
|
|
|
|
|
|
|
| 216 |
.gradio-container {
|
| 217 |
max-width: 1200px !important;
|
| 218 |
margin: 0 auto !important;
|
|
|
|
| 238 |
margin-top: 25px;
|
| 239 |
}
|
| 240 |
"""
|
| 241 |
+
|
| 242 |
+
with gr.Blocks(
|
| 243 |
+
title="MeetingNotes - AI Analysis with Voxtral"
|
| 244 |
) as demo:
|
| 245 |
# Main header with style (identique à l'original)
|
| 246 |
with gr.Column(elem_classes="main-header"):
|
|
|
|
| 493 |
gr.Markdown(
|
| 494 |
"""
|
| 495 |
---
|
| 496 |
+
**MeetingNotes** | Powered by [Voxtral](https://mistral.ai/) |
|
| 497 |
🚀 Intelligent meeting analysis | 💾 HF Spaces with Zero GPU
|
| 498 |
""",
|
| 499 |
elem_classes="footer-info"
|
| 500 |
)
|
| 501 |
|
| 502 |
+
# Retourner demo avec le thème et le CSS pour Gradio 6
|
| 503 |
+
return demo, custom_glass_theme, custom_css
|