alexkueck commited on
Commit
ddb0409
1 Parent(s): 341c4bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -331,9 +331,9 @@ def vote(data: gr.LikeData):
331
  else: print("You downvoted this response: " + data.value)
332
 
333
  additional_inputs = [
334
- gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
335
  #gr.Radio(["Off", "Chroma", "MongoDB"], label="Retrieval Augmented Generation", value = "Off"),
336
  gr.Radio(["Aus", "An"], label="RAG - LI Erweiterungen", value = "Aus"),
 
337
  gr.Slider(label="Temperature", value=0.9, minimum=0.0, maximum=1.0, step=0.05, interactive=True, info="Höhere Werte erzeugen diversere Antworten", visible=False),
338
  gr.Slider(label="Max new tokens", value=256, minimum=0, maximum=4096, step=64, interactive=True, info="Maximale Anzahl neuer Tokens", visible=False),
339
  gr.Slider(label="Top-p (nucleus sampling)", value=0.6, minimum=0.0, maximum=1, step=0.05, interactive=True, info="Höhere Werte verwenden auch Tokens mit niedrigerer Wahrscheinlichkeit.", visible=False),
 
331
  else: print("You downvoted this response: " + data.value)
332
 
333
  additional_inputs = [
 
334
  #gr.Radio(["Off", "Chroma", "MongoDB"], label="Retrieval Augmented Generation", value = "Off"),
335
  gr.Radio(["Aus", "An"], label="RAG - LI Erweiterungen", value = "Aus"),
336
+ gr.Textbox(label = "OpenAI API Key", value = "sk-", lines = 1),
337
  gr.Slider(label="Temperature", value=0.9, minimum=0.0, maximum=1.0, step=0.05, interactive=True, info="Höhere Werte erzeugen diversere Antworten", visible=False),
338
  gr.Slider(label="Max new tokens", value=256, minimum=0, maximum=4096, step=64, interactive=True, info="Maximale Anzahl neuer Tokens", visible=False),
339
  gr.Slider(label="Top-p (nucleus sampling)", value=0.6, minimum=0.0, maximum=1, step=0.05, interactive=True, info="Höhere Werte verwenden auch Tokens mit niedrigerer Wahrscheinlichkeit.", visible=False),