XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Update discord link

b202958c
Heiner Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

3 个文件 +3 -3
Modified README.md +1 -1
@@ -32,7 +32,7 @@ docker pull hlohaus789/g4f
32 32 - **For comprehensive details on new features and updates, please refer to our** [Releases](https://github.com/xtekky/gpt4free/releases) **page**
33 33 - **Installation Guide for Windows (.exe):** 💻 [Installation Guide for Windows (.exe)](#installation-guide-for-windows-exe)
34 34 - **Join our Telegram Channel:** 📨 [telegram.me/g4f_channel](https://telegram.me/g4f_channel)
35 - **Join our Discord Group:** 💬🆕️ [discord.gg/vE7gCvss](https://discord.gg/vE7gCvss)
35 - **Join our Discord Group:** 💬🆕️ [discord.gg/qXA4Wf4Fsm](https://discord.gg/qXA4Wf4Fsm)
36 36
37 37
38 38 ## 🔻 Site Takedown
Modified g4f/Provider/needs_auth/DeepInfraImage.py +1 -1
@@ -74,7 +74,7 @@ class DeepInfraImage(AsyncGeneratorProvider, ProviderModelMixin):
74 74 async with session.post(f"{api_base.rstrip('/')}/{model}", json=data) as response:
75 75 await raise_for_status(response)
76 76 data = await response.json()
77 images = data.get("output", data.get("images"))
77 images = data.get("output", data.get("images", data.get("image_url")))
78 78 if not images:
79 79 raise RuntimeError(f"Response: {data}")
80 80 images = images[0] if len(images) == 1 else images
Modified g4f/gui/client/index.html +1 -1
@@ -72,7 +72,7 @@
72 72 </button>
73 73 <div class="info">
74 74 <i class="fa-brands fa-discord"></i>
75 <span class="convo-title">discord ~ <a href="https://discord.gg/vE7gCvss" target="_blank">discord.gg/vE7gCvss</a>
75 <span class="convo-title">discord ~ <a href="https://discord.gg/qXA4Wf4Fsm" target="_blank">discord.gg/qXA4Wf4Fsm</a>
76 76 </span>
77 77 </div>
78 78 <div class="info">