Rename index.html to ty.py
Browse files- index.html → ty.py +1 -1
index.html → ty.py
RENAMED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
import requests
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
API_TOKEN = "
|
| 6 |
API_URL = "https://api-inference.huggingface.co/models/cerspense/zeroscope_v2_576w"
|
| 7 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 8 |
|
|
|
|
| 2 |
import requests
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
+
API_TOKEN = "hf_sgvBfNhObQsFRuKBzBRRbawzrhJBNmZVh" # <-- ใส่ของคุณ
|
| 6 |
API_URL = "https://api-inference.huggingface.co/models/cerspense/zeroscope_v2_576w"
|
| 7 |
headers = {"Authorization": f"Bearer {API_TOKEN}"}
|
| 8 |
|