aquibmoin commited on
Commit
0c7c94e
1 Parent(s): 8f9f226

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -68,6 +68,23 @@ def semantic_search(query, file_path):
68
  return "Please upload a .txt file."
69
 
70
  # Define Gradio interface
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  iface = gr.Interface(
72
  fn=semantic_search,
73
  inputs=[
@@ -76,7 +93,8 @@ iface = gr.Interface(
76
  ],
77
  outputs="text",
78
  title="Semantic Search with Indus-ST (demo)",
79
- description="Input a query and upload a document (.txt) to find the most semantically similar paragraphs or sentences."
 
80
  )
81
 
82
  iface.launch()
 
68
  return "Please upload a .txt file."
69
 
70
  # Define Gradio interface
71
+
72
+ article_text = """
73
+
74
+ ### Notes:
75
+
76
+ ### Possible Demo Apps:
77
+
78
+ 1. **Semantic Search**
79
+ 2. **Document Clustering**
80
+ 3. **Paraphrase Detection**
81
+ 4. **Textual Entailment**
82
+ 5. **Question-Answer Matching**
83
+ 6. **Summarization Validation**
84
+ 7. **Duplicate Detection**
85
+
86
+ """
87
+
88
  iface = gr.Interface(
89
  fn=semantic_search,
90
  inputs=[
 
93
  ],
94
  outputs="text",
95
  title="Semantic Search with Indus-ST (demo)",
96
+ description="Input a query and upload a document (.txt) to find the most semantically similar paragraphs or sentences.",
97
+ article=article_text
98
  )
99
 
100
  iface.launch()