SiddarthReddy commited on
Commit
8c86ca7
·
verified ·
1 Parent(s): a00cf0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,8 +1,10 @@
1
  import gradio as gr
2
  import requests
 
3
 
4
  # Hugging Face API details
5
- HF_API_TOKEN = "Champignon" # Replace with your API key
 
6
 
7
  MODEL_NAME = "mistralai/Mistral-7B-Instruct" # Choose an LLM model
8
 
 
1
  import gradio as gr
2
  import requests
3
+ import os
4
 
5
  # Hugging Face API details
6
+
7
+ HF_API_TOKEN = os.getenv("Champignon") # Replace with your API key
8
 
9
  MODEL_NAME = "mistralai/Mistral-7B-Instruct" # Choose an LLM model
10