Adityadn commited on
Commit
bd0ea97
·
verified ·
1 Parent(s): d179747

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ # Ganti URL model dengan URL model Anda di Hugging Face Spaces
4
+ model_url = "https://huggingface.co/spaces/Adityadn/AI-Image"
5
+
6
+ # Buat antarmuka Gradio
7
+ iface = gr.Interface.load(model_url)
8
+
9
+ # Jalankan antarmuka di localhost atau sesuaikan dengan kebutuhan Anda
10
+ iface.launch(share=True)