sha1779 commited on
Commit
95575c8
·
verified ·
1 Parent(s): 2aaf006

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def predict(message, chatbot, system_prompt="", temperature=0.9, max_new_tokens=
23
 
24
  client = Client("https://sha1779-royalgpt.hf.space/")
25
  return client.predict(
26
- message, # str in 'Message' Textbox component
27
  system_prompt, # str in 'Optional system prompt' Textbox component
28
  temperature, # int | float (numeric value between 0.0 and 1.0)
29
  max_new_tokens, # int | float (numeric value between 0 and 4096)
 
23
 
24
  client = Client("https://sha1779-royalgpt.hf.space/")
25
  return client.predict(
26
+ {'prompt':message}, # str in 'Message' Textbox component
27
  system_prompt, # str in 'Optional system prompt' Textbox component
28
  temperature, # int | float (numeric value between 0.0 and 1.0)
29
  max_new_tokens, # int | float (numeric value between 0 and 4096)