Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,16 +2,16 @@ import os
|
|
2 |
import streamlit as st
|
3 |
from langchain_huggingface import HuggingFaceEndpoint
|
4 |
|
5 |
-
# Set the environment variable "
|
6 |
sec_key = ""
|
7 |
-
os.environ["
|
8 |
|
9 |
# Specify the repository IDs of the Hugging Face models you want to use
|
10 |
repo_id_mistral = "mistralai/Mistral-7B-Instruct-v0.3"
|
11 |
repo_id_llama3 = "meta-llama/Meta-Llama-3-8B" # Replace with the actual repo ID for Llama3
|
12 |
|
13 |
# Streamlit app layout
|
14 |
-
st.title("🤖
|
15 |
|
16 |
# Custom background and styling
|
17 |
st.markdown(
|
|
|
2 |
import streamlit as st
|
3 |
from langchain_huggingface import HuggingFaceEndpoint
|
4 |
|
5 |
+
# Set the environment variable "m_token" to the value of sec_key
|
6 |
sec_key = ""
|
7 |
+
os.environ["m_token"] = sec_key
|
8 |
|
9 |
# Specify the repository IDs of the Hugging Face models you want to use
|
10 |
repo_id_mistral = "mistralai/Mistral-7B-Instruct-v0.3"
|
11 |
repo_id_llama3 = "meta-llama/Meta-Llama-3-8B" # Replace with the actual repo ID for Llama3
|
12 |
|
13 |
# Streamlit app layout
|
14 |
+
st.title("🤖 Mistral-7B-Instruct-v0.3 تجربة نموذج 🧙")
|
15 |
|
16 |
# Custom background and styling
|
17 |
st.markdown(
|