muhammadhamza-stack commited on
Commit
6c40bac
·
1 Parent(s): 2e3f63d

change the port number in app

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +2 -2
Dockerfile CHANGED
@@ -27,7 +27,7 @@ RUN pip install --upgrade pip \
27
  COPY . .
28
 
29
  # Hugging Face Spaces uses port 7860
30
- EXPOSE 7866
31
 
32
  # Start the app
33
  CMD ["python", "app.py"]
 
27
  COPY . .
28
 
29
  # Hugging Face Spaces uses port 7860
30
+ EXPOSE 7860
31
 
32
  # Start the app
33
  CMD ["python", "app.py"]
app.py CHANGED
@@ -245,6 +245,6 @@ if __name__ == "__main__":
245
  interface = create_interface()
246
  interface.queue()
247
  interface.launch(
248
- # server_name="0.0.0.0",
249
- # server_port=7865
250
  )
 
245
  interface = create_interface()
246
  interface.queue()
247
  interface.launch(
248
+ server_name="0.0.0.0",
249
+ server_port=7860
250
  )