Jimin Park commited on
Commit
2117cb6
·
1 Parent(s): 7e4083f

added model

Browse files
Files changed (1) hide show
  1. util/app.py +5 -3
util/app.py CHANGED
@@ -155,10 +155,12 @@ with gr.Blocks() as demo:
155
  outputs=prediction_output
156
  )
157
 
158
- # Add this line at the end
159
- demo.queue() # Enable queuing for better handling of multiple users
160
-
161
 
 
 
 
162
 
163
 
164
  ''' code graveyard
 
155
  outputs=prediction_output
156
  )
157
 
158
+ # Enable queuing
159
+ demo.queue()
 
160
 
161
+ # For local testing
162
+ if __name__ == "__main__":
163
+ demo.launch()
164
 
165
 
166
  ''' code graveyard