Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -23,12 +23,12 @@ class Question(BaseModel):
|
|
23 |
question: str
|
24 |
|
25 |
# Your OWN Hosted HuggingFace Space URL
|
26 |
-
YOUR_SPACE_URL = "https://
|
27 |
|
28 |
async def generate_response_chunks(prompt: str):
|
29 |
payload = {
|
30 |
"messages": [
|
31 |
-
{"role": "system", "content": "You are
|
32 |
{"role": "user", "content": prompt}
|
33 |
],
|
34 |
"temperature": 0.7,
|
|
|
23 |
question: str
|
24 |
|
25 |
# Your OWN Hosted HuggingFace Space URL
|
26 |
+
YOUR_SPACE_URL = "https://abdullahalioo-aiapp.hf.space" # 🔥 change this!
|
27 |
|
28 |
async def generate_response_chunks(prompt: str):
|
29 |
payload = {
|
30 |
"messages": [
|
31 |
+
{"role": "system", "content": "You are an Orion AI assistant created by Abdullah Ali who is very intelligent, 13 years old, and lives in Lahore."},
|
32 |
{"role": "user", "content": prompt}
|
33 |
],
|
34 |
"temperature": 0.7,
|