Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,7 @@ import os
|
|
5 |
import torch
|
6 |
|
7 |
description = """# <p style="text-align: center; color: white;"> π
π¨ <span style='color: #ff75b3;'>SantaFixer:</span> Bug Fixing</p>
|
8 |
-
<span style='color: white;'>This is a demo for <a href="https://huggingface.co/lambdasec/santafixer" style="color: #ff75b3;">SantaFixer</a>, a fine-tuned version of the SantaCoder model that is focussed on bug fixing. Just specify where you would like the model to fix code
|
9 |
-
with the <span style='color: #ff75b3;'><FILL-HERE></span> token.</span>"""
|
10 |
|
11 |
# token = os.environ["HUB_TOKEN"]
|
12 |
device=torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
|
|
|
5 |
import torch
|
6 |
|
7 |
description = """# <p style="text-align: center; color: white;"> π
π¨ <span style='color: #ff75b3;'>SantaFixer:</span> Bug Fixing</p>
|
8 |
+
<span style='color: white;'>This is a demo for <a href="https://huggingface.co/lambdasec/santafixer" style="color: #ff75b3;">SantaFixer</a>, a fine-tuned version of the SantaCoder model that is focussed on bug fixing. Just specify where you would like the model to fix the code with the <span style='color: #ff75b3;'><FILL-HERE></span> token.</span>"""
|
|
|
9 |
|
10 |
# token = os.environ["HUB_TOKEN"]
|
11 |
device=torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
|