Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def mr_bot(prompt, tokens, temperature):
|
|
| 61 |
description = "Use the examples below to see how different prompts generate different results. Change the the Temperture to see how the prompts become more rigid and repeatable at lower temperatures and more creative at higher temperatures. Change the token limit to adjust the length of the response you are recieving, which also changes the type of response you will receive."
|
| 62 |
|
| 63 |
demo = gr.Interface(fn=mr_bot,
|
| 64 |
-
inputs=[gr.Textbox(placeholder="Select an example", interactive=False), gr.Slider(1, 800,
|
| 65 |
outputs="text",
|
| 66 |
title="Intro to AI, Temperature Control",
|
| 67 |
description=description,
|
|
|
|
| 61 |
description = "Use the examples below to see how different prompts generate different results. Change the the Temperture to see how the prompts become more rigid and repeatable at lower temperatures and more creative at higher temperatures. Change the token limit to adjust the length of the response you are recieving, which also changes the type of response you will receive."
|
| 62 |
|
| 63 |
demo = gr.Interface(fn=mr_bot,
|
| 64 |
+
inputs=[gr.Textbox(placeholder="Select an example", interactive=False), gr.Slider(1, 800, value=800), gr.Slider(0.1, 1, value=0.75)],
|
| 65 |
outputs="text",
|
| 66 |
title="Intro to AI, Temperature Control",
|
| 67 |
description=description,
|