Spaces:
Sleeping
Sleeping
fixed torch typo
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def generate(
|
|
54 |
return better_prompt
|
55 |
|
56 |
|
57 |
-
precision_model = gr.Radio([('fp32', torch.float32), ('fp16',
|
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 |
|