Duplicated from SrirakshaKR/Text_To_Image_Conversion
5b95000 3f6f71d 5b95000 b6e1db7 6cae56a 6ebd9b1 0821323
1
2
3
4
5
6
7
8
import gradio as gr import os # Load the API token from the environment variable hf_token = os.getenv("HF_TOKEN") interface = gr.load("models/ZB-Tech/Text-to-Image", token=hf_token) interface.launch()