app.py
CHANGED
@@ -17,7 +17,8 @@ def compute():
|
|
17 |
my_bar = st.progress(0, text='Currently in progress')
|
18 |
|
19 |
for idx in api.train(iters=10000):
|
20 |
-
|
|
|
21 |
|
22 |
samples = np.array(api.model.sample(
|
23 |
torch.tensor(api.scaled).float()).detach())
|
|
|
17 |
my_bar = st.progress(0, text='Currently in progress')
|
18 |
|
19 |
for idx in api.train(iters=10000):
|
20 |
+
st.write('Loss:',idx[1])
|
21 |
+
my_bar.progress(idx[0]/10000)
|
22 |
|
23 |
samples = np.array(api.model.sample(
|
24 |
torch.tensor(api.scaled).float()).detach())
|