alexpantex commited on
Commit
255a045
·
verified ·
1 Parent(s): c454a1c

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ api_thread = threading.Thread(target=start_api_server)
8
  api_thread.start()
9
 
10
  # Use localhost as FastAPI and Streamlit run in the same environment on Spaces
11
- API_PORT = os.getenv("PORT", "7860")
12
  API_URL = f"http://localhost:{API_PORT}/search"
13
 
14
  st.title("Prompt Search App")
 
8
  api_thread.start()
9
 
10
  # Use localhost as FastAPI and Streamlit run in the same environment on Spaces
11
+ API_PORT = os.getenv("PORT", "7861")
12
  API_URL = f"http://localhost:{API_PORT}/search"
13
 
14
  st.title("Prompt Search App")