Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,8 @@ def chat_with_bot(bot_personality, user_input):
|
|
43 |
iface = gr.Interface(
|
44 |
fn=chat_with_bot,
|
45 |
inputs=[
|
46 |
-
gr.
|
47 |
-
gr.
|
48 |
],
|
49 |
outputs="text", # Bot response output
|
50 |
title="Azərbaycanca Söhbət Botu", # Interface title
|
|
|
43 |
iface = gr.Interface(
|
44 |
fn=chat_with_bot,
|
45 |
inputs=[
|
46 |
+
gr.Dropdown(["köməkçi", "dostcasına", "ciddi"], label="Bot Şəxsiyyəti"), # Personality options
|
47 |
+
gr.Textbox(lines=2, placeholder="Sualınızı bura yazın...", label="İstifadəçi Girişi"), # User input
|
48 |
],
|
49 |
outputs="text", # Bot response output
|
50 |
title="Azərbaycanca Söhbət Botu", # Interface title
|