Spaces:
Paused
Paused
Upload folder using huggingface_hub
Browse files- 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
|
| 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)
|