Spaces:
Build error
Build error
Further code cleanup
Browse files
app.py
CHANGED
@@ -25,7 +25,6 @@ def genQuestion(model_choice, context, tag):
|
|
25 |
if model_choice=="Base model":
|
26 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
|
27 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
|
28 |
-
# descriptions = "Interview question remake is a model that..."
|
29 |
elif model_choice=="Lengthed model":
|
30 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-length-tagged")
|
31 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-length-tagged")
|
|
|
25 |
if model_choice=="Base model":
|
26 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
|
27 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
|
|
|
28 |
elif model_choice=="Lengthed model":
|
29 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-length-tagged")
|
30 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-length-tagged")
|