inoki-giskard commited on
Commit
1784f11
1 Parent(s): 3573a39

Use git to install giskard cicd repo with giskard_scanner executable

Browse files
app_legacy.py CHANGED
@@ -233,8 +233,7 @@ def try_submit(
233
 
234
  if local:
235
  command = [
236
- "python",
237
- "cli.py",
238
  "--loader",
239
  "huggingface",
240
  "--model",
 
233
 
234
  if local:
235
  command = [
236
+ "giskard_scanner",
 
237
  "--loader",
238
  "huggingface",
239
  "--model",
requirements.txt CHANGED
@@ -3,3 +3,4 @@ huggingface_hub
3
  torch==2.0.1
4
  transformers
5
  datasets
 
 
3
  torch==2.0.1
4
  transformers
5
  datasets
6
+ -e git+https://github.com/Giskard-AI/cicd.git#egg=giskard-cicd
text_classification_ui_helpers.py CHANGED
@@ -198,8 +198,7 @@ def try_submit(m_id, d_id, config, split, local, uid):
198
  # TODO: Set column mapping for some dataset such as `amazon_polarity`
199
  if local:
200
  command = [
201
- "python",
202
- "cli.py",
203
  "--loader",
204
  "huggingface",
205
  "--model",
 
198
  # TODO: Set column mapping for some dataset such as `amazon_polarity`
199
  if local:
200
  command = [
201
+ "giskard_scanner",
 
202
  "--loader",
203
  "huggingface",
204
  "--model",