Jimin Park
commited on
Commit
·
2117cb6
1
Parent(s):
7e4083f
added model
Browse files- 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 |
-
#
|
| 159 |
-
demo.queue()
|
| 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
|