Sumkh commited on
Commit
509621c
·
verified ·
1 Parent(s): 8fe9dfe

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +2 -2
app.py CHANGED
@@ -983,7 +983,7 @@ def save_chat_history(history):
983
  ########################################
984
  # 6) Main Gradio Interface
985
  ########################################
986
- with gr.Blocks(theme="ocean") as AI_Tutor:
987
  gr.Markdown("# AI Tutor Chatbot (Gradio App)")
988
 
989
  # Primary Chat Interface
@@ -997,7 +997,7 @@ with gr.Blocks(theme="ocean") as AI_Tutor:
997
  textbox=gr.MultimodalTextbox(
998
  file_count="multiple",
999
  file_types=None,
1000
- sources="upload",
1001
  label="Type your query here:",
1002
  placeholder="Enter your question...",
1003
  ),
 
983
  ########################################
984
  # 6) Main Gradio Interface
985
  ########################################
986
+ with gr.Blocks() as AI_Tutor:
987
  gr.Markdown("# AI Tutor Chatbot (Gradio App)")
988
 
989
  # Primary Chat Interface
 
997
  textbox=gr.MultimodalTextbox(
998
  file_count="multiple",
999
  file_types=None,
1000
+ sources=["upload"],
1001
  label="Type your query here:",
1002
  placeholder="Enter your question...",
1003
  ),
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
- gradio>=3.28.0
 
2
  requests
3
  langchain-groq
4
  langchain-openai
@@ -26,5 +27,4 @@ langchain-docling
26
  langchain_huggingface
27
  transformers
28
  sentence_transformers
29
- huggingface_hub
30
 
 
1
+ gradio==3.30.0
2
+ huggingface_hub>=0.15.0
3
  requests
4
  langchain-groq
5
  langchain-openai
 
27
  langchain_huggingface
28
  transformers
29
  sentence_transformers
 
30