Mayur2 commited on
Commit
66e95de
·
1 Parent(s): c685ebf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
120
 
121
  # Remove "Output:" from the string if found
122
  if index != -1:
123
- responses = output_string[:index] + output_string[index + len("Output:"):]
124
  split_pairs = responses.split(" ")
125
  pk =""
126
  hk =""
 
120
 
121
  # Remove "Output:" from the string if found
122
  if index != -1:
123
+ responses = responses[:index] + responses[index + len("Output:"):]
124
  split_pairs = responses.split(" ")
125
  pk =""
126
  hk =""