Spaces:
Running
Running
NCTCMumbai
commited on
Commit
•
4165bb2
1
Parent(s):
8272ad0
Update app.py
Browse files
app.py
CHANGED
@@ -207,14 +207,15 @@ article="<p style='color:black;text-align:right;font-size:1vw;'>Powered by NCTC
|
|
207 |
#css=".gradio-container {background-color: papayawhip}",
|
208 |
|
209 |
|
210 |
-
|
211 |
# Get the absolute path by combining the current working directory with the relative path
|
212 |
absolute_path_1 = os.path.abspath(checkpoint_filepath)
|
|
|
213 |
|
214 |
# Print the absolute path
|
215 |
print("Absolute path:", absolute_path_1)
|
216 |
|
217 |
-
blocked_files=[absolute_path_1]
|
218 |
|
219 |
gr.Interface(
|
220 |
predict_CTH,
|
|
|
207 |
#css=".gradio-container {background-color: papayawhip}",
|
208 |
|
209 |
|
210 |
+
path_2='./CTH_CODE_MAP.csv'
|
211 |
# Get the absolute path by combining the current working directory with the relative path
|
212 |
absolute_path_1 = os.path.abspath(checkpoint_filepath)
|
213 |
+
absolute_path_2 = os.path.abspath(path_2)
|
214 |
|
215 |
# Print the absolute path
|
216 |
print("Absolute path:", absolute_path_1)
|
217 |
|
218 |
+
blocked_files=[absolute_path_1,absolute_path_2]
|
219 |
|
220 |
gr.Interface(
|
221 |
predict_CTH,
|