yetessam commited on
Commit
05c915f
·
verified ·
1 Parent(s): 1f0ec51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -59,6 +59,7 @@ if is_huggingface_endpoint(my_id):
59
  print("This is a Hugging Face Inference Endpoint.")
60
  else:
61
  print("This is NOT a Hugging Face Inference Endpoint.")
 
62
 
63
 
64
  '''
 
59
  print("This is a Hugging Face Inference Endpoint.")
60
  else:
61
  print("This is NOT a Hugging Face Inference Endpoint.")
62
+ sys.exit(1) # Stop execution if the endpoint is not valid
63
 
64
 
65
  '''