Spaces:
Runtime error
Runtime error
add example
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ model_key = os.getenv("MODEL_KEY")
|
|
6 |
|
7 |
title = "CodeAlpaca"
|
8 |
description = "Instruction following model for code generation."
|
9 |
-
examples = ["Write a python function to sort a list.","Write a function to scrape hacker news.","Implement a utility function to compute the accuracy of predictions using metric from sklearn."]
|
10 |
def call_model(prompt):
|
11 |
model_parameters = {
|
12 |
"prompt": prompt,
|
|
|
6 |
|
7 |
title = "CodeAlpaca"
|
8 |
description = "Instruction following model for code generation."
|
9 |
+
examples = ["Write a python function to sort a list.","Write a function to scrape hacker news.","Implement a utility function to compute the accuracy of predictions using metric from sklearn.","Write a web server in rust."]
|
10 |
def call_model(prompt):
|
11 |
model_parameters = {
|
12 |
"prompt": prompt,
|