Spaces:
Paused
Paused
tamas.kiss
commited on
Commit
·
859a84d
1
Parent(s):
298d2e0
Update title
Browse files
app.py
CHANGED
|
@@ -347,6 +347,8 @@ def text_to_text_generation(verbose, prompt):
|
|
| 347 |
if verbose:
|
| 348 |
return (
|
| 349 |
f"# 📚KubeWizard📚\n"
|
|
|
|
|
|
|
| 350 |
f"# Classified your prompt as:\n"
|
| 351 |
f"{modes}\n\n"
|
| 352 |
f"# Prompt given to the model:\n"
|
|
@@ -356,6 +358,8 @@ def text_to_text_generation(verbose, prompt):
|
|
| 356 |
else:
|
| 357 |
return (
|
| 358 |
f"# 📚KubeWizard📚\n"
|
|
|
|
|
|
|
| 359 |
f"# Classified your prompt as:\n"
|
| 360 |
f"{modes}\n\n"
|
| 361 |
f"# Answer:\n" f"{str_to_md(response)}"
|
|
@@ -370,6 +374,8 @@ def text_to_text_generation(verbose, prompt):
|
|
| 370 |
if verbose:
|
| 371 |
return (
|
| 372 |
f"# 📚KubeWizard📚\n"
|
|
|
|
|
|
|
| 373 |
f"# Classified your prompt as:\n"
|
| 374 |
f"{modes}\n\n"
|
| 375 |
f"# Prompt given to the model:\n"
|
|
@@ -382,6 +388,8 @@ def text_to_text_generation(verbose, prompt):
|
|
| 382 |
else:
|
| 383 |
return (
|
| 384 |
f"# 📚KubeWizard📚\n"
|
|
|
|
|
|
|
| 385 |
f"# Classified your prompt as:\n"
|
| 386 |
f"{modes}\n\n"
|
| 387 |
f"# Answer:\n" f"```bash\n{str_to_md(response)}\n```\n"
|
|
@@ -405,6 +413,8 @@ def text_to_text_generation(verbose, prompt):
|
|
| 405 |
if verbose:
|
| 406 |
return (
|
| 407 |
f"# 📚KubeWizard📚\n"
|
|
|
|
|
|
|
| 408 |
f"# Classified your prompt as:\n"
|
| 409 |
f"{modes}\n\n"
|
| 410 |
f"--------------------------------------------\n"
|
|
@@ -429,6 +439,8 @@ def text_to_text_generation(verbose, prompt):
|
|
| 429 |
else:
|
| 430 |
return (
|
| 431 |
f"# 📚KubeWizard📚\n"
|
|
|
|
|
|
|
| 432 |
f"# Classified your prompt as:\n"
|
| 433 |
f"{modes}\n\n"
|
| 434 |
f"# Answer with finetuned model\n\n {str_to_md(res_normal)}\n"
|
|
|
|
| 347 |
if verbose:
|
| 348 |
return (
|
| 349 |
f"# 📚KubeWizard📚\n"
|
| 350 |
+
f"A helpful Kubernetes Assistant powered by Component Soft\n"
|
| 351 |
+
f"--------------------------------------------\n"
|
| 352 |
f"# Classified your prompt as:\n"
|
| 353 |
f"{modes}\n\n"
|
| 354 |
f"# Prompt given to the model:\n"
|
|
|
|
| 358 |
else:
|
| 359 |
return (
|
| 360 |
f"# 📚KubeWizard📚\n"
|
| 361 |
+
f"A helpful Kubernetes Assistant powered by Component Soft\n"
|
| 362 |
+
f"--------------------------------------------\n"
|
| 363 |
f"# Classified your prompt as:\n"
|
| 364 |
f"{modes}\n\n"
|
| 365 |
f"# Answer:\n" f"{str_to_md(response)}"
|
|
|
|
| 374 |
if verbose:
|
| 375 |
return (
|
| 376 |
f"# 📚KubeWizard📚\n"
|
| 377 |
+
f"A helpful Kubernetes Assistant powered by Component Soft\n"
|
| 378 |
+
f"--------------------------------------------\n"
|
| 379 |
f"# Classified your prompt as:\n"
|
| 380 |
f"{modes}\n\n"
|
| 381 |
f"# Prompt given to the model:\n"
|
|
|
|
| 388 |
else:
|
| 389 |
return (
|
| 390 |
f"# 📚KubeWizard📚\n"
|
| 391 |
+
f"A helpful Kubernetes Assistant powered by Component Soft\n"
|
| 392 |
+
f"--------------------------------------------\n"
|
| 393 |
f"# Classified your prompt as:\n"
|
| 394 |
f"{modes}\n\n"
|
| 395 |
f"# Answer:\n" f"```bash\n{str_to_md(response)}\n```\n"
|
|
|
|
| 413 |
if verbose:
|
| 414 |
return (
|
| 415 |
f"# 📚KubeWizard📚\n"
|
| 416 |
+
f"A helpful Kubernetes Assistant powered by Component Soft\n"
|
| 417 |
+
f"--------------------------------------------\n"
|
| 418 |
f"# Classified your prompt as:\n"
|
| 419 |
f"{modes}\n\n"
|
| 420 |
f"--------------------------------------------\n"
|
|
|
|
| 439 |
else:
|
| 440 |
return (
|
| 441 |
f"# 📚KubeWizard📚\n"
|
| 442 |
+
f"A helpful Kubernetes Assistant powered by Component Soft\n"
|
| 443 |
+
f"--------------------------------------------\n"
|
| 444 |
f"# Classified your prompt as:\n"
|
| 445 |
f"{modes}\n\n"
|
| 446 |
f"# Answer with finetuned model\n\n {str_to_md(res_normal)}\n"
|