mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-15 06:13:01 +00:00
import AutoTokenizer in app.py
import AutoTokenizer in app.py, because I forgot to
This commit is contained in:
parent
9685db9ecd
commit
ce1bf62ac3
@ -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__)
|
||||||
|
Loading…
Reference in New Issue
Block a user