lockwooda commited on
Commit
2035cd2
1 Parent(s): 232cf83

add 0.3.1 tag pointer to protect hf app from breaking yolov5 to detr changes in main

Browse files
Files changed (1) hide show
  1. gradio/app.py +2 -1
gradio/app.py CHANGED
@@ -1278,7 +1278,8 @@ def launch_demo_via_huggingface():
1278
 
1279
  # Get protected private repository installation command from Huggingface secrets
1280
  HEART_INSTALL=os.environ['HEART_INSTALL']
1281
- HEART_REGEX=r"git\+https\:\/\/[a-zA-Z]{9}\:[a-zA-Z0-9\-\_]{26}\@gitlab\.jatic\.net\/jatic\/ibm\/hardened-extension-adversarial-robustness-toolbox\.git"
 
1282
 
1283
  # Execute pip install
1284
  if re.match(HEART_REGEX, HEART_INSTALL):
 
1278
 
1279
  # Get protected private repository installation command from Huggingface secrets
1280
  HEART_INSTALL=os.environ['HEART_INSTALL']
1281
+ HEART_INSTALL = HEART_INSTALL + "@0.3.1"
1282
+ HEART_REGEX=r"git\+https\:\/\/[a-zA-Z]{9}\:[a-zA-Z0-9\-\_]{26}\@gitlab\.jatic\.net\/jatic\/ibm\/hardened-extension-adversarial-robustness-toolbox\.git@0.3.1"
1283
 
1284
  # Execute pip install
1285
  if re.match(HEART_REGEX, HEART_INSTALL):