Spaces:
Runtime error
Runtime error
SIVAPRASATH
commited on
Commit
•
c1769c8
1
Parent(s):
33c08fb
app.py
Browse files
app.py
CHANGED
@@ -51,9 +51,9 @@ def cgpa_calculator_interface(course_data):
|
|
51 |
return "Invalid input. Please ensure all credit hours are integers."
|
52 |
gr.Interface(
|
53 |
cgpa_calculator_interface,
|
54 |
-
inputs = [gr.Textbox(label="Grade", placeholder="Enter grade (O, A+, A, B+, etc.)"), gr.Textbox(label="Credits", placeholder="Enter credit hours", type="number")
|
55 |
gr.Interface.Label(label="Add Course"),
|
56 |
debug=True,
|
57 |
-
title="CGPA Calculator"
|
58 |
-
|
59 |
-
iface.launch(
|
|
|
51 |
return "Invalid input. Please ensure all credit hours are integers."
|
52 |
gr.Interface(
|
53 |
cgpa_calculator_interface,
|
54 |
+
inputs = [gr.Textbox(label="Grade", placeholder="Enter grade (O, A+, A, B+, etc.)"), gr.Textbox(label="Credits", placeholder="Enter credit hours", type="number")],
|
55 |
gr.Interface.Label(label="Add Course"),
|
56 |
debug=True,
|
57 |
+
title="CGPA Calculator")
|
58 |
+
|
59 |
+
iface.launch()
|