Spaces:
Runtime error
Runtime error
fix: remove any prompt
Browse files
app.py
CHANGED
|
@@ -560,7 +560,7 @@ f_stop = threading.Event()
|
|
| 560 |
asynchronous_push(f_stop)
|
| 561 |
|
| 562 |
def format_prompt(message, history, system_prompt):
|
| 563 |
-
prompt = "؛
|
| 564 |
if system_prompt:
|
| 565 |
prompt += f"{system_prompt}"
|
| 566 |
for user_prompt, bot_response in history:
|
|
@@ -892,7 +892,7 @@ textbox_whoareu = gr.Textbox(
|
|
| 892 |
container=False,
|
| 893 |
show_label=False,
|
| 894 |
lines=1,
|
| 895 |
-
placeholder="Please write your name here
|
| 896 |
)
|
| 897 |
|
| 898 |
class ChatInterface(gr.ChatInterface):
|
|
|
|
| 560 |
asynchronous_push(f_stop)
|
| 561 |
|
| 562 |
def format_prompt(message, history, system_prompt):
|
| 563 |
+
prompt = "" # ؛
|
| 564 |
if system_prompt:
|
| 565 |
prompt += f"{system_prompt}"
|
| 566 |
for user_prompt, bot_response in history:
|
|
|
|
| 892 |
container=False,
|
| 893 |
show_label=False,
|
| 894 |
lines=1,
|
| 895 |
+
placeholder="...Please write your name here",
|
| 896 |
)
|
| 897 |
|
| 898 |
class ChatInterface(gr.ChatInterface):
|