stable diffusion如何解决gradio外链无法开启的问题

问题确认

为了确认gradio开启不了是gradio库的问题还是stable diffusion的问题,可以先执行这样一段demo代码

py 复制代码
import gradio as gr

def greet(name):
    return "Hello " + name + "!"

demo = gr.Interface(fn=greet, inputs="text", outputs="text")
    
demo.launch(share=True)

输出结果如下,说明是gradio的锅:

问题修补

在这个讨论区里,可以看到这样一层

照此执行

查看权限

重新执行,解决!

相关推荐
Lifangyun_WD4 天前
RTX 5090跑Stable Diffusion XL:生图速度、显存占用与商业应用边界
人工智能·stable diffusion·gpu算力·rtx 5090·gpu容器·gpu租赁
承渊政道4 天前
把家里的显卡变成远程AI画室:Stable Diffusion WebUI部署实战
人工智能·stable diffusion·内网穿透·cpolar·web ui·ai画室
老刘说AI1 个月前
类Sora模型:解锁动态视觉艺术的密码
人工智能·stable diffusion·架构·embedding
python-码博士1 个月前
Stable Diffusion 3 / FLUX 类模型中的 Flow Matching:怎么用、怎么调、怎么避坑
stable diffusion
Rocky Ding*1 个月前
Latent Consistency Models:一篇读懂扩散模型的少步生成核心基础知识
人工智能·深度学习·机器学习·ai作画·stable diffusion·aigc·ai-native
Asimov_Liu1 个月前
Diffusion 与 Flow Matching 数学原理及其在 VLA Action 生成中的应用
stable diffusion·自动驾驶·具身智能·vla·flow matching
Rocky Ding*1 个月前
Token Merging for Fast Stable Diffusion:一篇读懂 Stable Diffusion 的免训练加速机制
论文阅读·人工智能·深度学习·机器学习·stable diffusion·aigc·ai-native
yuguo.im1 个月前
Mac M4 安装 sd-webui 踩坑全记录
macos·stable diffusion
hugo_im1 个月前
Mac M4 安装 sd-webui 踩坑全记录
stable diffusion
一叶知秋dong2 个月前
Stable diffusion 工作原理
人工智能·深度学习·stable diffusion