Spaces:
Running
Running
Commit
·
a72a8a4
1
Parent(s):
3a1aecb
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def generate_response(history):
|
|
| 24 |
return tokenizer.batch_decode(reply_ids, skip_special_tokens=True)[0]
|
| 25 |
|
| 26 |
|
| 27 |
-
@app.route("/", methods=["GET", "POST"])
|
| 28 |
def index():
|
| 29 |
if request.method == "POST":
|
| 30 |
global history
|
|
|
|
| 24 |
return tokenizer.batch_decode(reply_ids, skip_special_tokens=True)[0]
|
| 25 |
|
| 26 |
|
| 27 |
+
@app.route("/index.html", methods=["GET", "POST"])
|
| 28 |
def index():
|
| 29 |
if request.method == "POST":
|
| 30 |
global history
|