Nick088 commited on
Commit
0bc49fa
1 Parent(s): 6db1658

fixed torch typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def generate(
54
  return better_prompt
55
 
56
 
57
- precision_model = gr.Radio([('fp32', torch.float32), ('fp16', toch.float16)], value='fp16', label="Model Precision Type", info="fp32 is more precised but slower, fp16 is faster and less resource consuming but less pricse")
58
 
59
  prompt = gr.Textbox(label="Prompt", interactive=True)
60
 
 
54
  return better_prompt
55
 
56
 
57
+ precision_model = gr.Radio([('fp32', torch.float32), ('fp16', torch.float16)], value='fp16', label="Model Precision Type", info="fp32 is more precised but slower, fp16 is faster and less resource consuming but less pricse")
58
 
59
  prompt = gr.Textbox(label="Prompt", interactive=True)
60