Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,11 @@ client = InferenceClient(
|
|
31 |
|
32 |
from gradio_client import Client
|
33 |
|
34 |
-
|
35 |
|
36 |
def get_screenshot(chat,height=5000,width=600,chatblock=[1],header=True,theme="light",wait=3000):
|
37 |
-
result =
|
38 |
-
print (result)
|
39 |
|
40 |
def parse_action(string: str):
|
41 |
print("PARSING:")
|
|
|
31 |
|
32 |
from gradio_client import Client
|
33 |
|
34 |
+
client2 = Client("https://omnibus-html-image-current-tab.hf.space/--replicas/o0seq/")
|
35 |
|
36 |
def get_screenshot(chat,height=5000,width=600,chatblock=[1],header=True,theme="light",wait=3000):
|
37 |
+
result = client2.predict(chat,height,width,chatblock,header,theme,wait,api_name="/run_script")
|
38 |
+
print (result[0])
|
39 |
|
40 |
def parse_action(string: str):
|
41 |
print("PARSING:")
|