Spaces:
Running
Running
firatozdemir
commited on
Commit
•
912a3d8
1
Parent(s):
cc9a06d
minor update
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import os, glob, sys
|
|
2 |
import pickle
|
3 |
import streamlit as st
|
4 |
import utils
|
5 |
-
sys.path.append('stylegan3')
|
6 |
|
7 |
in_gpu = False
|
8 |
num_images = 1
|
|
|
2 |
import pickle
|
3 |
import streamlit as st
|
4 |
import utils
|
|
|
5 |
|
6 |
in_gpu = False
|
7 |
num_images = 1
|
utils.py
CHANGED
@@ -4,6 +4,7 @@ import streamlit as st
|
|
4 |
import torch
|
5 |
import matplotlib.pyplot as plt
|
6 |
import numpy as np
|
|
|
7 |
|
8 |
class SampleFromGAN:
|
9 |
def __init__(self, G, z_shp, in_gpu=False) -> None:
|
|
|
4 |
import torch
|
5 |
import matplotlib.pyplot as plt
|
6 |
import numpy as np
|
7 |
+
sys.path.append('stylegan3')
|
8 |
|
9 |
class SampleFromGAN:
|
10 |
def __init__(self, G, z_shp, in_gpu=False) -> None:
|