GoodML commited on
Commit
1ab9028
·
verified ·
1 Parent(s): d85921f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -2,15 +2,22 @@ import os
2
  import subprocess
3
  import whisper
4
  import requests
5
- from flask import Flask, request, jsonify, send_file
6
  import tempfile
7
  import warnings
 
 
 
 
 
 
 
8
 
9
  warnings.filterwarnings("ignore", category=UserWarning, module="whisper")
10
 
11
 
12
  app = Flask(__name__)
13
 
 
14
  # Gemini API settings
15
  load_dotenv()
16
  API_KEY = os.getenv("FIRST_API_KEY")
 
2
  import subprocess
3
  import whisper
4
  import requests
 
5
  import tempfile
6
  import warnings
7
+ from flask import Flask, request, jsonify, send_file, render_template
8
+
9
+ from dotenv import load_dotenv
10
+ import requests
11
+
12
+
13
+
14
 
15
  warnings.filterwarnings("ignore", category=UserWarning, module="whisper")
16
 
17
 
18
  app = Flask(__name__)
19
 
20
+
21
  # Gemini API settings
22
  load_dotenv()
23
  API_KEY = os.getenv("FIRST_API_KEY")