iimmortall commited on
Commit
9b7cecc
·
verified ·
1 Parent(s): c9b21d5

Deploy InstantRetouch BILA ZeroGPU Space

Browse files
Files changed (1) hide show
  1. demo_runtime/manager.py +0 -2
demo_runtime/manager.py CHANGED
@@ -92,8 +92,6 @@ class DemoManager:
92
  if image is None:
93
  raise ValueError("Please upload an image.")
94
  instruction = (instruction or "").strip()
95
- if not instruction:
96
- raise ValueError("Please enter an edit instruction.")
97
  if model_key not in self.manifest["models"]:
98
  raise ValueError(f"Unknown model: {model_key}")
99
 
 
92
  if image is None:
93
  raise ValueError("Please upload an image.")
94
  instruction = (instruction or "").strip()
 
 
95
  if model_key not in self.manifest["models"]:
96
  raise ValueError(f"Unknown model: {model_key}")
97