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