Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr, os
|
|
| 2 |
|
| 3 |
gr.load(
|
| 4 |
"models/tonyassi/mgm", # keep the models/ prefix
|
| 5 |
-
|
| 6 |
inputs=gr.Textbox(...),
|
| 7 |
examples=[...],
|
| 8 |
title="MGM Film Diffusion",
|
|
|
|
| 2 |
|
| 3 |
gr.load(
|
| 4 |
"models/tonyassi/mgm", # keep the models/ prefix
|
| 5 |
+
token=os.environ["HF_TOKEN"], # must be non-empty
|
| 6 |
inputs=gr.Textbox(...),
|
| 7 |
examples=[...],
|
| 8 |
title="MGM Film Diffusion",
|