azamat commited on
Commit
76bf8dd
·
1 Parent(s): ed26ec4

Center title

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,7 +35,7 @@ def search(query):
35
 
36
  return video_path, "\n\n".join([f"- [{r['title']}]({r['link']})" for r in shorts])
37
 
38
- title = "Slideo based on YCombinator"
39
  # description = "Enter a search query, question or topic to receive the top 5 most relevant short video answers. The most relevant clip will be displayed separately, and it will also be included in the list of top 5 video titles with links to Google Drive."
40
 
41
  input_text = gr.Textbox(placeholder = "Your query, question, topic, ...", label = "Query")
@@ -49,7 +49,7 @@ iface = gr.Interface(fn=search,
49
  # outputs=[video, output_text],
50
  title=title,
51
  # description=description,
52
- examples=[[e] for e in examples],
53
  cache_examples="lazy",
54
  theme="dark-gradients")
55
 
 
35
 
36
  return video_path, "\n\n".join([f"- [{r['title']}]({r['link']})" for r in shorts])
37
 
38
+ title = "<center>Slideo based on YCombinator</center>"
39
  # description = "Enter a search query, question or topic to receive the top 5 most relevant short video answers. The most relevant clip will be displayed separately, and it will also be included in the list of top 5 video titles with links to Google Drive."
40
 
41
  input_text = gr.Textbox(placeholder = "Your query, question, topic, ...", label = "Query")
 
49
  # outputs=[video, output_text],
50
  title=title,
51
  # description=description,
52
+ # examples=[[e] for e in examples],
53
  cache_examples="lazy",
54
  theme="dark-gradients")
55