Spaces:
Sleeping
Sleeping
atifsial123
commited on
Commit
•
5a2d335
1
Parent(s):
295ef96
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def format_output(details):
|
|
63 |
|
64 |
# Build HTML table for a cleaner presentation
|
65 |
html = "<table style='border-collapse: collapse; width: 100%;'>"
|
66 |
-
html += "<tr style='background-color: #f2f2f2;'><th style='border: 1px solid #ddd; padding: 8px;'>
|
67 |
|
68 |
for key, value in details.items():
|
69 |
html += f"<tr><td style='border: 1px solid #ddd; padding: 8px;'>{key}</td><td style='border: 1px solid #ddd; padding: 8px;'>{value if value else 'N/A'}</td></tr>"
|
@@ -150,6 +150,3 @@ iface = gr.Interface(
|
|
150 |
# Run the Gradio interface
|
151 |
if __name__ == "__main__":
|
152 |
iface.launch()
|
153 |
-
|
154 |
-
|
155 |
-
|
|
|
63 |
|
64 |
# Build HTML table for a cleaner presentation
|
65 |
html = "<table style='border-collapse: collapse; width: 100%;'>"
|
66 |
+
html += "<tr style='background-color: #f2f2f2;'><th style='border: 1px solid #ddd; padding: 8px;'>Ex Cadet</th><th style='border: 1px solid #ddd; padding: 8px;'>Ex Cadet Detail</th></tr>"
|
67 |
|
68 |
for key, value in details.items():
|
69 |
html += f"<tr><td style='border: 1px solid #ddd; padding: 8px;'>{key}</td><td style='border: 1px solid #ddd; padding: 8px;'>{value if value else 'N/A'}</td></tr>"
|
|
|
150 |
# Run the Gradio interface
|
151 |
if __name__ == "__main__":
|
152 |
iface.launch()
|
|
|
|
|
|