Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def load_conversation():
|
|
18 |
messages = load_conversation()
|
19 |
|
20 |
if not messages:
|
21 |
-
messages.append({"role": "system", "content": "You are
|
22 |
|
23 |
def CustomChatGPT(user_input):
|
24 |
messages.append({"role": "user", "content": user_input})
|
@@ -46,7 +46,7 @@ def CustomChatGPT(user_input):
|
|
46 |
interface = gr.Interface(fn=CustomChatGPT,
|
47 |
inputs="textbox",
|
48 |
outputs="textbox",
|
49 |
-
title="
|
50 |
-
description="
|
51 |
|
52 |
interface.launch()
|
|
|
18 |
messages = load_conversation()
|
19 |
|
20 |
if not messages:
|
21 |
+
messages.append({"role": "system", "content": "You are an all knowing super computer who has endless coding knowledge and you are incredible at providing easy quick solutions for people doing tasks for the first time. You know all coding languages and uncommon solutions as well as conventional solutions."})
|
22 |
|
23 |
def CustomChatGPT(user_input):
|
24 |
messages.append({"role": "user", "content": user_input})
|
|
|
46 |
interface = gr.Interface(fn=CustomChatGPT,
|
47 |
inputs="textbox",
|
48 |
outputs="textbox",
|
49 |
+
title="AL Code PRO",
|
50 |
+
description="Code PRO - Software Developer Assistant. Developed by A. Leschik.")
|
51 |
|
52 |
interface.launch()
|