Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def reset_state():
|
|
89 |
def update_system(new_system_prompt):
|
90 |
return {"role": "system", "content": new_system_prompt}
|
91 |
|
92 |
-
title = """<h1 align="center">Tu întrebi
|
93 |
description = """<div align=center>
|
94 |
|
95 |
Will not describe your needs to ChatGPT?You Use [ChatGPT Shortcut](https://newzone.top/chatgpt/)
|
@@ -118,7 +118,7 @@ with gr.Blocks() as demo:
|
|
118 |
#newSystemPrompt = gr.Textbox(show_label=True, placeholder=f"Setting System Prompt...", label="Change System prompt").style(container=True)
|
119 |
#systemPromptDisplay = gr.Textbox(show_label=True, value=initial_prompt, interactive=False, label="Current System prompt").style(container=True)
|
120 |
|
121 |
-
gr.Markdown(description)
|
122 |
|
123 |
txt.submit(predict, [chatbot, txt, systemPrompt, context], [chatbot, context], show_progress=True)
|
124 |
txt.submit(lambda :"", None, txt)
|
|
|
89 |
def update_system(new_system_prompt):
|
90 |
return {"role": "system", "content": new_system_prompt}
|
91 |
|
92 |
+
title = """<h1 align="center">Tu întrebi și eu răspund.</h1>"""
|
93 |
description = """<div align=center>
|
94 |
|
95 |
Will not describe your needs to ChatGPT?You Use [ChatGPT Shortcut](https://newzone.top/chatgpt/)
|
|
|
118 |
#newSystemPrompt = gr.Textbox(show_label=True, placeholder=f"Setting System Prompt...", label="Change System prompt").style(container=True)
|
119 |
#systemPromptDisplay = gr.Textbox(show_label=True, value=initial_prompt, interactive=False, label="Current System prompt").style(container=True)
|
120 |
|
121 |
+
#gr.Markdown(description)
|
122 |
|
123 |
txt.submit(predict, [chatbot, txt, systemPrompt, context], [chatbot, context], show_progress=True)
|
124 |
txt.submit(lambda :"", None, txt)
|