Spaces:
Sleeping
Sleeping
Commit
路
53d9f4b
1
Parent(s):
a29f541
JAVA-Inspector13
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from collections import Counter
|
|
| 4 |
from typing import Dict, List
|
| 5 |
|
| 6 |
class JavaSyntaxAnalyzer:
|
| 7 |
-
"""
|
| 8 |
|
| 9 |
def analyze_syntax(self, code: str) -> Dict[str, int]:
|
| 10 |
"""Analisa sintaticamente o c贸digo em diferentes categorias"""
|
|
@@ -111,8 +111,8 @@ def process_files(files) -> List[Dict]:
|
|
| 111 |
return file_results
|
| 112 |
|
| 113 |
# Interface Gradio
|
| 114 |
-
with gr.Blocks(title="
|
| 115 |
-
gr.Markdown("#
|
| 116 |
gr.Markdown("Suba os arquivos Java para destrinchar as estruturas sint谩ticas e orientadas a objetos.")
|
| 117 |
|
| 118 |
file_input = gr.File(label="Arquivos Java", file_types=[".java"], file_count="multiple")
|
|
|
|
| 4 |
from typing import Dict, List
|
| 5 |
|
| 6 |
class JavaSyntaxAnalyzer:
|
| 7 |
+
"""Java-Inspector: Syntax and OO Paradigm Inspection in Java Code """
|
| 8 |
|
| 9 |
def analyze_syntax(self, code: str) -> Dict[str, int]:
|
| 10 |
"""Analisa sintaticamente o c贸digo em diferentes categorias"""
|
|
|
|
| 111 |
return file_results
|
| 112 |
|
| 113 |
# Interface Gradio
|
| 114 |
+
with gr.Blocks(title="Java-Inspector") as demo:
|
| 115 |
+
gr.Markdown("# Java-Inspector: Syntax and OO Paradigm Inspection in Java Code")
|
| 116 |
gr.Markdown("Suba os arquivos Java para destrinchar as estruturas sint谩ticas e orientadas a objetos.")
|
| 117 |
|
| 118 |
file_input = gr.File(label="Arquivos Java", file_types=[".java"], file_count="multiple")
|