NCTCMumbai commited on
Commit
75f868d
1 Parent(s): c1c847c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -205,7 +205,16 @@ article="<p style='color:black;text-align:right;font-size:1vw;'>Powered by NCTC
205
 
206
  #css=".gradio-container {background-color: papayawhip}",
207
 
208
- blocked_files=[' /home/user/app/Checkpoint',' /home/user/app/fun_advaitbert.py',]
 
 
 
 
 
 
 
 
 
209
 
210
  gr.Interface(
211
  predict_CTH,
 
205
 
206
  #css=".gradio-container {background-color: papayawhip}",
207
 
208
+
209
+
210
+ # Get the absolute path by combining the current working directory with the relative path
211
+ absolute_path_1 = os.path.abspath(checkpoint_filepath)
212
+ absolute_path_2 = os.path.abspath('./CTH_WISE_DUTY_RATE.csv)
213
+
214
+ # Print the absolute path
215
+ print("Absolute path:", absolute_path)
216
+
217
+ blocked_files=[absolute_path_1,absolute_path_2]
218
 
219
  gr.Interface(
220
  predict_CTH,