Loguie commited on
Commit
687de9e
·
verified ·
1 Parent(s): 4e1f2a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  #I used the https://www.marqo.ai/blog/how-to-create-a-hugging-face-space to help make this code.
 
2
  import gradio as gr
3
  from transformers import AutoModel, AutoProcessor
4
  import torch
@@ -23,7 +24,7 @@ demo = gr.Interface(
23
  inputs=gr.Textbox(label="Enter Text to Summarize", lines=5),
24
  outputs=gr.Label(label="Summary"),
25
  title="Text Summarization",
26
- description="This app uses the facebook/bart-large-cnn for summarizing input.",
27
  allow_flagging="never"
28
  )
29
 
 
1
  #I used the https://www.marqo.ai/blog/how-to-create-a-hugging-face-space to help make this code.
2
+ #Logan Lin, Period 3, Artificial Intelligence,
3
  import gradio as gr
4
  from transformers import AutoModel, AutoProcessor
5
  import torch
 
24
  inputs=gr.Textbox(label="Enter Text to Summarize", lines=5),
25
  outputs=gr.Label(label="Summary"),
26
  title="Text Summarization",
27
+ description="This app uses the facebook/bart-large-cnn for summarizing input and the code is made my Logan Lin.",
28
  allow_flagging="never"
29
  )
30