Spaces:
Running
Running
added support and contact mail id
Browse files
app.py
CHANGED
|
@@ -368,11 +368,12 @@ def search_student(roll_no):
|
|
| 368 |
if student.empty:
|
| 369 |
return f"β Roll No '{roll_no}' not found in any sheet"
|
| 370 |
|
| 371 |
-
|
| 372 |
-
print("Roll No Searched:", roll_no)
|
| 373 |
-
|
| 374 |
record = student.iloc[0].to_dict()
|
| 375 |
student_year = str(record.get('YEAR', '')).strip()
|
|
|
|
|
|
|
|
|
|
| 376 |
|
| 377 |
# Format output - Simplified version
|
| 378 |
output = []
|
|
@@ -557,6 +558,10 @@ with gr.Blocks(title="Student Reward Points Check", theme=gr.themes.Soft()) as a
|
|
| 557 |
<a href="https://www.linkedin.com/in/pranesh5264/" target="_blank" style="color: #ffd700; text-decoration: none; margin: 0 10px; font-size: 16px;">
|
| 558 |
πΌ LinkedIn
|
| 559 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 560 |
</div>
|
| 561 |
<p style="margin: 10px 0; font-style: italic; color: #e0e0e0;">Made with π Love and Support</p>
|
| 562 |
<p style="margin: 5px 0; font-size: 14px; color: #b0b0b0;">π Empowering students with instant reward points tracking</p>
|
|
|
|
| 368 |
if student.empty:
|
| 369 |
return f"β Roll No '{roll_no}' not found in any sheet"
|
| 370 |
|
| 371 |
+
|
|
|
|
|
|
|
| 372 |
record = student.iloc[0].to_dict()
|
| 373 |
student_year = str(record.get('YEAR', '')).strip()
|
| 374 |
+
|
| 375 |
+
# Log to see which roll number is asked by user
|
| 376 |
+
print(f"Roll No Searched: {roll_no}, Student Name: {record.get('STUDENT NAME', 'Unknown').strip()}")
|
| 377 |
|
| 378 |
# Format output - Simplified version
|
| 379 |
output = []
|
|
|
|
| 558 |
<a href="https://www.linkedin.com/in/pranesh5264/" target="_blank" style="color: #ffd700; text-decoration: none; margin: 0 10px; font-size: 16px;">
|
| 559 |
πΌ LinkedIn
|
| 560 |
</a>
|
| 561 |
+
<span style="color: #ffd700;">|</span>
|
| 562 |
+
<a href="https://mail.google.com/mail/?view=cm&fs=1&to=praneshmadhan646@gmail.com&su=Student%20Reward%20Points%20App%20-%20Feedback&body=Hi%20Pranesh,%0A%0AI%20am%20writing%20regarding%20the%20Student%20Reward%20Points%20application.%0A%0A" target="_blank" style="color: #ffd700; text-decoration: none; margin: 0 10px; font-size: 16px;">
|
| 563 |
+
π§ Contact Developer
|
| 564 |
+
</a>
|
| 565 |
</div>
|
| 566 |
<p style="margin: 10px 0; font-style: italic; color: #e0e0e0;">Made with π Love and Support</p>
|
| 567 |
<p style="margin: 5px 0; font-size: 14px; color: #b0b0b0;">π Empowering students with instant reward points tracking</p>
|