Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import requests
|
|
|
3 |
|
4 |
# Hugging Face API details
|
5 |
-
|
|
|
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 |
|