Dorcatz123 commited on
Commit
dacd1ee
·
verified ·
1 Parent(s): 2c43695

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -245,10 +245,6 @@ def interactive_chat(question, openai_api_key, state=None):
245
 
246
  import gradio as gr
247
 
248
- def interactive_chat(query, api_key):
249
- # Placeholder function: Replace this with actual chatbot logic
250
- return f"Your query: {query}\nAPI Key: {'*' * len(api_key) if api_key else ''}"
251
-
252
  # 🎨 Gradio UI
253
  demo = gr.Interface(
254
  fn=interactive_chat,
 
245
 
246
  import gradio as gr
247
 
 
 
 
 
248
  # 🎨 Gradio UI
249
  demo = gr.Interface(
250
  fn=interactive_chat,