Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def mbti(x):
|
|
32 |
t = translator.translate(x, src='ko', dest='en')
|
33 |
str_trans = re.sub('[-=+,#/\?:^.@*\"※~ㆍ!』‘|\(\)\[\]`\'…》\”\“\’·]', '', t)
|
34 |
result = gradio_client.predict(
|
35 |
-
|
36 |
fn_index=2
|
37 |
)
|
38 |
|
|
|
32 |
t = translator.translate(x, src='ko', dest='en')
|
33 |
str_trans = re.sub('[-=+,#/\?:^.@*\"※~ㆍ!』‘|\(\)\[\]`\'…》\”\“\’·]', '', t)
|
34 |
result = gradio_client.predict(
|
35 |
+
str_trans, # str representing input in 'User input' Textbox component
|
36 |
fn_index=2
|
37 |
)
|
38 |
|