acecalisto3 commited on
Commit
e9c1bda
·
verified ·
1 Parent(s): 0d4009b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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": ["input_text": "How old are you?", "system_prompt": "", "temperature": 0.5, "max_length": 50, "top_p": 0.5, "repetition_penalty": 1.1}},
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')