debisoft commited on
Commit
aa772bf
·
1 Parent(s): 386d16c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -122,7 +122,7 @@ Give a score for the product. Format your response as a JSON object with \
122
  #return json.dumps(extract_json(gen_text, 3))
123
  gen_text = response["choices"][0]["text"]
124
  #return gen_text
125
- return json.dumps(extract_json(gen_text, 0))
126
  #return json.dumps(response)
127
 
128
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
 
122
  #return json.dumps(extract_json(gen_text, 3))
123
  gen_text = response["choices"][0]["text"]
124
  #return gen_text
125
+ return extract_json(gen_text, 0)
126
  #return json.dumps(response)
127
 
128
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")