Spaces:
Running
Running
Commit
•
f03b3b4
1
Parent(s):
b791f15
Update app.py
Browse files
app.py
CHANGED
@@ -31,14 +31,7 @@ def generate(
|
|
31 |
):
|
32 |
seed = random.randint(1,1111111111111111)
|
33 |
|
34 |
-
|
35 |
-
id="codeGPTWidgetScript"
|
36 |
-
type="module"
|
37 |
-
async
|
38 |
-
src="https://widget.codegpt.co/chat-widget.js"
|
39 |
-
defer
|
40 |
-
data-widget-id="c265505c-e667-4af2-b492-291da888ee7c"
|
41 |
-
></script>
|
42 |
agent=prompts.WEB_DEV
|
43 |
if agent_name == "WEB_DEV":
|
44 |
agent = prompts.WEB_DEV_SYSTEM_PROMPT
|
@@ -158,7 +151,7 @@ examples=[
|
|
158 |
["Generate a Python script to perform a text classification on a given dataset", agents[2], None, None, None, None, ],
|
159 |
["Write a shell script to automate the installation of a software package on a server", agents[1], None, None, None, None, ],
|
160 |
["Create a simple game in Godot using GDScript", agents[3], None, None, None, None, ],
|
161 |
-
["Generate a Java program to implement a merge sort algorithm",
|
162 |
["Write a shell script to automate the cleanup of temporary files on a server", agents[1], None, None, None, None, ],
|
163 |
]
|
164 |
|
|
|
31 |
):
|
32 |
seed = random.randint(1,1111111111111111)
|
33 |
|
34 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
agent=prompts.WEB_DEV
|
36 |
if agent_name == "WEB_DEV":
|
37 |
agent = prompts.WEB_DEV_SYSTEM_PROMPT
|
|
|
151 |
["Generate a Python script to perform a text classification on a given dataset", agents[2], None, None, None, None, ],
|
152 |
["Write a shell script to automate the installation of a software package on a server", agents[1], None, None, None, None, ],
|
153 |
["Create a simple game in Godot using GDScript", agents[3], None, None, None, None, ],
|
154 |
+
["Generate a Java program to implement a merge sort algorithm", agents[2], None, None, None, None, ],
|
155 |
["Write a shell script to automate the cleanup of temporary files on a server", agents[1], None, None, None, None, ],
|
156 |
]
|
157 |
|