mrbui1990 commited on
Commit
77db641
·
verified ·
1 Parent(s): ceb74c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
 
5
  HF_MODEL = "TOPAI-Network/nsfw_chat_0124"
6
  HF_TOKEN = os.getenv("HF_TOKEN")
7
- API_URL = f"https://router.huggingface.co/hf-inference/models/{HF_MODEL}"
8
  HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"} if HF_TOKEN else {}
9
 
10
  # Safety / gate: simple age checkbox + confirmation of NSFW
 
4
 
5
  HF_MODEL = "TOPAI-Network/nsfw_chat_0124"
6
  HF_TOKEN = os.getenv("HF_TOKEN")
7
+ API_URL = f"https://router.huggingface.co/hf-inference/models/TOPAI-Network/nsfw_chat_0124"
8
  HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"} if HF_TOKEN else {}
9
 
10
  # Safety / gate: simple age checkbox + confirmation of NSFW