NoCrypt commited on
Commit
c25e825
1 Parent(s): 7d40d09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -130,7 +130,7 @@ def predict(image: PIL.Image.Image, score_threshold: float,
130
  message = ""
131
  info = f"<div><p>{message}<p></div>"
132
 
133
- return (a,res,info)
134
 
135
 
136
  def main():
@@ -155,8 +155,8 @@ def main():
155
  ],
156
  [
157
  gr.outputs.Textbox(label='Output String'),
158
- gr.outputs.Label(label='Output Labels'),
159
- gr.outputs.HTML()
160
  ],
161
  examples=[
162
  ['miku.jpg',0.5],
 
130
  message = ""
131
  info = f"<div><p>{message}<p></div>"
132
 
133
+ return (a,info,res)
134
 
135
 
136
  def main():
 
155
  ],
156
  [
157
  gr.outputs.Textbox(label='Output String'),
158
+ gr.outputs.HTML(),
159
+ gr.outputs.Label(label='Output Labels')
160
  ],
161
  examples=[
162
  ['miku.jpg',0.5],