Spaces:
Build error
Build error
asd
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ if not hf_token:
|
|
8 |
raise ValueError("No hf_token found in environment variables")
|
9 |
|
10 |
# Load the model using the token
|
11 |
-
interface = gr.load("models/NoaiGPT/777",
|
12 |
|
13 |
# Launch the Gradio interface
|
14 |
interface.launch()
|
|
|
8 |
raise ValueError("No hf_token found in environment variables")
|
9 |
|
10 |
# Load the model using the token
|
11 |
+
interface = gr.load("models/NoaiGPT/777", use_auth_token=hf_token)
|
12 |
|
13 |
# Launch the Gradio interface
|
14 |
interface.launch()
|