Spaces:
Build error
Build error
fixed import
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os, sys
|
|
|
2 |
import numpy as np
|
3 |
import torch
|
4 |
from torchvision import transforms
|
@@ -41,6 +42,7 @@ def predict(source_img, driver_img):
|
|
41 |
|
42 |
|
43 |
import gradio as gr
|
|
|
44 |
gr.Interface(
|
45 |
fn=predict,
|
46 |
inputs=[
|
|
|
1 |
import os, sys
|
2 |
+
import argparse
|
3 |
import numpy as np
|
4 |
import torch
|
5 |
from torchvision import transforms
|
|
|
42 |
|
43 |
|
44 |
import gradio as gr
|
45 |
+
|
46 |
gr.Interface(
|
47 |
fn=predict,
|
48 |
inputs=[
|