Update main.py
Browse files
main.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
#https://products.aspose.app/audio/voice-recorder/wav
|
2 |
|
3 |
-
from flask import Flask, request, jsonify
|
4 |
from datetime import datetime
|
5 |
import whisper
|
6 |
import time
|
@@ -11,7 +11,7 @@ app = Flask(__name__)
|
|
11 |
|
12 |
@app.route("/")
|
13 |
def hello():
|
14 |
-
return
|
15 |
|
16 |
# Load the Whisper model
|
17 |
print("Loading Whisper model...\n", flush=True)
|
|
|
1 |
#https://products.aspose.app/audio/voice-recorder/wav
|
2 |
|
3 |
+
from flask import Flask, request, jsonify, render_template
|
4 |
from datetime import datetime
|
5 |
import whisper
|
6 |
import time
|
|
|
11 |
|
12 |
@app.route("/")
|
13 |
def hello():
|
14 |
+
return render_template('index.html')
|
15 |
|
16 |
# Load the Whisper model
|
17 |
print("Loading Whisper model...\n", flush=True)
|