Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,12 +57,11 @@ def generate_prompt(prompt, max_new_tokens):
|
|
57 |
|
58 |
|
59 |
input_prompt = gr.Textbox(label="Prompt", value="photographer")
|
60 |
-
input_maxtokens = gr.Textbox(label="Max tokens", value="150")
|
61 |
output_component = gr.Textbox(label="Output")
|
62 |
examples = [["photographer"], ["developer"], ["teacher"], [
|
63 |
"human resources staff"], ["recipe for ham croquettes"]]
|
64 |
description = ""
|
65 |
-
PerfectGPT = gr.Interface(useZephyr, inputs=
|
66 |
examples=examples, title="๐ฟ PerfectGPT v1 ๐ฟ", description=description)
|
67 |
|
68 |
PerfectGPT.launch()
|
|
|
57 |
|
58 |
|
59 |
input_prompt = gr.Textbox(label="Prompt", value="photographer")
|
|
|
60 |
output_component = gr.Textbox(label="Output")
|
61 |
examples = [["photographer"], ["developer"], ["teacher"], [
|
62 |
"human resources staff"], ["recipe for ham croquettes"]]
|
63 |
description = ""
|
64 |
+
PerfectGPT = gr.Interface(useZephyr, inputs=input_prompt, outputs=output_component,
|
65 |
examples=examples, title="๐ฟ PerfectGPT v1 ๐ฟ", description=description)
|
66 |
|
67 |
PerfectGPT.launch()
|