haramkoo commited on
Commit
217d852
·
1 Parent(s): ee66224

model descriptions and examples draft01

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,11 +14,11 @@ examples = [
14
  ]
15
 
16
  # Descriptions for each models
17
- descriptions = "HELLO"
18
 
19
  # pass in Strings of model choice and input text for context
20
  def genQuestion(model_choice, context):
21
-
22
  if model_choice=="interview-question-remake":
23
  model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
24
  tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")
 
14
  ]
15
 
16
  # Descriptions for each models
17
+ # descriptions = "Interview question remake is a model that..."
18
 
19
  # pass in Strings of model choice and input text for context
20
  def genQuestion(model_choice, context):
21
+ global descriptions
22
  if model_choice=="interview-question-remake":
23
  model = BartForConditionalGeneration.from_pretrained("hyechanjun/interview-question-remake")
24
  tok = BartTokenizer.from_pretrained("hyechanjun/interview-question-remake")