Adi12686 commited on
Commit
63db592
1 Parent(s): 7403ce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Create a text generation pipeline using Transformers
5
- text_generation_pipeline = pipeline("text-generation", model="models/law-ai/InLegalBERT") # Replace with the actual model name
6
 
7
  def generate_explanation(input_text):
8
  # Generate a paragraph explaining the details of the input text
 
2
  from transformers import pipeline
3
 
4
  # Create a text generation pipeline using Transformers
5
+ text_generation_pipeline = pipeline("text-generation", model="law-ai/InLegalBERT") # Replace with the actual model name
6
 
7
  def generate_explanation(input_text):
8
  # Generate a paragraph explaining the details of the input text