mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
Fix missing import
This commit is contained in:
parent
4337fa7fa8
commit
aa92c2225e
2 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ class Backend_Api(Api):
|
|||
json_data["provider"] = random.choice(models.demo_models[model][1])
|
||||
else:
|
||||
json_data["provider"] = models.HuggingFace
|
||||
debug.log("User:", request.headers)
|
||||
debug.log("User:", request.headers.get("x_user", "unknown"))
|
||||
kwargs = self._prepare_conversation_kwargs(json_data)
|
||||
return self.app.response_class(
|
||||
self._create_response_stream(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue