Update app.py
#6
by C-Achard - opened
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import gradio as gr
|
|
| 11 |
import deeplabcut
|
| 12 |
import dlclibrary
|
| 13 |
import dlclive
|
| 14 |
-
import transformers
|
| 15 |
|
| 16 |
from PIL import Image, ImageColor, ImageFont, ImageDraw
|
| 17 |
import requests
|
|
@@ -187,6 +187,7 @@ demo = gr.Interface(predict_pipeline,
|
|
| 187 |
title=gr_title,
|
| 188 |
description=gr_description,
|
| 189 |
examples=examples,
|
| 190 |
-
|
| 191 |
|
| 192 |
-
demo.
|
|
|
|
|
|
| 11 |
import deeplabcut
|
| 12 |
import dlclibrary
|
| 13 |
import dlclive
|
| 14 |
+
# import transformers
|
| 15 |
|
| 16 |
from PIL import Image, ImageColor, ImageFont, ImageDraw
|
| 17 |
import requests
|
|
|
|
| 187 |
title=gr_title,
|
| 188 |
description=gr_description,
|
| 189 |
examples=examples,
|
| 190 |
+
)
|
| 191 |
|
| 192 |
+
demo.queue()
|
| 193 |
+
demo.launch(theme="huggingface")
|