Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -286,7 +286,7 @@ class CertificateGenerator:
|
|
| 286 |
|
| 287 |
# Add instructor info
|
| 288 |
draw.text((60, 300), "Instructor", font=fonts['subtitle'], fill='#666666')
|
| 289 |
-
draw.text((60, 330), "
|
| 290 |
|
| 291 |
# Add participant name (large)
|
| 292 |
name = name.strip() or "Participant"
|
|
@@ -557,7 +557,7 @@ def create_quiz_interface():
|
|
| 557 |
|
| 558 |
quiz_app = QuizApp(os.getenv("GROQ_API_KEY"))
|
| 559 |
|
| 560 |
-
with gr.Blocks(title="
|
| 561 |
# State management
|
| 562 |
current_questions = gr.State([])
|
| 563 |
current_question_idx = gr.State(0)
|
|
@@ -565,7 +565,7 @@ def create_quiz_interface():
|
|
| 565 |
|
| 566 |
# Header
|
| 567 |
gr.Markdown("""
|
| 568 |
-
# 🎓
|
| 569 |
### Transform Your Knowledge into Recognized Achievements
|
| 570 |
""")
|
| 571 |
|
|
|
|
| 286 |
|
| 287 |
# Add instructor info
|
| 288 |
draw.text((60, 300), "Instructor", font=fonts['subtitle'], fill='#666666')
|
| 289 |
+
draw.text((60, 330), "Quiztastic", font=fonts['text'], fill='#1C1D1F')
|
| 290 |
|
| 291 |
# Add participant name (large)
|
| 292 |
name = name.strip() or "Participant"
|
|
|
|
| 557 |
|
| 558 |
quiz_app = QuizApp(os.getenv("GROQ_API_KEY"))
|
| 559 |
|
| 560 |
+
with gr.Blocks(title="Quiztastic AI", theme=gr.themes.Soft()) as demo:
|
| 561 |
# State management
|
| 562 |
current_questions = gr.State([])
|
| 563 |
current_question_idx = gr.State(0)
|
|
|
|
| 565 |
|
| 566 |
# Header
|
| 567 |
gr.Markdown("""
|
| 568 |
+
# 🎓 Quiztastic AI
|
| 569 |
### Transform Your Knowledge into Recognized Achievements
|
| 570 |
""")
|
| 571 |
|