Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def chat_fn(message):
|
| 4 |
-
#
|
| 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 |
|