ldhldh commited on
Commit
32d8c50
·
1 Parent(s): 6a14764

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ import requests, os, re, asyncio
8
 
9
 
10
  loop = asyncio.get_event_loop()
11
- gradio_client = GrClient('https://ldhldh-demoforkakaoapi.hf.space/')
12
  # Monkey patch
13
  def get_types(cls_set: List[Type], component: str):
14
  docset = []
@@ -33,7 +33,7 @@ def chat(x):
33
  result = gradio_client.predict(
34
  x,
35
  # str representing input in 'User input' Textbox component
36
- 5,
37
  fn_index=0
38
  )
39
  result = str(result)
 
8
 
9
 
10
  loop = asyncio.get_event_loop()
11
+ gradio_client = GrClient('https://885cc42f9ccc014024.gradio.live/')
12
  # Monkey patch
13
  def get_types(cls_set: List[Type], component: str):
14
  docset = []
 
33
  result = gradio_client.predict(
34
  x,
35
  # str representing input in 'User input' Textbox component
36
+ 50,
37
  fn_index=0
38
  )
39
  result = str(result)