YC-Chen commited on
Commit
3c6aba2
1 Parent(s): 436372c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ with gr.Blocks() as demo:
147
  "model_type": "breeze-7b-instruct-v01",
148
  "prompt": str(message),
149
  "parameters": {
150
- "temperature": str(message),
151
  "top_p": float(top_p),
152
  "max_new_tokens": int(max_new_tokens),
153
  }
 
147
  "model_type": "breeze-7b-instruct-v01",
148
  "prompt": str(message),
149
  "parameters": {
150
+ "temperature": float(temperature),
151
  "top_p": float(top_p),
152
  "max_new_tokens": int(max_new_tokens),
153
  }