Spaces:
Runtime error
Runtime error
thepolymerguy
commited on
Commit
•
c6d26b3
1
Parent(s):
a3e24cd
Update app.py
Browse files
app.py
CHANGED
@@ -395,7 +395,7 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
395 |
with gr.Accordion("Parameters"):
|
396 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
397 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
398 |
-
tokens = gr.Slider(minimum=5, maximum=
|
399 |
|
400 |
btn.click(fn=ideator, inputs=[userin, temp, top_p, tokens], outputs=text2)
|
401 |
|
@@ -435,7 +435,7 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
435 |
with gr.Accordion("Parameters"):
|
436 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
437 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
438 |
-
tokens = gr.Slider(minimum=5, maximum=
|
439 |
|
440 |
btn.click(fn=desc_selector, inputs=[text1, Descriptionchoices]).then(run_model, inputs=[text1, Descriptionchoices, temp, top_p, tokens], outputs=text2)
|
441 |
|
@@ -456,7 +456,7 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
456 |
with gr.Accordion("Parameters"):
|
457 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
458 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
459 |
-
tokens = gr.Slider(minimum=5, maximum=
|
460 |
|
461 |
btn.click(fn=prosecute, inputs=[application, priorart, temp, top_p, tokens], outputs=text2)
|
462 |
|
@@ -495,7 +495,7 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
495 |
with gr.Accordion("Parameters"):
|
496 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
497 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
498 |
-
tokens = gr.Slider(minimum=5, maximum=
|
499 |
btn.click(fn=Chat, inputs=[userin, temp, top_p, tokens], outputs=text2)
|
500 |
|
501 |
# gr.Markdown("""
|
|
|
395 |
with gr.Accordion("Parameters"):
|
396 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
397 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
398 |
+
tokens = gr.Slider(minimum=5, maximum=2058, value=512, label="Max Tokens", step=1)
|
399 |
|
400 |
btn.click(fn=ideator, inputs=[userin, temp, top_p, tokens], outputs=text2)
|
401 |
|
|
|
435 |
with gr.Accordion("Parameters"):
|
436 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
437 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
438 |
+
tokens = gr.Slider(minimum=5, maximum=2058, value=512, label="Max Tokens", step=1)
|
439 |
|
440 |
btn.click(fn=desc_selector, inputs=[text1, Descriptionchoices]).then(run_model, inputs=[text1, Descriptionchoices, temp, top_p, tokens], outputs=text2)
|
441 |
|
|
|
456 |
with gr.Accordion("Parameters"):
|
457 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
458 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
459 |
+
tokens = gr.Slider(minimum=5, maximum=2058, value=512, label="Max Tokens", step=1)
|
460 |
|
461 |
btn.click(fn=prosecute, inputs=[application, priorart, temp, top_p, tokens], outputs=text2)
|
462 |
|
|
|
495 |
with gr.Accordion("Parameters"):
|
496 |
temp = gr.Slider(minimum=0, maximum=1, value=0.6, label="Temperature", step=0.1)
|
497 |
top_p = gr.Slider(minimum=0.5, maximum=1, value=0.95, label="Top P", step=0.1)
|
498 |
+
tokens = gr.Slider(minimum=5, maximum=2058, value=512, label="Max Tokens", step=1)
|
499 |
btn.click(fn=Chat, inputs=[userin, temp, top_p, tokens], outputs=text2)
|
500 |
|
501 |
# gr.Markdown("""
|