yetessam commited on
Commit
f679506
·
verified ·
1 Parent(s): df15652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -81,9 +81,6 @@ def wake_up_endpoint(endpoint_uri, max_wait=30):
81
  def main():
82
 
83
 
84
- ui = StatusUI("🚦 Endpoint Logger")
85
- ui.launch()
86
-
87
  # Elsewhere in your code:
88
  #ui.append("Checking endpoint…")
89
  #ui.append("✅ Model responded OK.")
@@ -117,4 +114,8 @@ def main():
117
 
118
 
119
  if __name__ == "__main__":
120
- main()
 
 
 
 
 
81
  def main():
82
 
83
 
 
 
 
84
  # Elsewhere in your code:
85
  #ui.append("Checking endpoint…")
86
  #ui.append("✅ Model responded OK.")
 
114
 
115
 
116
  if __name__ == "__main__":
117
+
118
+ ui = StatusUI("🚦 Endpoint Logger")
119
+ ui.launch()
120
+
121
+ #main()