Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
|
|
41 |
#token = os.getenv("API_TOKEN")
|
42 |
payload = {
|
43 |
"inputs": f"{prompt} {trigger_word}",
|
44 |
-
"parameters":{"
|
45 |
}
|
46 |
#headers = {"Authorization": f"Bearer {token}"}
|
47 |
|
@@ -72,7 +72,7 @@ def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
|
|
72 |
|
73 |
|
74 |
with gr.Blocks(css="custom.css") as app:
|
75 |
-
title = gr.Markdown("#
|
76 |
description = gr.Markdown(
|
77 |
"### This is my portfolio. Follow me on Twitter [@araminta_k](https://twitter.com/araminta_k). \n"
|
78 |
"**Note**: The speed and generation quality are for demonstration purposes. "
|
|
|
41 |
#token = os.getenv("API_TOKEN")
|
42 |
payload = {
|
43 |
"inputs": f"{prompt} {trigger_word}",
|
44 |
+
"parameters":{"num_inference_steps": 30, "scheduler":"DPMSolverMultistepScheduler"},
|
45 |
}
|
46 |
#headers = {"Authorization": f"Bearer {token}"}
|
47 |
|
|
|
72 |
|
73 |
|
74 |
with gr.Blocks(css="custom.css") as app:
|
75 |
+
title = gr.Markdown("# Araminta K LoRA portfolio")
|
76 |
description = gr.Markdown(
|
77 |
"### This is my portfolio. Follow me on Twitter [@araminta_k](https://twitter.com/araminta_k). \n"
|
78 |
"**Note**: The speed and generation quality are for demonstration purposes. "
|