Tejasw1 commited on
Commit
8752903
·
verified ·
1 Parent(s): 1f5487d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. gradio_app.py +1 -1
gradio_app.py CHANGED
@@ -110,7 +110,7 @@ def predict_statutes(fir_text,language):
110
  text = fir_text
111
 
112
  if text:
113
- gpt_output = generate(text,temperature)
114
  statutes_list = extract_statutes(gpt_output)
115
  if statutes_list:
116
  return "\n".join(f"- {statute}" for statute in statutes_list)
 
110
  text = fir_text
111
 
112
  if text:
113
+ gpt_output = generate(text)
114
  statutes_list = extract_statutes(gpt_output)
115
  if statutes_list:
116
  return "\n".join(f"- {statute}" for statute in statutes_list)