Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -175,13 +175,15 @@ def respond(
|
|
175 |
yield f"Error fetching GitHub issues: {e}"
|
176 |
|
177 |
elif command == "/help":
|
178 |
-
yield "Available commands
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
|
|
|
|
185 |
|
186 |
elif command.isdigit() and issues:
|
187 |
try:
|
|
|
175 |
yield f"Error fetching GitHub issues: {e}"
|
176 |
|
177 |
elif command == "/help":
|
178 |
+
yield f"""Available commands:
|
179 |
+
- `/github`: Analyze a GitHub issue
|
180 |
+
- `/help`: Show this help message
|
181 |
+
- `/generate_code [code description]`: Generate code based on the description
|
182 |
+
- `/explain_concept [concept]`: Explain a concept
|
183 |
+
- `/write_documentation [topic]`: Write documentation for a given topic
|
184 |
+
- `/translate_code [code] to [target language]`: Translate code to another language""" # Close the f-string here
|
185 |
+
|
186 |
+
# ... (rest of your code)
|
187 |
|
188 |
elif command.isdigit() and issues:
|
189 |
try:
|