Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import gradio as gr
|
|
| 6 |
import os
|
| 7 |
|
| 8 |
# Load model
|
| 9 |
-
checkpoint_path = "
|
| 10 |
checkpoint_and_model = model_from_checkpoint(checkpoint_path)
|
| 11 |
model = checkpoint_and_model["model"]
|
| 12 |
model_type = checkpoint_and_model["model_type"]
|
|
|
|
| 6 |
import os
|
| 7 |
|
| 8 |
# Load model
|
| 9 |
+
checkpoint_path = "model_checkpoint.pth"
|
| 10 |
checkpoint_and_model = model_from_checkpoint(checkpoint_path)
|
| 11 |
model = checkpoint_and_model["model"]
|
| 12 |
model_type = checkpoint_and_model["model_type"]
|