BillBojangeles2000 commited on
Commit
3d4a15b
1 Parent(s): 5d10793

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from transformers import pipeline
2
- from streamlit import *
3
  # Load the desired model using Hugging Face's model hub
4
  model = pipeline(model="philschmid/bart-large-cnn-samsum")
5
  def generate_text(input_text):
 
1
  from transformers import pipeline
2
+ import gradio as gr
3
  # Load the desired model using Hugging Face's model hub
4
  model = pipeline(model="philschmid/bart-large-cnn-samsum")
5
  def generate_text(input_text):