Spaces:
Sleeping
Sleeping
Huỳnh Công Chánh
commited on
Commit
•
d01ef39
1
Parent(s):
e3166e6
Update app.py
Browse files
app.py
CHANGED
@@ -36,4 +36,4 @@ def inference(raw_image):
|
|
36 |
caption = model.generate(image, sample=False, num_beams=3, max_length=20, min_length=5)
|
37 |
return caption[0]
|
38 |
|
39 |
-
gr.Interface(inference, inputs, outputs, title=title, description=description).launch(enable_queue=True
|
|
|
36 |
caption = model.generate(image, sample=False, num_beams=3, max_length=20, min_length=5)
|
37 |
return caption[0]
|
38 |
|
39 |
+
gr.Interface(inference, inputs, outputs, title=title, description=description).launch(enable_queue=True)
|