dakkoong commited on
Commit
97624c8
ยท
1 Parent(s): 39d8f72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -31,7 +31,9 @@ def classify_image(img):
31
  return predicted_label
32
 
33
  # Gradio UI๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
34
- iface = gr.Interface(fn=classify_image, inputs="image", outputs="label", live=True)
 
 
35
 
36
  # Gradio UI๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.
37
  iface.launch()
 
31
  return predicted_label
32
 
33
  # Gradio UI๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
34
+ iface = gr.Interface(fn=classify_image,
35
+ inputs=gr.Image(shape=(800, 600),
36
+ outputs="label", live=True)
37
 
38
  # Gradio UI๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.
39
  iface.launch()