006f86 commited on
Commit
c317c06
·
1 Parent(s): 9cd2e00

updated server name

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -120,8 +120,9 @@ demo = gr.Interface(
120
  gr.JSON(label="Predictions per Cat")
121
  ],
122
  title="StrAI - Cat Identifier",
123
- description="Upload an image with one or more cats."
 
124
  )
125
 
126
  if __name__ == "__main__":
127
- demo.launch(server_name="0.0.0.0", api_mode=True)
 
120
  gr.JSON(label="Predictions per Cat")
121
  ],
122
  title="StrAI - Cat Identifier",
123
+ description="Upload an image with one or more cats.",
124
+ api_name="predict"
125
  )
126
 
127
  if __name__ == "__main__":
128
+ demo.launch(server_name="0.0.0.0")