Spaces:
Running
Running
mrbeliever
commited on
Commit
•
b078cdf
1
Parent(s):
9dff8c9
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition
|
|
43 |
return output.strip('</s>')
|
44 |
|
45 |
with gr.Blocks() as demo:
|
46 |
-
input_text = gr.Textbox(placeholder="Paste your copied prompt here...", lines=2, max_lines=2, label="Prompt")
|
47 |
submit_button = gr.Button("Generate")
|
48 |
output_text = gr.Textbox(label="Output", interactive=True, lines=10)
|
49 |
|
|
|
43 |
return output.strip('</s>')
|
44 |
|
45 |
with gr.Blocks() as demo:
|
46 |
+
input_text = gr.Textbox(placeholder="Paste your copied prompt here...", lines=2, max_lines=2, label="Paste Your Prompt Here...")
|
47 |
submit_button = gr.Button("Generate")
|
48 |
output_text = gr.Textbox(label="Output", interactive=True, lines=10)
|
49 |
|