unknown commited on
Commit
48cee4c
1 Parent(s): fe159c3

first commit

Browse files
Files changed (7) hide show
  1. .gitignore +1 -0
  2. Procfile +1 -0
  3. main.py +16 -0
  4. movie_dict.pkl +3 -0
  5. movies.pkl +3 -0
  6. setup.sh +8 -0
  7. similarity.pkl +3 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ venv
Procfile ADDED
@@ -0,0 +1 @@
 
 
1
+ web: sh setup.sh && streamlit run app.py
main.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This is a sample Python script.
2
+
3
+ # Press Shift+F10 to execute it or replace it with your code.
4
+ # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
5
+
6
+
7
+ def print_hi(name):
8
+ # Use a breakpoint in the code line below to debug your script.
9
+ print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
10
+
11
+
12
+ # Press the green button in the gutter to run the script.
13
+ if __name__ == '__main__':
14
+ print_hi('PyCharm')
15
+
16
+ # See PyCharm help at https://www.jetbrains.com/help/pycharm/
movie_dict.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9a65940b6abc3091a4a6b8891226aa9d18c98e536138b6f79ceaef8ac8e95ec
3
+ size 2216684
movies.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f848f225a483d01d00ba311598994aff8c724ab7409ec8b4a175e483e704072f
3
+ size 2235257
setup.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ mkdir -p ~/.streamlit/
2
+ echo "\
3
+ [server]\n\
4
+ port = $PORT\n\
5
+ enableCORS = false\n\
6
+ headless = true\n\
7
+ \n\
8
+ " > ~/.streamlit/config.toml
similarity.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71508f028cf20cad68724c5c26c0cf30e02792c500a66803a841a02a4401e58b
3
+ size 184781251