arampacha commited on
Commit
128097d
1 Parent(s): a081ff4

adds pt dep

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -13,4 +13,4 @@ def generate_solution(prompt, **kwargs):
13
  output = model.generate(input_ids, pad_token_id=tokenizer.pad_token_id, *kwargs)
14
  return tokenizer.decode(output[0][start:])
15
 
16
- gr.Interface(generate_solution, inputs="text", outputs="text").launch()
 
13
  output = model.generate(input_ids, pad_token_id=tokenizer.pad_token_id, *kwargs)
14
  return tokenizer.decode(output[0][start:])
15
 
16
+ gr.Interface(generate_solution, inputs="text", outputs="text").launch()
requirements.txt CHANGED
@@ -1 +1,2 @@
 
1
  transformers
 
1
+ torch
2
  transformers