Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,4 +12,12 @@ def get_screenshot(chat,height=5000,width=600,chatblock=[1],header=True,theme="l
|
|
| 12 |
# Literal['light', 'dark'] in 'Theme' Radio component
|
| 13 |
# float (numeric value between 1 and 10000) in 'Wait time' Slider component
|
| 14 |
# api_name="/run_script"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
print(result)
|
|
|
|
| 12 |
# Literal['light', 'dark'] in 'Theme' Radio component
|
| 13 |
# float (numeric value between 1 and 10000) in 'Wait time' Slider component
|
| 14 |
# api_name="/run_script"
|
| 15 |
+
|
| 16 |
+
## return types:
|
| 17 |
+
# filepath representing output in 'value_25' Image component,
|
| 18 |
+
# str representing output in 'value_20' Html component,
|
| 19 |
+
# List[Dict(image: filepath, caption: str | None)] representing output in 'value_24' Gallery component,
|
| 20 |
+
# filepath representing output in 'value_23' Image component,
|
| 21 |
+
|
| 22 |
+
|
| 23 |
print(result)
|