Commit
•
7590c6e
1
Parent(s):
1418000
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def call_mistral_7b_api(content, system_prompt, temperature, top_p, max_tokens):
|
|
52 |
return response_text
|
53 |
|
54 |
content_input = gr.Textbox(lines=2, placeholder="Enter your content here...", label="Content")
|
55 |
-
system_prompt_input = gr.Textbox(
|
56 |
temperature_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.2, label="Temperature")
|
57 |
top_p_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.7, label="Top P")
|
58 |
max_tokens_input = gr.Slider(minimum=1, maximum=1024, step=1, value=1024, label="Max Tokens")
|
|
|
52 |
return response_text
|
53 |
|
54 |
content_input = gr.Textbox(lines=2, placeholder="Enter your content here...", label="Content")
|
55 |
+
system_prompt_input = gr.Textbox(value="I carefully provide accurate, factual, thoughtful, nuanced answers and am brilliant at reasoning.", label="System Prompt")
|
56 |
temperature_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.2, label="Temperature")
|
57 |
top_p_input = gr.Slider(minimum=0, maximum=1, step=0.01, value=0.7, label="Top P")
|
58 |
max_tokens_input = gr.Slider(minimum=1, maximum=1024, step=1, value=1024, label="Max Tokens")
|