Subbu1304 commited on
Commit
a00e1ab
·
verified ·
1 Parent(s): 7b59028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -11,16 +11,9 @@ import time
11
  from waitress import serve
12
  from simple_salesforce import Salesforce
13
  import requests # Import requests for exception handling
14
- #from flask_cors import CORS
15
  app = Flask(__name__)
16
- #CORS(app)
17
 
18
 
19
-
20
-
21
- if __name__ == '__main__':
22
- app.run(debug=True, host='0.0.0.0', port=5000) # Run Flask on port 5000
23
-
24
  # Use whisper-small for faster processing and better speed
25
  device = "cuda" if torch.cuda.is_available() else "cpu"
26
 
 
11
  from waitress import serve
12
  from simple_salesforce import Salesforce
13
  import requests # Import requests for exception handling
 
14
  app = Flask(__name__)
 
15
 
16
 
 
 
 
 
 
17
  # Use whisper-small for faster processing and better speed
18
  device = "cuda" if torch.cuda.is_available() else "cpu"
19