SmilingWolf commited on
Commit
6b51c7c
1 Parent(s): 53d40a7

Update Gradio

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 💬
4
  colorFrom: blue
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 4.39.0
8
  app_file: app.py
9
  pinned: false
10
  ---
@@ -35,4 +35,4 @@ Path to your main application file (which contains either `gradio` or `streamlit
35
  Path is relative to the root of the repository.
36
 
37
  `pinned`: _boolean_
38
- Whether the Space stays on top of your list.
 
4
  colorFrom: blue
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 5.7.0
8
  app_file: app.py
9
  pinned: false
10
  ---
 
35
  Path is relative to the root of the repository.
36
 
37
  `pinned`: _boolean_
38
+ Whether the Space stays on top of your list.
app.py CHANGED
@@ -212,7 +212,7 @@ class Predictor:
212
  )
213
  sorted_general_strings = [x[0] for x in sorted_general_strings]
214
  sorted_general_strings = (
215
- ", ".join(sorted_general_strings).replace("(", "\(").replace(")", "\)")
216
  )
217
 
218
  return sorted_general_strings, rating, character_res, general_res
 
212
  )
213
  sorted_general_strings = [x[0] for x in sorted_general_strings]
214
  sorted_general_strings = (
215
+ ", ".join(sorted_general_strings).replace("(", "\\(").replace(")", "\\)")
216
  )
217
 
218
  return sorted_general_strings, rating, character_res, general_res