MilkoTv commited on
Commit
69dd959
·
1 Parent(s): 138ff41

deploy to huggingface spaces

Browse files
Files changed (1) hide show
  1. README.md +35 -13
README.md CHANGED
@@ -1,13 +1,35 @@
1
- ---
2
- title: BulgarianPatternsRecognizer
3
- emoji: 🐢
4
- colorFrom: pink
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 4.19.2
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Bulgarian, Japanese and Indian patterns recognizer
2
+
3
+ ## Setup Conda
4
+ ```bash
5
+ conda create -n SIMVerify python=3.11
6
+ conda activate SIMVerify
7
+ ```
8
+ ## Installation
9
+
10
+ ```bash
11
+ set HTTP_PROXY=http://proxy-us-austin.gemalto.com:8080
12
+ set HTTPS_PROXY=http://proxy-us-austin.gemalto.com:8080
13
+ pip install fastai fastbook scikit-image
14
+ pip install gradio==3.50
15
+ ```
16
+
17
+ ## Get Images
18
+ ```bash
19
+ python get_data.py <target path> <images count> <one or more pattern kinds>
20
+ ```
21
+
22
+ ## Train the neural network
23
+ ```bash
24
+ python train.py <images path> <epochs count>
25
+ ```
26
+
27
+ ## Predicting in colsole
28
+ ```bash
29
+ python predict.py <image path>
30
+ ```
31
+
32
+ ## Running the UI on http://localhost
33
+ ```bash
34
+ python app.py
35
+ ```