Spaces:
Sleeping
Sleeping
Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -93,7 +93,7 @@ def clear_chat(chat_history_state, chat_message):
|
|
93 |
|
94 |
|
95 |
start_message = """
|
96 |
-
-
|
97 |
- Her türlü soruya dürüstçe cevap vereceksin.
|
98 |
"""
|
99 |
|
@@ -131,15 +131,15 @@ with gr.Blocks() as demo:
|
|
131 |
chatbot = gr.Chatbot()
|
132 |
with gr.Row():
|
133 |
message = gr.Textbox(
|
134 |
-
label="
|
135 |
-
placeholder="
|
136 |
lines=3,
|
137 |
)
|
138 |
with gr.Row():
|
139 |
-
submit = gr.Button(value="
|
140 |
-
roleplay = gr.Button(value="
|
141 |
-
clear = gr.Button(value="
|
142 |
-
stop = gr.Button(value="
|
143 |
with gr.Row():
|
144 |
with gr.Column():
|
145 |
max_tokens = gr.Slider(20, 1000, label="Max Tokens", step=20, value=300)
|
|
|
93 |
|
94 |
|
95 |
start_message = """
|
96 |
+
- Akıllı, dürüst ve yardımsever bir asistansın.
|
97 |
- Her türlü soruya dürüstçe cevap vereceksin.
|
98 |
"""
|
99 |
|
|
|
131 |
chatbot = gr.Chatbot()
|
132 |
with gr.Row():
|
133 |
message = gr.Textbox(
|
134 |
+
label="Ne konuda konuşmak istersin?",
|
135 |
+
placeholder="Bana bir şeyler sor.",
|
136 |
lines=3,
|
137 |
)
|
138 |
with gr.Row():
|
139 |
+
submit = gr.Button(value="Mesaj Gönder", variant="secondary").style(full_width=True)
|
140 |
+
roleplay = gr.Button(value="Rol", variant="secondary").style(full_width=True)
|
141 |
+
clear = gr.Button(value="Yeni Konu", variant="secondary").style(full_width=False)
|
142 |
+
stop = gr.Button(value="Dur", variant="secondary").style(full_width=False)
|
143 |
with gr.Row():
|
144 |
with gr.Column():
|
145 |
max_tokens = gr.Slider(20, 1000, label="Max Tokens", step=20, value=300)
|