Ephraimmm commited on
Commit
fb02b80
·
verified ·
1 Parent(s): 495f495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -24
app.py CHANGED
@@ -356,32 +356,13 @@ with gr.Blocks(title="Study Buddy", theme=gr.themes.Soft()) as app:
356
  # interactive=False
357
  # )
358
 
359
- # with gr.Group():
360
- # gr.Markdown("### Setup Instructions")
361
- # gr.Markdown("""
362
-
363
- # **Important Notes:**
364
-
365
- # 1.Only documents shared with studybuddy, it can answer
366
-
367
- # **File Types Supported:**
368
- # - Google Docs
369
- # - Google Sheets
370
- # - PDF files
371
- # - Text files
372
-
373
- # **Tips:**
374
- # - Use specific search terms for better results
375
- # - The system searches the top 3 most relevant files
376
- # - Ask clear, specific questions for better answers
377
- # """)
378
 
379
  # Event handlers
380
- # submit_btn.click(
381
- # fn=process_user_query,
382
- # inputs=[query_input, search_terms_input],
383
- # outputs=[answer_output, sources_output]
384
- # )
385
 
386
  # status_btn.click(
387
  # fn=check_setup,
 
356
  # interactive=False
357
  # )
358
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
 
360
  # Event handlers
361
+ submit_btn.click(
362
+ fn=process_user_query,
363
+ inputs=[query_input, search_terms_input],
364
+ outputs=[answer_output, sources_output]
365
+ )
366
 
367
  # status_btn.click(
368
  # fn=check_setup,