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

Upload folder using huggingface_hub

Browse files
__pycache__/gradio_app.cpython-311.pyc CHANGED
Binary files a/__pycache__/gradio_app.cpython-311.pyc and b/__pycache__/gradio_app.cpython-311.pyc differ
 
gradio_app.py CHANGED
@@ -103,7 +103,7 @@ def translate(text):
103
  request = requests.post(constructed_url, params=params, headers=headers, json=body)
104
  return request.json()[0]['translations'][0]['text']
105
 
106
- def predict_statutes(fir_text,language,temperature):
107
  if language == 'Hindi':
108
  text = translate(fir_text)
109
  else:
 
103
  request = requests.post(constructed_url, params=params, headers=headers, json=body)
104
  return request.json()[0]['translations'][0]['text']
105
 
106
+ def predict_statutes(fir_text,language):
107
  if language == 'Hindi':
108
  text = translate(fir_text)
109
  else: