acecalisto3 commited on
Commit
581fd5d
·
verified ·
1 Parent(s): 39e7ab9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -883,7 +883,7 @@ if __name__ == "__main__":
883
  print("\nComponents available:")
884
  print(manager.get_components())
885
 
886
- "text_summarizer": Template(
887
  code="""
888
  import gradio as gr
889
  from transformers import pipeline
@@ -1462,7 +1462,7 @@ if __name__ == "__main__":
1462
  db_input = gr.File(label="Upload SQLite DB File")
1463
  query_input = gr.Textbox(label="SQL Query", placeholder="SELECT * FROM table_name;")
1464
  )
1465
- }
1466
 
1467
  def save_template(self, name: str, template: Template) -> bool:
1468
  """Save new template"""
 
883
  print("\nComponents available:")
884
  print(manager.get_components())
885
 
886
+ "text_summarizer": Template(
887
  code="""
888
  import gradio as gr
889
  from transformers import pipeline
 
1462
  db_input = gr.File(label="Upload SQLite DB File")
1463
  query_input = gr.Textbox(label="SQL Query", placeholder="SELECT * FROM table_name;")
1464
  )
1465
+ }"""
1466
 
1467
  def save_template(self, name: str, template: Template) -> bool:
1468
  """Save new template"""