Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ api_key = os.getenv('OPENAI_API_KEY')
|
|
15 |
client = OpenAI(api_key=api_key)
|
16 |
|
17 |
# Define a system message to introduce ExosAI
|
18 |
-
system_message = "You are
|
19 |
|
20 |
def encode_text(text):
|
21 |
inputs = bi_tokenizer(text, return_tensors='pt', padding=True, truncation=True, max_length=128)
|
|
|
15 |
client = OpenAI(api_key=api_key)
|
16 |
|
17 |
# Define a system message to introduce ExosAI
|
18 |
+
system_message = "You are Exos, a helpful assistant specializing in Exoplanet research. Provide detailed and accurate responses related to Exoplanet research."
|
19 |
|
20 |
def encode_text(text):
|
21 |
inputs = bi_tokenizer(text, return_tensors='pt', padding=True, truncation=True, max_length=128)
|