chinhon commited on
Commit
72ef961
1 Parent(s): 6b5b96e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ def clean_text(text):
21
  return text
22
 
23
 
24
- model_name = "chinhon/headline_writer"
25
 
26
  def headline_writer(text):
27
  input_text = clean_text(text)
@@ -59,4 +59,4 @@ gradio_ui = gr.Interface(
59
  theme="darkdefault"
60
  )
61
 
62
- gradio_ui.launch(enable_queue=True)
 
21
  return text
22
 
23
 
24
+ model_name = "chinhon/pegasus-newsroom-headline_writer_oct22"
25
 
26
  def headline_writer(text):
27
  input_text = clean_text(text)
 
59
  theme="darkdefault"
60
  )
61
 
62
+ gradio_ui.queue().launch()