rameshmoorthy commited on
Commit
1ff01e9
1 Parent(s): a474bee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -275,7 +275,7 @@ with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green",
275
  RAG= RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0")
276
  RAG_db.value=RAG.from_index('.ragatouille/colbert/indexes/cbseclass10index')
277
  return 'Ready to Go!!'
278
- with gr.Columns(scale=4):
279
  gr.HTML("""
280
  <center>
281
  <h1><span style="color: purple;">AI NANBAN</span> - CBSE Class Quiz Maker</h1>
@@ -284,7 +284,7 @@ with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green",
284
  </center>
285
  """)
286
  #gr.Warning('Retrieving using ColBERT.. First time query will take a minute for model to load..pls wait')
287
- with gr.Columns(scale=2):
288
  load_btn = gr.Button("Click to Load!🚀")
289
  load_text=gr.Textbox()
290
  load_btn.click(load_model,[],load_text)
 
275
  RAG= RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0")
276
  RAG_db.value=RAG.from_index('.ragatouille/colbert/indexes/cbseclass10index')
277
  return 'Ready to Go!!'
278
+ with gr.Column(scale=4):
279
  gr.HTML("""
280
  <center>
281
  <h1><span style="color: purple;">AI NANBAN</span> - CBSE Class Quiz Maker</h1>
 
284
  </center>
285
  """)
286
  #gr.Warning('Retrieving using ColBERT.. First time query will take a minute for model to load..pls wait')
287
+ with gr.Column(scale=2):
288
  load_btn = gr.Button("Click to Load!🚀")
289
  load_text=gr.Textbox()
290
  load_btn.click(load_model,[],load_text)