Ahmad Hathim bin Ahmad Azman commited on
Commit
2ff2bcb
·
1 Parent(s): 697cde8

Change to app.py

Browse files
Files changed (2) hide show
  1. main.py → app.py +0 -0
  2. space.yaml +3 -3
main.py → app.py RENAMED
File without changes
space.yaml CHANGED
@@ -1,10 +1,10 @@
1
  runtime:
2
  python: "3.10"
3
- app_file: "main.py"
4
 
5
  app:
6
- file: main.py
7
- entrypoint: "uvicorn main:app --host 0.0.0.0 --port 7860"
8
 
9
  hardware:
10
  accelerator: "cpu"
 
1
  runtime:
2
  python: "3.10"
3
+ app_file: "app.py"
4
 
5
  app:
6
+ file: app.py
7
+ entrypoint: "uvicorn app:app --host 0.0.0.0 --port 7860"
8
 
9
  hardware:
10
  accelerator: "cpu"