Update app.py
Browse files
app.py
CHANGED
|
@@ -25,6 +25,7 @@ def return_prediction(prompt):
|
|
| 25 |
ans_pred = ans.split('### Response:')[1].split('<')[0]
|
| 26 |
return ans_pred
|
| 27 |
|
|
|
|
| 28 |
def classify_website(site_text):
|
| 29 |
prompt = f"""Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
| 30 |
|
|
|
|
| 25 |
ans_pred = ans.split('### Response:')[1].split('<')[0]
|
| 26 |
return ans_pred
|
| 27 |
|
| 28 |
+
@spaces.GPU
|
| 29 |
def classify_website(site_text):
|
| 30 |
prompt = f"""Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
| 31 |
|