Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,9 @@ personality_model = AutoModelForSequenceClassification.from_pretrained("KevSun/P
|
|
| 9 |
personality_tokenizer = AutoTokenizer.from_pretrained("KevSun/Personality_LM")
|
| 10 |
|
| 11 |
# Initialize the LLM client (HuggingFaceH4/zephyr-7b-beta)
|
| 12 |
-
llm_client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
|
|
|
|
|
|
|
| 13 |
|
| 14 |
def analyze_personality(text):
|
| 15 |
"""
|
|
|
|
| 9 |
personality_tokenizer = AutoTokenizer.from_pretrained("KevSun/Personality_LM")
|
| 10 |
|
| 11 |
# Initialize the LLM client (HuggingFaceH4/zephyr-7b-beta)
|
| 12 |
+
#llm_client = InferenceClient("Qwen/Qwen2.5-72B-Instruct")
|
| 13 |
+
llm_client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 14 |
+
|
| 15 |
|
| 16 |
def analyze_personality(text):
|
| 17 |
"""
|