Spaces:
Sleeping
Sleeping
Commit
·
1c80cfd
1
Parent(s):
512724d
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ import re
|
|
7 |
|
8 |
|
9 |
def process_data_sample(example):
|
10 |
-
|
11 |
-
processed_example = "You have to generate api developer documentation json object which helps the user to create api documentation. ### Instruction : " +
|
12 |
return processed_example
|
13 |
|
14 |
def processing_ouput(model_response):
|
|
|
7 |
|
8 |
|
9 |
def process_data_sample(example):
|
10 |
+
instruction = example.get("Instruction", "No Instruction Provided")
|
11 |
+
processed_example = "You have to generate api developer documentation json object which helps the user to create api documentation. ### Instruction : " + instruction + ". ### Response :"
|
12 |
return processed_example
|
13 |
|
14 |
def processing_ouput(model_response):
|