Update app.py
Browse files
app.py
CHANGED
|
@@ -234,7 +234,7 @@ def upload_file(file_obj):
|
|
| 234 |
|
| 235 |
|
| 236 |
def demo():
|
| 237 |
-
with gr.Blocks(theme=
|
| 238 |
vector_db = gr.State()
|
| 239 |
qa_chain = gr.State()
|
| 240 |
collection_name = gr.State()
|
|
@@ -287,7 +287,7 @@ def demo():
|
|
| 287 |
type="value", info="Choose your language",interactive = True)
|
| 288 |
lang_btn.select(intitalize_lang, inputs = lang_btn)
|
| 289 |
|
| 290 |
-
chatbot = gr.Chatbot(height=
|
| 291 |
chatbot.change(preprocess = english_to_indian, postprocess = indian_to_english)
|
| 292 |
|
| 293 |
with gr.Row():
|
|
|
|
| 234 |
|
| 235 |
|
| 236 |
def demo():
|
| 237 |
+
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 238 |
vector_db = gr.State()
|
| 239 |
qa_chain = gr.State()
|
| 240 |
collection_name = gr.State()
|
|
|
|
| 287 |
type="value", info="Choose your language",interactive = True)
|
| 288 |
lang_btn.select(intitalize_lang, inputs = lang_btn)
|
| 289 |
|
| 290 |
+
chatbot = gr.Chatbot(height=600)
|
| 291 |
chatbot.change(preprocess = english_to_indian, postprocess = indian_to_english)
|
| 292 |
|
| 293 |
with gr.Row():
|