Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files- __pycache__/gradio_app.cpython-311.pyc +0 -0
- gradio_app.py +1 -1
__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
|
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:
|