vishwask commited on
Commit
2dc9d89
·
verified ·
1 Parent(s): 44f0f59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -234,7 +234,7 @@ def upload_file(file_obj):
234
 
235
 
236
  def demo():
237
- with gr.Blocks(theme="base") as demo:
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=300)
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():