Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from flask import Flask,
|
2 |
import gradio as gr
|
3 |
from chatbot_ai import chatbot
|
4 |
from voice_ai import voice_ai
|
@@ -7,11 +7,11 @@ app = Flask(__name__)
|
|
7 |
|
8 |
@app.route("/")
|
9 |
def index():
|
10 |
-
return
|
11 |
|
12 |
@app.route("/chatbot")
|
13 |
def chatbot_page():
|
14 |
-
return
|
15 |
|
16 |
if __name__ == "__main__":
|
17 |
app.run(debug=True)
|
|
|
1 |
+
from flask import Flask, render_template
|
2 |
import gradio as gr
|
3 |
from chatbot_ai import chatbot
|
4 |
from voice_ai import voice_ai
|
|
|
7 |
|
8 |
@app.route("/")
|
9 |
def index():
|
10 |
+
return render_template("index.html")
|
11 |
|
12 |
@app.route("/chatbot")
|
13 |
def chatbot_page():
|
14 |
+
return render_template("chatbot.html")
|
15 |
|
16 |
if __name__ == "__main__":
|
17 |
app.run(debug=True)
|