Futuresony commited on
Commit
8fd98b4
·
verified ·
1 Parent(s): 1c211ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
 
 
 
 
4
  client = InferenceClient("Futuresony/future_ai_12_10_2024.gguf")
5
 
6
  def format_alpaca_prompt(user_input, system_prompt):
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ # 🔹 Hugging Face Credentials
5
+ HF_REPO = "Futuresony/future_ai_12_10_2024.gguf"
6
+ HF_TOKEN = os.getenv('HUGGINGFACEHUB_API_TOKEN') # Ensure this is set in your environment
7
+
8
  client = InferenceClient("Futuresony/future_ai_12_10_2024.gguf")
9
 
10
  def format_alpaca_prompt(user_input, system_prompt):