Embedding / app.py
Adityadn's picture
Update app.py
2f847d6 verified
raw
history blame
295 Bytes
import gradio as gr
# Ganti URL model dengan URL model Anda di Hugging Face Spaces
model_url = "https://huggingface.co/spaces/Adityadn/AI-Image"
# Buat antarmuka Gradio
iface = gr.Interface.load(model_url)
# Jalankan antarmuka di localhost atau sesuaikan dengan kebutuhan Anda
iface.launch()