Sarath0x8f commited on
Commit
f6d8670
·
verified ·
1 Parent(s): f489bfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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("mistralai/Mixtral-8x7B-Instruct-v0.1")
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(