Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def diagnose_machine_fault(user_input):
|
|
| 15 |
"Content-Type": "application/json"
|
| 16 |
},
|
| 17 |
json={
|
| 18 |
-
"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}
|
|
|
|
| 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}
|