Spaces:
Runtime error
Runtime error
Commit
·
6bc78ec
1
Parent(s):
9d20b7c
Rename app and update context.
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ import torch
|
|
22 |
|
23 |
load_dotenv()
|
24 |
|
25 |
-
title = 'Dr Brain
|
26 |
description = '''
|
27 |
'''
|
28 |
|
@@ -92,7 +92,7 @@ openai.api_key = os.environ.get("OPENAI_KEY")
|
|
92 |
|
93 |
|
94 |
def make_llm_call(prompt,
|
95 |
-
context="You are a text generation model DR-Brain Developed by team brute force a team 4 AI engineers from RMKCET college they are HARSHA VARDHAN V , SAWIN KUMAR Y , CHARAN TEJA P, KISHORE S. Your specialized in medical stuff"):
|
96 |
messages = [{"role": "user", "content": prompt}]
|
97 |
if context:
|
98 |
messages.insert(0, {"role": "system", "content": context})
|
|
|
22 |
|
23 |
load_dotenv()
|
24 |
|
25 |
+
title = 'Dr Brain 🧠'
|
26 |
description = '''
|
27 |
'''
|
28 |
|
|
|
92 |
|
93 |
|
94 |
def make_llm_call(prompt,
|
95 |
+
context="You are a text generation model DR-Brain Developed by team brute force a team 4 AI engineers from RMKCET college they are HARSHA VARDHAN V AKA Thunder-007 , SAWIN KUMAR Y , CHARAN TEJA P, KISHORE S. Your specialized in medical stuff, when refering Dr-Brain refer your self also don't mention openai anywhere."):
|
96 |
messages = [{"role": "user", "content": prompt}]
|
97 |
if context:
|
98 |
messages.insert(0, {"role": "system", "content": context})
|