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