linhcuem commited on
Commit
151bcd3
1 Parent(s): b345bd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -72,18 +72,16 @@ inputs_image = [
72
  ]
73
 
74
  outputs_image =gr.outputs.Image(type="filepath", label="Output Image")
 
 
75
  interface_image = gr.Interface(
76
  fn=yolov8_img_inference,
77
  inputs=inputs_image,
78
  outputs=outputs_image,
79
- title=model_heading,
80
- description=description,
81
  examples=image_path,
82
  cache_examples=False,
83
  theme='huggingface'
84
  )
85
 
86
- gr.TabbedInterface(
87
- [interface_image],
88
- tab_names=['Image inference']
89
- ).queue().launch()
 
72
  ]
73
 
74
  outputs_image =gr.outputs.Image(type="filepath", label="Output Image")
75
+ title = "Tất cả do anh Đạt"
76
+
77
  interface_image = gr.Interface(
78
  fn=yolov8_img_inference,
79
  inputs=inputs_image,
80
  outputs=outputs_image,
81
+ title=title,
 
82
  examples=image_path,
83
  cache_examples=False,
84
  theme='huggingface'
85
  )
86
 
87
+ demo_app.launch(debug=True, enable_queue=True)