yetessam commited on
Commit
8f16109
·
verified ·
1 Parent(s): f8c087a

Print out precchecks to the log

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -14,13 +14,15 @@ from tools.tools import tools
14
  from agents.model import load_huggingface_model
15
  from agents.prompts import load_prompts
16
 
17
-
18
-
19
  from Gradio_UI import GradioUI
20
 
 
 
21
  # Get the URI for the endpoint
22
  endpoint_uri = load_huggingface_model
23
 
 
 
24
  # Test the endpoint
25
  if not is_public_endpoint(endpoint_uri):
26
  create_failed_gradio_ui()
 
14
  from agents.model import load_huggingface_model
15
  from agents.prompts import load_prompts
16
 
 
 
17
  from Gradio_UI import GradioUI
18
 
19
+ # Prechecks
20
+
21
  # Get the URI for the endpoint
22
  endpoint_uri = load_huggingface_model
23
 
24
+ print(endpoint_uri)
25
+ print(is_public_endpoint(endpoint_uri))
26
  # Test the endpoint
27
  if not is_public_endpoint(endpoint_uri):
28
  create_failed_gradio_ui()