Phil Sobrepena commited on
Commit
9b08090
·
1 Parent(s): 9ea24c7

rename demo to app

Browse files
Files changed (2) hide show
  1. Dockerfile +5 -2
  2. gradio_demo.py → app.py +0 -0
Dockerfile CHANGED
@@ -35,6 +35,9 @@ RUN pip3 install --no-cache-dir numpy && \
35
  # Create output directory
36
  RUN mkdir -p output/gradio && chmod 777 output/gradio
37
 
 
 
 
38
  # Set environment variables for Hugging Face Spaces
39
  ENV PYTHONUNBUFFERED=1
40
  ENV GRADIO_SERVER_NAME=0.0.0.0
@@ -44,5 +47,5 @@ ENV PYTHONPATH=/code/MMAudio
44
  # Expose Gradio port
45
  EXPOSE 7860
46
 
47
- # Run the Gradio demo
48
- CMD ["python3", "gradio_demo.py"]
 
35
  # Create output directory
36
  RUN mkdir -p output/gradio && chmod 777 output/gradio
37
 
38
+ # Rename gradio_demo.py to app.py
39
+ RUN mv gradio_demo.py app.py
40
+
41
  # Set environment variables for Hugging Face Spaces
42
  ENV PYTHONUNBUFFERED=1
43
  ENV GRADIO_SERVER_NAME=0.0.0.0
 
47
  # Expose Gradio port
48
  EXPOSE 7860
49
 
50
+ # Run the app
51
+ CMD ["python3", "app.py"]
gradio_demo.py → app.py RENAMED
File without changes