Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,9 @@ iface = gr.Interface(fn=generate,
|
|
45 |
"repetition_penalty": (1.0, 2.0, 0.1)}),
|
46 |
outputs="markdown",
|
47 |
interpretation="notext",
|
48 |
-
examples={"My first question"
|
49 |
-
allow_flagging="never")
|
|
|
50 |
|
51 |
# Logging Setup
|
52 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
|
|
45 |
"repetition_penalty": (1.0, 2.0, 0.1)}),
|
46 |
outputs="markdown",
|
47 |
interpretation="notext",
|
48 |
+
examples={"My first question"}, {"input_text"}, {"How old are you?"}, {"system_prompt"}, {"temperature":(0.5)"}, {"max_length":(max_legnth)}, {"top_p":(0.5)}, {"repetition_penalty":(1)},
|
49 |
+
allow_flagging="never"),
|
50 |
+
|
51 |
|
52 |
# Logging Setup
|
53 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|