Tri4 commited on
Commit
e6793b7
·
verified ·
1 Parent(s): a14c84f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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 "Semabox, listens to you!"
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)