nevreal commited on
Commit
29724c2
1 Parent(s): 722e347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def query_image(inputs):
15
  response = requests.post(API_URL, headers=headers, json=payload)
16
  image_bytes = response.content
17
  image = Image.open(io.BytesIO(image_bytes))
18
- return image
19
 
20
  # Define Gradio Blocks UI
21
  with gr.Blocks(theme="nevreal/blues") as demo:
 
15
  response = requests.post(API_URL, headers=headers, json=payload)
16
  image_bytes = response.content
17
  image = Image.open(io.BytesIO(image_bytes))
18
+ return image, inputs
19
 
20
  # Define Gradio Blocks UI
21
  with gr.Blocks(theme="nevreal/blues") as demo: