Spaces:
Sleeping
Sleeping
Update groq_flask.py
Browse files- groq_flask.py +2 -18
groq_flask.py
CHANGED
|
@@ -15,16 +15,7 @@ def chat():
|
|
| 15 |
|
| 16 |
# Developer information
|
| 17 |
developer_info = {
|
| 18 |
-
'
|
| 19 |
-
'contact': {
|
| 20 |
-
'Telegram': 'https://t.me/devsdocode',
|
| 21 |
-
'YouTube Channel': 'https://www.youtube.com/@DevsDoCode',
|
| 22 |
-
'Discord Server': 'https://discord.gg/ehwfVtsAts',
|
| 23 |
-
'Instagram': {
|
| 24 |
-
'Personal': 'https://www.instagram.com/sree.shades_/',
|
| 25 |
-
'Channel': 'https://www.instagram.com/devsdocode_/'
|
| 26 |
-
}
|
| 27 |
-
}
|
| 28 |
}
|
| 29 |
|
| 30 |
if query:
|
|
@@ -33,14 +24,7 @@ def chat():
|
|
| 33 |
|
| 34 |
else:
|
| 35 |
error_message = {
|
| 36 |
-
'
|
| 37 |
-
'telegram': 'https://t.me/DevsDoCode',
|
| 38 |
-
'instagram': 'https://www.instagram.com/sree.shades_/',
|
| 39 |
-
'discord': 'https://discord.gg/ehwfVtsAts',
|
| 40 |
-
'linkedin': 'https://www.linkedin.com/in/developer-sreejan/',
|
| 41 |
-
'twitter': 'https://twitter.com/Anand_Sreejan'
|
| 42 |
-
},
|
| 43 |
-
'error': 'Oops! Something went wrong. Please contact the developer Devs Do Code.'
|
| 44 |
}
|
| 45 |
return jsonify(error_message), 400
|
| 46 |
|
|
|
|
| 15 |
|
| 16 |
# Developer information
|
| 17 |
developer_info = {
|
| 18 |
+
'status': True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
if query:
|
|
|
|
| 24 |
|
| 25 |
else:
|
| 26 |
error_message = {
|
| 27 |
+
'error': 'Oops! Something went wrong.'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
return jsonify(error_message), 400
|
| 30 |
|