Carlos2312 commited on
Commit
22d1d36
·
verified ·
1 Parent(s): 19943f7

Update modelos.py

Browse files
Files changed (1) hide show
  1. modelos.py +9 -1
modelos.py CHANGED
@@ -4,7 +4,15 @@ import os
4
  from nenen88 import download, say, tempe
5
 
6
  bura = "/home/studio-lab-user/forge/asd/cn-1_5.css"
7
- with open(bura, "r") as oppai:
 
 
 
 
 
 
 
 
8
  susu = oppai.read()
9
  display(HTML(f"<style>{susu}</style>"))
10
 
 
4
  from nenen88 import download, say, tempe
5
 
6
  bura = "/home/studio-lab-user/forge/asd/cn-1_5.css"
7
+ bura2 = "/home/studio-lab-user/asd/asd/cn-1_5.css"
8
+
9
+ # Check if the file exists at the first location
10
+ if os.path.exists(bura):
11
+ file_path = bura
12
+ else:
13
+ file_path = bura2
14
+
15
+ with open(file_path, "r") as oppai:
16
  susu = oppai.read()
17
  display(HTML(f"<style>{susu}</style>"))
18