Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ examples=[
|
|
| 21 |
# Stream text
|
| 22 |
def predict(message, chatbot, system_prompt="", temperature=0.9, max_new_tokens=4096):
|
| 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
|
|
|
|
| 21 |
# Stream text
|
| 22 |
def predict(message, chatbot, system_prompt="", temperature=0.9, max_new_tokens=4096):
|
| 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
|