KingNish commited on
Commit
0a795c5
1 Parent(s): 25be712

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def response(instruction, input_image=None ):
119
  output = "Image Editing"
120
  else:
121
  output = "Image Generation"
122
- except error:
123
  if input_image is None:
124
  output="Image Generation"
125
  else:
 
119
  output = "Image Editing"
120
  else:
121
  output = "Image Generation"
122
+ except:
123
  if input_image is None:
124
  output="Image Generation"
125
  else: