Engr-arehmankhan786 commited on
Commit
99c8427
·
verified ·
1 Parent(s): 1fb54e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def diagnose_machine_fault(user_input):
15
  "Content-Type": "application/json"
16
  },
17
  json={
18
- "model": "mixtral-8x7b-32768", # You can also try gemma-7b-it or llama2-70b-chat
19
  "messages": [
20
  {"role": "system", "content": "You are a helpful assistant diagnosing industrial machine faults based on user descriptions."},
21
  {"role": "user", "content": user_input}
 
15
  "Content-Type": "application/json"
16
  },
17
  json={
18
+ "model": "llama3-8b-8192", # Use current valid model
19
  "messages": [
20
  {"role": "system", "content": "You are a helpful assistant diagnosing industrial machine faults based on user descriptions."},
21
  {"role": "user", "content": user_input}