fffiloni commited on
Commit
0d8ee1e
1 Parent(s): db12400

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def infer(prompt,image):
17
  print(result)
18
  return result[0]
19
 
20
- with gr.Block() as demo:
21
  with gr.Column():
22
  prompt = gr.Textbox(placeholder="enter prompt")
23
  image = gr.Image(source="upload", type="filepath")
 
17
  print(result)
18
  return result[0]
19
 
20
+ with gr.Blocks() as demo:
21
  with gr.Column():
22
  prompt = gr.Textbox(placeholder="enter prompt")
23
  image = gr.Image(source="upload", type="filepath")