Spaces:
Build error
Build error
added examples
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def genQuestion(model_choice, context):
|
|
30 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-length-tagged")
|
31 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-length-tagged")
|
32 |
# descriptions = "Interview question tagged is a model that..."
|
33 |
-
elif model_choice=="
|
34 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/reverse-interview-question")
|
35 |
tok = BartTokenizer.from_pretrained("hyechanjun/reverse-interview-question")
|
36 |
# descriptions = "Reverse interview question is a model that..."
|
|
|
30 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-length-tagged")
|
31 |
tok = BartTokenizer.from_pretrained("hyechanjun/interview-length-tagged")
|
32 |
# descriptions = "Interview question tagged is a model that..."
|
33 |
+
elif model_choice=="Reverse model":
|
34 |
model = BartForConditionalGeneration.from_pretrained("hyechanjun/reverse-interview-question")
|
35 |
tok = BartTokenizer.from_pretrained("hyechanjun/reverse-interview-question")
|
36 |
# descriptions = "Reverse interview question is a model that..."
|