CreitinGameplays
commited on
Commit
•
dfc8a9e
1
Parent(s):
95f1c49
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ gr.load("models/CreitinGameplays/bloom-3b-conversational")
|
|
5 |
interface = gr.Interface(
|
6 |
fn=lambda prompt="", max_tokens=128: gr.Textbox.submit(value=prompt),
|
7 |
inputs=[
|
8 |
-
gr.Textbox(label="Text Prompt
|
9 |
gr.Slider(minimum=1, maximum=1024, label="Max New Tokens", value=128),
|
10 |
],
|
11 |
outputs=[],
|
|
|
5 |
interface = gr.Interface(
|
6 |
fn=lambda prompt="", max_tokens=128: gr.Textbox.submit(value=prompt),
|
7 |
inputs=[
|
8 |
+
gr.Textbox(label="Text Prompt", value="<|system|> You are a helpful AI assistant </s> <|prompter|> What is an AI? </s> <|assistant|>"),
|
9 |
gr.Slider(minimum=1, maximum=1024, label="Max New Tokens", value=128),
|
10 |
],
|
11 |
outputs=[],
|