shreyankisiri commited on
Commit
9f18df7
·
verified ·
1 Parent(s): a632e2c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -1
main.py CHANGED
@@ -64,4 +64,8 @@ async def search(query: str):
64
  for course in top_courses:
65
  l.append(course["course_id"])
66
 
67
- return l
 
 
 
 
 
64
  for course in top_courses:
65
  l.append(course["course_id"])
66
 
67
+ return l
68
+
69
+ if __name__ == "__main__":
70
+ import uvicorn
71
+ uvicorn.run(app, host="0.0.0.0", port=7860) # Hugging Face requires port 7860