Skip to content

Commit

Permalink
updates: fix types and async
Browse files Browse the repository at this point in the history
  • Loading branch information
Hk669 committed Jun 14, 2024
1 parent 11b13c4 commit 34f1f2b
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 256 deletions.
Empty file added .github/workflows/ci.yml
Empty file.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Hrushikesh Dokala
Copyright (c) 2024 Hrushikesh Dokala

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions OSrecommender.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import streamlit as st
from user_data import get_repos
from db import recommend
from src.user_data import get_repos
from chroma.db import recommend
import asyncio
from search import get_projects
from src.search import get_projects
from linkpreview import link_preview


Expand All @@ -18,7 +18,7 @@ def get_link_preview(url):
if prompt:
status_placeholder = st.empty()
status_placeholder.text('Crawling your repositories...')
user_details, language_topics = get_repos(prompt)
user_details, language_topics = asyncio.run(get_repos(prompt))

status_placeholder.text('Crawling open source projects...')
unique_repos = asyncio.run(get_projects(language_topics))
Expand Down
Binary file removed __pycache__/api.cpython-311.pyc
Binary file not shown.
Binary file removed __pycache__/db.cpython-311.pyc
Binary file not shown.
Binary file removed __pycache__/search.cpython-311.pyc
Binary file not shown.
Binary file removed __pycache__/user_data.cpython-311.pyc
Binary file not shown.
41 changes: 0 additions & 41 deletions api.py

This file was deleted.

41 changes: 0 additions & 41 deletions db.py

This file was deleted.

119 changes: 0 additions & 119 deletions search.py

This file was deleted.

50 changes: 0 additions & 50 deletions user_data.py

This file was deleted.

0 comments on commit 34f1f2b

Please sign in to comment.