haramkoo commited on
Commit
8ec57c7
·
1 Parent(s): 9190e7c

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
-
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")
 
14
  ]
15
 
16
  # Descriptions for each models
17
+ descriptions = ""
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")