Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,11 @@ import os
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Ganti URL model dengan URL model Anda di Hugging Face Spaces
|
6 |
-
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# Dapatkan token akses Hugging Face dari variabel lingkungan
|
9 |
token = os.environ.get("AI_Image")
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Ganti URL model dengan URL model Anda di Hugging Face Spaces
|
6 |
+
|
7 |
+
username = "Adityadn"
|
8 |
+
repo = "test"
|
9 |
+
|
10 |
+
url = f"spaces/{username}/{repo}"
|
11 |
|
12 |
# Dapatkan token akses Hugging Face dari variabel lingkungan
|
13 |
token = os.environ.get("AI_Image")
|