Spaces:
Sleeping
Sleeping
import os | |
import phoenix as px | |
if __name__ == "__main__": | |
# The port is already set in the Dockerfile, so we don't need to set it here | |
os.environ["PHOENIX_PORT"] = "7860" | |
app = px.launch_app() | |
print("Phoenix app launched successfully!") | |
# Keep the script running | |
import time | |
while True: | |
time.sleep(1) | |