Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,9 +2,9 @@ import gradio as gr
|
|
| 2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
| 3 |
|
| 4 |
|
| 5 |
-
title = "Code Compexity Predictor"
|
| 6 |
description = "This is a space to predict complexity of Java code with [CodeParrot-Multi-Complexity](https://huggingface.co/codeparrot/codeparrot-small-multi),\
|
| 7 |
-
a multilingual model for code generation,
|
| 8 |
|
| 9 |
#add examples
|
| 10 |
example = [
|
|
|
|
| 2 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
|
| 3 |
|
| 4 |
|
| 5 |
+
title = "Code Compexity Predictor [WIP]"
|
| 6 |
description = "This is a space to predict complexity of Java code with [CodeParrot-Multi-Complexity](https://huggingface.co/codeparrot/codeparrot-small-multi),\
|
| 7 |
+
a multilingual model for code generation, fine-tuned on [CodeComplex](https://huggingface.co/datasets/codeparrot/codecomplex), a dataset for complexity prediction of Java code."
|
| 8 |
|
| 9 |
#add examples
|
| 10 |
example = [
|