SyedZainAliShah commited on
Commit
ca5f03e
·
verified ·
1 Parent(s): 3faec92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -280,18 +280,9 @@ with gr.Blocks(title="Enhanced RAG Chatbot") as demo:
280
  download_file = gr.File(label="Download")
281
 
282
  with gr.Column(scale=2):
283
- # Simplified ChatInterface compatible with Gradio 4.44.1
284
  chat_interface = gr.ChatInterface(
285
- fn=chat,
286
- chatbot=gr.Chatbot(height=500, label="Conversation"),
287
- textbox=gr.Textbox(
288
- label="Ask a question",
289
- placeholder="Type your question here...",
290
- lines=2,
291
- show_label=False
292
- ),
293
- submit_btn="Send",
294
- clear_btn="Clear"
295
  )
296
 
297
  # Process files
 
280
  download_file = gr.File(label="Download")
281
 
282
  with gr.Column(scale=2):
283
+ # Minimal ChatInterface compatible with Gradio 4.44.1
284
  chat_interface = gr.ChatInterface(
285
+ fn=chat
 
 
 
 
 
 
 
 
 
286
  )
287
 
288
  # Process files