Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def get_groq_response(message):
|
|
| 10 |
response = openai.ChatCompletion.create(
|
| 11 |
model = "llama-3.1-70b-versatile",
|
| 12 |
messages = [
|
| 13 |
-
{"role": "system", "content": "
|
| 14 |
{"role": "user", "content": message}
|
| 15 |
]
|
| 16 |
)
|
|
@@ -28,7 +28,7 @@ chat_interface = gr.Interface(
|
|
| 28 |
inputs= ["text", "state"],
|
| 29 |
outputs=["chatbot", "state"],
|
| 30 |
live=False,
|
| 31 |
-
title="
|
| 32 |
-
description="
|
| 33 |
)
|
| 34 |
chat_interface.launch()
|
|
|
|
| 10 |
response = openai.ChatCompletion.create(
|
| 11 |
model = "llama-3.1-70b-versatile",
|
| 12 |
messages = [
|
| 13 |
+
{"role": "system", "content": "you are starting a new year 2025 with a great energy so write a special note for a new year for my school friends asyou are jaydev and all are your claasmates amandeep is lambu abhijeet,harsh are crazy ram is amandeep 's son adarsh, riddhesh,hussain,harshvardan are padaku tanish is cool boy rishabh and vivek are talented, you have crush on pankhudi,stuti is pankhudi friend, prateeek is bulky guy you always make fun of him's '"},
|
| 14 |
{"role": "user", "content": message}
|
| 15 |
]
|
| 16 |
)
|
|
|
|
| 28 |
inputs= ["text", "state"],
|
| 29 |
outputs=["chatbot", "state"],
|
| 30 |
live=False,
|
| 31 |
+
title="avengers",
|
| 32 |
+
description="launching the new year :"
|
| 33 |
)
|
| 34 |
chat_interface.launch()
|