Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,13 @@ import markdowm as md
|
|
4 |
import gradio as gr
|
5 |
import base64
|
6 |
import datetime
|
|
|
7 |
|
8 |
# client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
|
9 |
-
client = InferenceClient(
|
10 |
-
|
|
|
|
|
11 |
|
12 |
# Chatbot response function with integrated system message
|
13 |
def respond(
|
|
|
4 |
import gradio as gr
|
5 |
import base64
|
6 |
import datetime
|
7 |
+
import os
|
8 |
|
9 |
# client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
|
10 |
+
client = InferenceClient(
|
11 |
+
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
12 |
+
token=os.getenv("token")
|
13 |
+
)
|
14 |
|
15 |
# Chatbot response function with integrated system message
|
16 |
def respond(
|