Spaces:
Running
on
Zero
Running
on
Zero
Fix
Browse files- app_zero.py +2 -2
app_zero.py
CHANGED
@@ -122,9 +122,9 @@ def run_model(mode, title, text):
|
|
122 |
if mode == 0:
|
123 |
prompt = summarize_prompt(title, text)
|
124 |
elif mode == 50:
|
125 |
-
prompt = summarize_clickbait_short_prompt(title, text)
|
126 |
-
elif mode == 100:
|
127 |
prompt = summarize_clickbait_large_prompt(title, text)
|
|
|
|
|
128 |
else:
|
129 |
raise ValueError("Mode not supported")
|
130 |
|
|
|
122 |
if mode == 0:
|
123 |
prompt = summarize_prompt(title, text)
|
124 |
elif mode == 50:
|
|
|
|
|
125 |
prompt = summarize_clickbait_large_prompt(title, text)
|
126 |
+
elif mode == 100:
|
127 |
+
prompt = summarize_clickbait_short_prompt(title, text)
|
128 |
else:
|
129 |
raise ValueError("Mode not supported")
|
130 |
|