Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,6 @@ def get_detailed_instruct(task_description: str, query: str) -> str:
|
|
21 |
|
22 |
def respond(
|
23 |
message,
|
24 |
-
system_message,
|
25 |
max_tokens,
|
26 |
temperature,
|
27 |
top_p,
|
@@ -130,7 +129,6 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
130 |
demo = gr.Interface(
|
131 |
respond,
|
132 |
additional_inputs=[
|
133 |
-
gr.Textbox(value="You are a sunni moslem bot that always give answer based on quran, hadith, and the companions of prophet Muhammad!", label="System message"),
|
134 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
135 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
136 |
gr.Slider(
|
|
|
21 |
|
22 |
def respond(
|
23 |
message,
|
|
|
24 |
max_tokens,
|
25 |
temperature,
|
26 |
top_p,
|
|
|
129 |
demo = gr.Interface(
|
130 |
respond,
|
131 |
additional_inputs=[
|
|
|
132 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
133 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
134 |
gr.Slider(
|