dharsh1064 commited on
Commit
519e145
·
verified ·
1 Parent(s): ae2c48f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
 
3
  def chat_fn(message):
4
- # Simple logic or use your model
5
- if "capital of Germany" in message:
6
  return "Berlin"
7
  return "I'm not sure, but I can try to help!"
8
 
 
1
  import gradio as gr
2
 
3
  def chat_fn(message):
4
+ # Example response logic (or use a real model)
5
+ if "capital of Germany" in message.lower():
6
  return "Berlin"
7
  return "I'm not sure, but I can try to help!"
8