SIVAPRASATH commited on
Commit
85696d3
1 Parent(s): b956574
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def cgpa_calculator_interface(course_data):
49
  return f"Your CGPA is: {cgpa}"
50
  except ValueError:
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"),
 
49
  return f"Your CGPA is: {cgpa}"
50
  except ValueError:
51
  return "Invalid input. Please ensure all credit hours are integers."
52
+ iface = gr.Interface(
53
  cgpa_calculator_interface,
54
  inputs = ["textbox", "textbox"],
55
  #gr.Label(label="Add Course"),