retvq commited on
Commit
62dc64e
Β·
verified Β·
1 Parent(s): 43e8724

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ Do not output conversational text. Output ONLY the exam paper in a well-formatte
87
  return f"❌ Error processing PDF: {str(e)}\n\nPlease check:\n1. PDF is valid and contains text\n2. HF_TOKEN is correctly set\n3. You have access to Llama 3"
88
 
89
  # --- 3. The UI ---
90
- with gr.Blocks(title="AI Question Paper Generator", theme=gr.themes.Soft(primary_hue="blue")) as demo:
91
  gr.Markdown("# πŸ“„ AI Question Paper Generator")
92
  gr.Markdown("Powered by **Llama 3 (8B)** via Hugging Face Inference API")
93
  gr.Markdown("⚑ Fast β€’ 🎯 Accurate β€’ πŸ“š Context-Aware")
 
87
  return f"❌ Error processing PDF: {str(e)}\n\nPlease check:\n1. PDF is valid and contains text\n2. HF_TOKEN is correctly set\n3. You have access to Llama 3"
88
 
89
  # --- 3. The UI ---
90
+ with gr.Blocks(title="AI Question Paper Generator") as demo:
91
  gr.Markdown("# πŸ“„ AI Question Paper Generator")
92
  gr.Markdown("Powered by **Llama 3 (8B)** via Hugging Face Inference API")
93
  gr.Markdown("⚑ Fast β€’ 🎯 Accurate β€’ πŸ“š Context-Aware")