Kaushik Bar commited on
Commit
acc6a27
·
1 Parent(s): 1c348f1

adding yoloxl

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -131,7 +131,10 @@ with demo:
131
 
132
  with gr.TabItem('Image Upload'):
133
  with gr.Row():
134
- img_input = gr.Image(type='pil')
 
 
 
135
  img_output_from_upload= gr.Image(shape=(650,650))
136
 
137
  with gr.Row():
 
131
 
132
  with gr.TabItem('Image Upload'):
133
  with gr.Row():
134
+ if 'yolox' in options:
135
+ img_input = gr.Image()
136
+ else:
137
+ img_input = gr.Image(type='pil')
138
  img_output_from_upload= gr.Image(shape=(650,650))
139
 
140
  with gr.Row():