marta-marta commited on
Commit
eb0f47b
·
1 Parent(s): cc9b4d3

Start testing streamlit implementation

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import random
2
 
3
  import matplotlib.pyplot as plt
 
4
  import pandas as pd
5
  from datasets import load_dataset, ClassLabel, Sequence
6
  import json
@@ -19,10 +20,15 @@ import streamlit as st
19
  from Data_Generation.Dataset_Generation_Functions import make_boxes
20
 
21
 
22
- x = st.slider('Select a value')
23
- st.write(x, 'squared is', x * x)
24
 
25
 
 
 
 
 
 
26
  '''
27
  # Testing
28
  image_size = 100
 
1
  import random
2
 
3
  import matplotlib.pyplot as plt
4
+ import numpy as np
5
  import pandas as pd
6
  from datasets import load_dataset, ClassLabel, Sequence
7
  import json
 
20
  from Data_Generation.Dataset_Generation_Functions import make_boxes
21
 
22
 
23
+ image_size = st.slider('Select a value for the image size')
24
+ # st.write(x, 'squared is', x * x)
25
 
26
 
27
+ density_selection = st.slider('Select a value for the number of equally spaced density values')
28
+
29
+ densities = np.linspace(0,1, num=density_selection)[1:]
30
+
31
+ st.write(densities)
32
  '''
33
  # Testing
34
  image_size = 100