Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ Explain why this issue might be classified as a **{quality_name}** issue. Provid
|
|
159 |
return "<div style='color: red;'>An error occurred while generating the explanation.</div>"
|
160 |
|
161 |
|
162 |
-
@spaces.GPU(duration=
|
163 |
def main_interface(text):
|
164 |
if not text.strip():
|
165 |
return "<div style='color: red;'>No text provided. Please enter a valid issue description.</div>", "", ""
|
|
|
159 |
return "<div style='color: red;'>An error occurred while generating the explanation.</div>"
|
160 |
|
161 |
|
162 |
+
@spaces.GPU(duration=90)
|
163 |
def main_interface(text):
|
164 |
if not text.strip():
|
165 |
return "<div style='color: red;'>No text provided. Please enter a valid issue description.</div>", "", ""
|