rkrstacic commited on
Commit
59cd031
1 Parent(s): c193173

Removed !pip install

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -7,8 +7,8 @@ Original file is located at
7
  https://colab.research.google.com/drive/1QhxoNhhM_kcaoQOyz5hsNWLcf2m2L225
8
  """
9
 
10
- !pip install gradio
11
- !pip install transformers
12
 
13
  import gradio as gr
14
  from transformers import pipeline
@@ -88,9 +88,9 @@ label_size = 6
88
  UIDatasetURL = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSPR-FPTMBcYRynP4JdwYQQ8dAhSx1x8i1LPckUcuIUUlrWT82b5Thqb1bBNnPeGJPxxX1CJAlFSd6F/pub?output=xlsx'
89
 
90
  # Will require runetime restart on Google colab (sometimes, idk)
91
- !pip install tensorflow_text
92
 
93
- !pip install text-hr
94
 
95
  """### Data loading"""
96
 
@@ -274,7 +274,7 @@ eng_history = model_eng.fit(
274
 
275
  """## Data extraction pipeline"""
276
 
277
- !pip install transformers
278
 
279
  from transformers import pipeline
280
 
@@ -282,7 +282,7 @@ pipe = pipeline("token-classification", model="rkrstacic/bpmn-task-extractor")
282
 
283
  """## Sentence similarity"""
284
 
285
- !pip install -U sentence-transformers
286
 
287
  import numpy as np
288
  from typing import List, Dict
 
7
  https://colab.research.google.com/drive/1QhxoNhhM_kcaoQOyz5hsNWLcf2m2L225
8
  """
9
 
10
+ # !pip install gradio
11
+ # !pip install transformers
12
 
13
  import gradio as gr
14
  from transformers import pipeline
 
88
  UIDatasetURL = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vSPR-FPTMBcYRynP4JdwYQQ8dAhSx1x8i1LPckUcuIUUlrWT82b5Thqb1bBNnPeGJPxxX1CJAlFSd6F/pub?output=xlsx'
89
 
90
  # Will require runetime restart on Google colab (sometimes, idk)
91
+ # !pip install tensorflow_text
92
 
93
+ # !pip install text-hr
94
 
95
  """### Data loading"""
96
 
 
274
 
275
  """## Data extraction pipeline"""
276
 
277
+ # !pip install transformers
278
 
279
  from transformers import pipeline
280
 
 
282
 
283
  """## Sentence similarity"""
284
 
285
+ # !pip install -U sentence-transformers
286
 
287
  import numpy as np
288
  from typing import List, Dict