CLASSIFIED-HEX commited on
Commit
c13ddf9
·
verified ·
1 Parent(s): 7ce4733

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -3,7 +3,7 @@
3
  import requests
4
 
5
  # Replace this with your actual model URL (must be PUBLIC!)
6
- MODEL_URL = "https://api-inference.huggingface.co/models/your-username/your-model-name"
7
 
8
  def generate_text(prompt, max_tokens=250, temperature=0.7, top_p=0.95, top_k=50, repetition_penalty=1.2, trim_output=False):
9
  payload = {
 
3
  import requests
4
 
5
  # Replace this with your actual model URL (must be PUBLIC!)
6
+ MODEL_URL = "https://api-inference.huggingface.co/models/CLASSIFIED-HEX/X"
7
 
8
  def generate_text(prompt, max_tokens=250, temperature=0.7, top_p=0.95, top_k=50, repetition_penalty=1.2, trim_output=False):
9
  payload = {