sitammeur commited on
Commit
e121719
·
verified ·
1 Parent(s): 8893754

Update src/app/model.py

Browse files
Files changed (1) hide show
  1. src/app/model.py +2 -2
src/app/model.py CHANGED
@@ -53,8 +53,8 @@ def run_example(
53
  """
54
  try:
55
  # Check if image is None
56
- if image is None:
57
- raise gr.Error("Please provide an image.")
58
 
59
  # If there is no text input, use the task prompt as the prompt
60
  prompt = task_prompt if text_input is None else task_prompt + text_input
 
53
  """
54
  try:
55
  # Check if image is None
56
+ # if image is None:
57
+ # raise gr.Error("Please provide an image.")
58
 
59
  # If there is no text input, use the task prompt as the prompt
60
  prompt = task_prompt if text_input is None else task_prompt + text_input