Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ huggingfacehub_api_token = os.environ["HUGGINGFACEHUB_API_TOKEN"]
|
|
8 |
#Function to return the response
|
9 |
def generate_answer(query):
|
10 |
client = InferenceClient(
|
11 |
-
|
12 |
token=huggingfacehub_api_token,
|
13 |
)
|
14 |
prompt = f"""
|
|
|
8 |
#Function to return the response
|
9 |
def generate_answer(query):
|
10 |
client = InferenceClient(
|
11 |
+
model="huggingfaceh4/zephyr-7b-alpha",
|
12 |
token=huggingfacehub_api_token,
|
13 |
)
|
14 |
prompt = f"""
|