Prakhar1000 commited on
Commit
1c80cfd
1 Parent(s): 512724d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ import re
7
 
8
 
9
  def process_data_sample(example):
10
- print("example :" + example)
11
- processed_example = "You have to generate api developer documentation json object which helps the user to create api documentation. ### Instruction : " + example["Instruction"] + ". ### Response :"
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):