Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def chat_inf(system_prompt,prompt,history):
|
|
41 |
|
42 |
|
43 |
def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",wait=3000,header=True):
|
44 |
-
result = ss_client.predict(chat,height,width,chatblock,header,theme,wait,api_name="/run_script")
|
45 |
# str in 'Chat: [('user','bot'),('user','bot')]' Textbox component
|
46 |
# float in 'Height' Number component
|
47 |
# float in 'Width' Number component
|
|
|
41 |
|
42 |
|
43 |
def get_screenshot(chat: list,height=5000,width=600,chatblock=[1],theme="light",wait=3000,header=True):
|
44 |
+
result = ss_client.predict(str(chat),height,width,chatblock,header,theme,wait,api_name="/run_script")
|
45 |
# str in 'Chat: [('user','bot'),('user','bot')]' Textbox component
|
46 |
# float in 'Height' Number component
|
47 |
# float in 'Width' Number component
|