Spaces:
Build error
Build error
vitorbborges
commited on
Commit
•
b0d9fab
1
Parent(s):
7afab14
Upload app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
|
4 |
opo = pd.read_csv('oportunidades.csv')
|
5 |
simulation = pd.read_csv('simulation1.csv')
|
6 |
|
|
|
|
|
7 |
with gr.Blocks() as demo:
|
8 |
-
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
import random as random
|
3 |
|
4 |
|
5 |
opo = pd.read_csv('oportunidades.csv')
|
6 |
simulation = pd.read_csv('simulation1.csv')
|
7 |
|
8 |
+
opo_n = random.randrange(len(opo))
|
9 |
+
|
10 |
with gr.Blocks() as demo:
|
11 |
+
nota = gr.Slider(1,5, label = opo.loc[opo_n])
|
12 |
+
|
13 |
+
demo.launch()
|