ToluClassics commited on
Commit
f8aa2c5
β€’
1 Parent(s): 4350355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -113,7 +113,7 @@ def search(query, language, num_results=10):
113
  stats = fetch_index_stats('index/')
114
 
115
  description = f"""# <h2 style="text-align: center;"> πŸš€ πŸ”Ž XSum Train Dataset Search πŸ” πŸš€ </h2>
116
- <p style="text-align: center;font-size:15px;">This is a demo of Spacerini using the XSum dataset.</p>
117
  <p style="text-align: center;font-size:20px;">Dataset Statistics: Total Number of Documents = <b>{stats["documents"]}</b>, Number of Terms = <b>{stats["total_terms"]}</b> </p>"""
118
 
119
  demo = gr.Blocks(
@@ -129,8 +129,6 @@ with demo:
129
  lang = gr.Dropdown(
130
  choices=[
131
  "en",
132
- "detect_language",
133
- "all",
134
  ],
135
  value="en",
136
  label="Language",
 
113
  stats = fetch_index_stats('index/')
114
 
115
  description = f"""# <h2 style="text-align: center;"> πŸš€ πŸ”Ž XSum Train Dataset Search πŸ” πŸš€ </h2>
116
+ <p style="text-align: center;font-size:15px;">A search space built on the Extreme Summarization (XSUM) Dataset with Spacerini</p>
117
  <p style="text-align: center;font-size:20px;">Dataset Statistics: Total Number of Documents = <b>{stats["documents"]}</b>, Number of Terms = <b>{stats["total_terms"]}</b> </p>"""
118
 
119
  demo = gr.Blocks(
 
129
  lang = gr.Dropdown(
130
  choices=[
131
  "en",
 
 
132
  ],
133
  value="en",
134
  label="Language",