Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def show_f(name,d_app,token):
|
|
| 38 |
if "'id':" in line:
|
| 39 |
line = line.split(":",1)[1]
|
| 40 |
line = line.split("/",1)[1]
|
| 41 |
-
line = line.replace("'","").replace(",","")
|
| 42 |
spaces.append(line)
|
| 43 |
print(f"{line}")
|
| 44 |
return(gr.Dropdown.update(label="Spaces", choices=[s for s in spaces]))
|
|
|
|
| 38 |
if "'id':" in line:
|
| 39 |
line = line.split(":",1)[1]
|
| 40 |
line = line.split("/",1)[1]
|
| 41 |
+
line = line.replace("'","").replace(",","").replace("\n","")
|
| 42 |
spaces.append(line)
|
| 43 |
print(f"{line}")
|
| 44 |
return(gr.Dropdown.update(label="Spaces", choices=[s for s in spaces]))
|