serdaryildiz commited on
Commit
dc3a1ab
1 Parent(s): 94bd1cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -52,11 +52,12 @@ article = f"<p style='text-align: center'><a href='{paper_link}' target='_blank'
52
  css = ".output-image, .input-image, .image-preview {height: 600px !important}"
53
 
54
  iface = gr.Interface(fn=inference,
55
- inputs="image",
56
- outputs="text",
57
  title=title,
58
  description=description,
59
  examples=examples,
60
  article=article,
61
- css=css)
 
62
  iface.launch()
 
52
  css = ".output-image, .input-image, .image-preview {height: 600px !important}"
53
 
54
  iface = gr.Interface(fn=inference,
55
+ inputs=inputs,
56
+ outputs=outputs,
57
  title=title,
58
  description=description,
59
  examples=examples,
60
  article=article,
61
+ css=css,
62
+ enable_queue=True)
63
  iface.launch()