import AutoTokenizer in app.py

import AutoTokenizer in app.py, because I forgot to
This commit is contained in:
chatgpt-tricks 2023-09-20 15:31:37 +02:00 committed by GitHub
parent 9685db9ecd
commit ce1bf62ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ from typing import Any
import requests import requests
from flask import Flask, request from flask import Flask, request
from flask_cors import CORS from flask_cors import CORS
from transformers import AutoTokenizer
from g4f import ChatCompletion from g4f import ChatCompletion
app = Flask(__name__) app = Flask(__name__)