Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipe
|
|
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, finetuned on [CodeComplex](https://huggingface.co/datasets/codeparrot/codecomplex), a dataset for complexity prediction of Java code."
|
|
|
|
|
8 |
example = [
|
9 |
["code example 1", "nlogn"],
|
10 |
["code example 2", "constant"]]
|
|
|
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, finetuned on [CodeComplex](https://huggingface.co/datasets/codeparrot/codecomplex), a dataset for complexity prediction of Java code."
|
8 |
+
|
9 |
+
#add examples
|
10 |
example = [
|
11 |
["code example 1", "nlogn"],
|
12 |
["code example 2", "constant"]]
|