Omnibus commited on
Commit
7edef00
·
verified ·
1 Parent(s): 0839bc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -31,11 +31,11 @@ client = InferenceClient(
31
 
32
  from gradio_client import Client
33
 
34
- client = 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 = client.predict(chat,height,width,chatblock,header,theme,wait,api_name="/run_script")
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:")