Spaces:
Sleeping
Sleeping
Commit
·
a29f541
1
Parent(s):
145aa8b
JAVA-Inspector7
Browse files
app.py
CHANGED
|
@@ -141,4 +141,29 @@ with gr.Blocks(title="Destrinchador de Sintaxe e Paradigma OO em Java") as demo:
|
|
| 141 |
result.get("If/Else", 0),
|
| 142 |
result.get("Switch/Case", 0),
|
| 143 |
result.get("For Loops", 0),
|
| 144 |
-
result.get("While Loops",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
result.get("If/Else", 0),
|
| 142 |
result.get("Switch/Case", 0),
|
| 143 |
result.get("For Loops", 0),
|
| 144 |
+
result.get("While Loops", 0),
|
| 145 |
+
result.get("Do-While Loops", 0),
|
| 146 |
+
result.get("Aritméticos", 0),
|
| 147 |
+
result.get("Comparação", 0),
|
| 148 |
+
result.get("Lógicos", 0),
|
| 149 |
+
result.get("Atribuição", 0),
|
| 150 |
+
result.get("System.out.print", 0),
|
| 151 |
+
result.get("Scanner", 0),
|
| 152 |
+
result.get("Concatenação de Strings", 0),
|
| 153 |
+
result.get("Métodos de String", 0),
|
| 154 |
+
result.get("Classes", 0),
|
| 155 |
+
result.get("Objetos", 0),
|
| 156 |
+
result.get("Métodos", 0),
|
| 157 |
+
result.get("Atributos", 0),
|
| 158 |
+
result.get("Encapsulamento", 0),
|
| 159 |
+
result.get("Herança", 0),
|
| 160 |
+
result.get("Polimorfismo", 0),
|
| 161 |
+
]
|
| 162 |
+
for result in results
|
| 163 |
+
]
|
| 164 |
+
return formatted_results
|
| 165 |
+
|
| 166 |
+
analyze_button.click(fn=analyze_files, inputs=file_input, outputs=output_table)
|
| 167 |
+
|
| 168 |
+
if __name__ == "__main__":
|
| 169 |
+
demo.launch(share=True)
|