csabag76 commited on
Commit
6f8269d
1 Parent(s): 1028fe0

fixing trust_remote_code = true : needs to be string

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
  import os
3
 
4
- os.environ['HF_MODEL_TRUST_REMOTE_CODE'] = True
5
  gr.load("models/csabag76/sg").launch()
 
1
  import gradio as gr
2
  import os
3
 
4
+ os.environ['HF_MODEL_TRUST_REMOTE_CODE'] = "true"
5
  gr.load("models/csabag76/sg").launch()