Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def generate_explanation(issue_text, top_qualities):
|
|
157 |
|
158 |
return explanation
|
159 |
|
160 |
-
@spaces.GPU(duration=180) # Apply the GPU decorator *only* to the main interface
|
161 |
def main_interface(text):
|
162 |
if not text.strip():
|
163 |
return "<div style='color: red;'>No text provided. Please enter a valid issue description.</div>", "", ""
|
|
|
157 |
|
158 |
return explanation
|
159 |
|
160 |
+
# @spaces.GPU(duration=180) # Apply the GPU decorator *only* to the main interface
|
161 |
def main_interface(text):
|
162 |
if not text.strip():
|
163 |
return "<div style='color: red;'>No text provided. Please enter a valid issue description.</div>", "", ""
|