bainskarman commited on
Commit
d5f6c77
·
verified ·
1 Parent(s): d3377e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import os
3
  import requests
4
 
5
  # Load the Hugging Face token from environment variables (secrets)
6
- token = os.environ.get("KEY2") # Replace "KEY2" with your secret key name
7
 
8
  # Function to query the Hugging Face API
9
  def query_huggingface_api(prompt, max_new_tokens=50, temperature=0.7, top_k=50):
 
3
  import requests
4
 
5
  # Load the Hugging Face token from environment variables (secrets)
6
+ token = os.environ.get("Key2") # Replace "KEY2" with your secret key name
7
 
8
  # Function to query the Hugging Face API
9
  def query_huggingface_api(prompt, max_new_tokens=50, temperature=0.7, top_k=50):