Spaces:
Sleeping
Sleeping
ultima versao
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +11 -4
__pycache__/app.cpython-310.pyc
CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
app.py
CHANGED
@@ -7,8 +7,13 @@ from sklearn.feature_selection import f_classif
|
|
7 |
|
8 |
import pandas as pd
|
9 |
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
def calcula(titulo, descricao):
|
14 |
with open("model/model_tawos_aloy.pkl", "rb") as file:
|
@@ -27,8 +32,10 @@ def calcula(titulo, descricao):
|
|
27 |
|
28 |
return story_points
|
29 |
|
30 |
-
|
31 |
inputs=[gr.Textbox(placeholder="Título", label="Título"),
|
32 |
gr.Textbox(lines=10, placeholder="Descrição", label="Descrição")],
|
33 |
outputs=[gr.Textbox(label="Story Points Estimado")],
|
34 |
-
title="Agile Task Story Point Estimator"
|
|
|
|
|
|
7 |
|
8 |
import pandas as pd
|
9 |
|
10 |
+
titulo = """CLONE - Studio Dashboard: "default" and "Default Project" does not give clear information about Alloy and Project unless description is read."""
|
11 |
+
descricao = """Steps To Reproduce: 1. On dashboard on studio 3.0, navigate to Develop tab. 2. Notice "default" and "Default Project" & "two-tabbed" and "Tabbed Application" names. Actual: User does not get clear information from names that one is alloy project and another one is Titanium project unless he reads the description below. Expected: Naming convention or icon corresponding must suggest type"""
|
12 |
+
|
13 |
+
|
14 |
+
titulo1 = """Ti.UI.Picker has no collection binding"""
|
15 |
+
descricao1 = """h3. original discussion http://developer.appcelerator.com/question/145992/databinding-on-picker h3. problem Collection binding is not implemented for Ti.UI.Picker as it is for Ti.UI.TableView and other generic Titaniums views (View, Window, ScrollView, etc...). h3. solution Support collection binding on Ti.UI.Picker just as it is on TableView. It will need special handling as the Ti.UI.Picker requires custom parsing for columns and rows. Something like this should be how it would work for devs: {code:xml} <Alloy> <Collection src="book" /> <Window class="container"> <Picker dataCollection="book"> <PickerRow title="{title}" /> </Picker> </Window> </Alloy> {code}"""
|
16 |
+
|
17 |
|
18 |
def calcula(titulo, descricao):
|
19 |
with open("model/model_tawos_aloy.pkl", "rb") as file:
|
|
|
32 |
|
33 |
return story_points
|
34 |
|
35 |
+
demogr.Interface(fn=calcula,
|
36 |
inputs=[gr.Textbox(placeholder="Título", label="Título"),
|
37 |
gr.Textbox(lines=10, placeholder="Descrição", label="Descrição")],
|
38 |
outputs=[gr.Textbox(label="Story Points Estimado")],
|
39 |
+
title="Agile Task Story Point Estimator",
|
40 |
+
examples=[[titulo, descricao], [titulo1, descricao1]]
|
41 |
+
).launch()
|