Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,7 +177,7 @@ Do not output conversational text. Output ONLY the exam paper in a well-formatte
|
|
| 177 |
return f"β Error: {str(e)}\n\nPlease check:\n1. PDFs are valid and contain text\n2. HF_TOKEN is correctly set in Space secrets\n3. Try again or contact support"
|
| 178 |
|
| 179 |
# --- 3. The UI ---
|
| 180 |
-
with gr.Blocks(title="AI Question Paper Generator"
|
| 181 |
gr.Markdown("# π AI Question Paper Generator Pro")
|
| 182 |
gr.Markdown("Powered by ** Fine-Tuned Llama 3.2 3B**")
|
| 183 |
gr.Markdown("β‘ Fast β’ π― Accurate β’ π Multi-PDF Support β’ π² Multiple Sets")
|
|
|
|
| 177 |
return f"β Error: {str(e)}\n\nPlease check:\n1. PDFs are valid and contain text\n2. HF_TOKEN is correctly set in Space secrets\n3. Try again or contact support"
|
| 178 |
|
| 179 |
# --- 3. The UI ---
|
| 180 |
+
with gr.Blocks(title="AI Question Paper Generator") as demo:
|
| 181 |
gr.Markdown("# π AI Question Paper Generator Pro")
|
| 182 |
gr.Markdown("Powered by ** Fine-Tuned Llama 3.2 3B**")
|
| 183 |
gr.Markdown("β‘ Fast β’ π― Accurate β’ π Multi-PDF Support β’ π² Multiple Sets")
|