Add requirements and model files
Browse files- app.py +2 -0
- logistic_regression_l1_oct_2.pkl +3 -0
- requirements.txt +6 -0
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def greet(name):
|
|
|
1 |
+
import clip
|
2 |
+
import torch
|
3 |
import gradio as gr
|
4 |
|
5 |
def greet(name):
|
logistic_regression_l1_oct_2.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7eb34aa2c776c635510096e9dbac71f1066950a4cd167e2c38a4b2a6be407504
|
3 |
+
size 1153
|
requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pytorch==1.7.1
|
2 |
+
torchvision==0.8.2
|
3 |
+
ftfy
|
4 |
+
regex
|
5 |
+
tqdm
|
6 |
+
pip install git+https://github.com/openai/CLIP.git
|