Spaces:
Sleeping
Sleeping
Deepak Sahu
commited on
Commit
·
9eb52f8
1
Parent(s):
6a799bf
Update app.py
Browse files
app.py
CHANGED
@@ -18,11 +18,6 @@ This is a [HyDE](https://arxiv.org/abs/2212.10496) based searching mechanism tha
|
|
18 |
|
19 |
**Should take ~15s to ~30s** for inferencing
|
20 |
'''
|
21 |
-
GRADIO_EXAMPLES = [
|
22 |
-
"Rich Dad Poor Dad",
|
23 |
-
"Love at firs sight",
|
24 |
-
"Importance of idiots"
|
25 |
-
]
|
26 |
|
27 |
# Caching mechanism for gradio
|
28 |
if gr.NO_RELOAD: # Reference: https://www.gradio.app/guides/developing-faster-with-reload-mode
|
@@ -92,8 +87,7 @@ demo = gr.Interface(
|
|
92 |
inputs=input_textbox,
|
93 |
outputs=output,
|
94 |
title=GRADIO_TITLE,
|
95 |
-
|
96 |
-
#examples=GRADIO_DESCRIPTION
|
97 |
)
|
98 |
|
99 |
demo.launch()
|
|
|
18 |
|
19 |
**Should take ~15s to ~30s** for inferencing
|
20 |
'''
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
# Caching mechanism for gradio
|
23 |
if gr.NO_RELOAD: # Reference: https://www.gradio.app/guides/developing-faster-with-reload-mode
|
|
|
87 |
inputs=input_textbox,
|
88 |
outputs=output,
|
89 |
title=GRADIO_TITLE,
|
90 |
+
description=GRADIO_DESCRIPTION
|
|
|
91 |
)
|
92 |
|
93 |
demo.launch()
|