Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def tts(text: str, language="ja") -> object:
|
|
| 43 |
|
| 44 |
def yolov8_inference(
|
| 45 |
image,
|
| 46 |
-
area_thres=0.
|
| 47 |
defaul_bot_voice="おはいようございます"
|
| 48 |
):
|
| 49 |
"""
|
|
@@ -94,7 +94,7 @@ def yolov8_inference(
|
|
| 94 |
return Image.fromarray(result["image"]), html_bot_voice
|
| 95 |
|
| 96 |
|
| 97 |
-
outputs = [gr.Image(type="filepath", label="
|
| 98 |
gr.HTML()]
|
| 99 |
title = "Detomo Aisatsu Robot"
|
| 100 |
|
|
|
|
| 43 |
|
| 44 |
def yolov8_inference(
|
| 45 |
image,
|
| 46 |
+
area_thres=0.35,
|
| 47 |
defaul_bot_voice="おはいようございます"
|
| 48 |
):
|
| 49 |
"""
|
|
|
|
| 94 |
return Image.fromarray(result["image"]), html_bot_voice
|
| 95 |
|
| 96 |
|
| 97 |
+
outputs = [gr.Image(type="filepath", label="Robot View"),
|
| 98 |
gr.HTML()]
|
| 99 |
title = "Detomo Aisatsu Robot"
|
| 100 |
|