Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,11 +55,13 @@ def predict(input, history=[]):
|
|
55 |
|
56 |
|
57 |
def main():
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
print()
|
62 |
|
|
|
|
|
|
|
63 |
|
64 |
|
65 |
if __name__ == "__main__":
|
|
|
55 |
|
56 |
|
57 |
def main():
|
58 |
+
# Load courses data from JSON file
|
59 |
+
with open("uts_courses.json", "r") as f:
|
60 |
+
courses_data = json.load(f)
|
|
|
61 |
|
62 |
+
print("Contents of uts_courses.json:")
|
63 |
+
print(courses_data)
|
64 |
+
print()
|
65 |
|
66 |
|
67 |
if __name__ == "__main__":
|