rsortino commited on
Commit
1a27cdb
·
verified ·
1 Parent(s): c5bdf76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -98,23 +98,23 @@ def app():
98
  cache_examples='lazy',
99
  )
100
 
101
- gradio_app = gr.Blocks()
102
- with gradio_app:
103
- gr.HTML(
104
- """
105
- <h1 style='text-align: center'>
106
- YOLOv10 for early fire detection with low resource consumption
107
- </h1>
108
- """)
109
- gr.HTML(
110
- """
111
- <h3 style='text-align: center'>
112
- Original paper and code:
113
- <a href='https://arxiv.org/abs/2405.14458' target='_blank'>arXiv</a> | <a href='https://github.com/THU-MIG/yolov10' target='_blank'>github</a>
114
- </h3>
115
- """)
116
- with gr.Row():
117
- with gr.Column():
118
- app()
119
  if __name__ == '__main__':
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  gradio_app.launch()
 
98
  cache_examples='lazy',
99
  )
100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  if __name__ == '__main__':
102
+ gradio_app = gr.Blocks()
103
+ with gradio_app:
104
+ gr.HTML(
105
+ """
106
+ <h1 style='text-align: center'>
107
+ YOLOv10 for early fire detection with low resource consumption
108
+ </h1>
109
+ """)
110
+ gr.HTML(
111
+ """
112
+ <h3 style='text-align: center'>
113
+ Original paper and code:
114
+ <a href='https://arxiv.org/abs/2405.14458' target='_blank'>arXiv</a> | <a href='https://github.com/THU-MIG/yolov10' target='_blank'>github</a>
115
+ </h3>
116
+ """)
117
+ with gr.Row():
118
+ with gr.Column():
119
+ app()
120
  gradio_app.launch()