yetessam commited on
Commit
e59746c
·
verified ·
1 Parent(s): c6e6f42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ endpoint_uri = load_huggingface_model
20
 
21
  # Test the endpoint
22
 
23
- if not is_huggingface_endpoint(endpoint_uri):
24
  create_failed_gradio_ui()
25
 
26
  else:
 
20
 
21
  # Test the endpoint
22
 
23
+ if not is_public_endpoint(endpoint_uri):
24
  create_failed_gradio_ui()
25
 
26
  else: