Rhodham96 commited on
Commit
416a81f
·
1 Parent(s): ab58b14

Add app.py

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +5 -0
Dockerfile CHANGED
@@ -38,4 +38,4 @@ EXPOSE 7860
38
  ENV GRADIO_SERVER_NAME=0.0.0.0
39
 
40
  # Run the app
41
- CMD ["python", "SatelliteClassification.py"]
 
38
  ENV GRADIO_SERVER_NAME=0.0.0.0
39
 
40
  # Run the app
41
+ CMD ["python", "app.py"]
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from SatelliteClassification import create_interface
2
+
3
+ if __name__ == "__main__":
4
+ demo = create_interface()
5
+ demo.launch(share=True)