SIVAPRASATH commited on
Commit
b956574
1 Parent(s): d14ca54
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ 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.Label(label="Add Course"),
56
  #debug=True,
57
  #title="CGPA Calculator"
 
51
  return "Invalid input. Please ensure all credit hours are integers."
52
  gr.Interface(
53
  cgpa_calculator_interface,
54
+ inputs = ["textbox", "textbox"],
55
  #gr.Label(label="Add Course"),
56
  #debug=True,
57
  #title="CGPA Calculator"