Spaces:
Sleeping
Sleeping
Commit
·
85eda94
1
Parent(s):
5a0ee34
gradio changed
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -243,10 +243,10 @@ initialize()
|
|
| 243 |
# Set up the Gradio interface
|
| 244 |
iface = gr.Interface(
|
| 245 |
fn=process_query,
|
| 246 |
-
inputs=gr.
|
| 247 |
outputs='text',
|
| 248 |
title='Car Manual Assistant',
|
| 249 |
-
description='Ask a question about
|
| 250 |
)
|
| 251 |
|
| 252 |
if __name__ == "__main__":
|
|
|
|
| 243 |
# Set up the Gradio interface
|
| 244 |
iface = gr.Interface(
|
| 245 |
fn=process_query,
|
| 246 |
+
inputs=gr.Textbox(lines=2, placeholder='Enter your question here...'),
|
| 247 |
outputs='text',
|
| 248 |
title='Car Manual Assistant',
|
| 249 |
+
description='Ask a question about Tata Tiago or MG Astor.',
|
| 250 |
)
|
| 251 |
|
| 252 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio
|
| 2 |
torch
|
| 3 |
sentence_transformers
|
| 4 |
pdfplumber
|
|
|
|
| 1 |
+
gradio
|
| 2 |
torch
|
| 3 |
sentence_transformers
|
| 4 |
pdfplumber
|