vumichien commited on
Commit
5ce40d5
·
1 Parent(s): 7b6cc37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.5,
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="Output Image"),
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