sifujohn commited on
Commit
d85d629
·
verified ·
1 Parent(s): 0df90fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,9 +1,10 @@
1
 
2
  import streamlit as st
3
- from transformers import AutoModelForCausalLM, AutoTokenizer
4
- model_name = "mistralai/Mixtral-8x7B-Instruct-v0.1"
5
- tokenizer = AutoTokenizer.from_pretrained(model_name)
6
- model = AutoModelForCausalLM.from_pretrained(model_name)
 
7
 
8
  class GroupTherapyAgent:
9
  def __init__(self, model, tokenizer):
 
1
 
2
  import streamlit as st
3
+ from huggingface_hub import InferenceClient
4
+
5
+ client = InferenceClient(
6
+ "mistralai/Mistral-7B-Instruct-v0.1"
7
+ )
8
 
9
  class GroupTherapyAgent:
10
  def __init__(self, model, tokenizer):