rafmacalaba commited on
Commit
75fffe6
·
1 Parent(s): 6d16473

make torch

Browse files
Files changed (2) hide show
  1. app.py +0 -1
  2. requirements.py +4 -4
app.py CHANGED
@@ -6,7 +6,6 @@ import spaces
6
  from gliner import GLiNER
7
  from gliner.multitask import GLiNERRelationExtractor
8
  from typing import List, Dict, Any, Tuple
9
- from tqdm.auto import tqdm
10
 
11
  # Configuration
12
  data_model_id = "rafmacalaba/gliner_re_finetuned-v3"
 
6
  from gliner import GLiNER
7
  from gliner.multitask import GLiNERRelationExtractor
8
  from typing import List, Dict, Any, Tuple
 
9
 
10
  # Configuration
11
  data_model_id = "rafmacalaba/gliner_re_finetuned-v3"
requirements.py CHANGED
@@ -1,4 +1,4 @@
1
- gliner
2
- gradio
3
- spaces
4
- torch
 
1
+ gradio>=3.0
2
+ gliner # your GLiNER package
3
+ torch # PyTorch (CPU build by default)
4
+ huggingface-hub