Update app.py
Browse files
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://
|
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 |
-
|
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)
|