Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,12 @@ api_key = os.getenv('MY_API_KEY')
|
|
11 |
|
12 |
# List of repos (private spaces)
|
13 |
repos = [
|
14 |
-
"hsuwill000/
|
15 |
-
"hsuwill000/
|
|
|
|
|
|
|
|
|
16 |
]
|
17 |
|
18 |
class CustomClient(Client):
|
@@ -32,7 +36,7 @@ async def infer_single_gradio(client, prompt):
|
|
32 |
# Prepare the inputs for the prediction
|
33 |
inputs = {
|
34 |
"prompt": prompt,
|
35 |
-
"num_inference_steps": 10 # Number of inference steps for the model
|
36 |
}
|
37 |
|
38 |
try:
|
|
|
11 |
|
12 |
# List of repos (private spaces)
|
13 |
repos = [
|
14 |
+
"hsuwill000/Fluently-v4-LCM-openvino_0",
|
15 |
+
"hsuwill000/Fluently-v4-LCM-openvino_1",
|
16 |
+
"hsuwill000/Fluently-v4-LCM-openvino_2",
|
17 |
+
"hsuwill000/Fluently-v4-LCM-openvino_3",
|
18 |
+
"hsuwill000/Fluently-v4-LCM-openvino_4",
|
19 |
+
"hsuwill000/Fluently-v4-LCM-openvino_5",
|
20 |
]
|
21 |
|
22 |
class CustomClient(Client):
|
|
|
36 |
# Prepare the inputs for the prediction
|
37 |
inputs = {
|
38 |
"prompt": prompt,
|
39 |
+
#"num_inference_steps": 10 # Number of inference steps for the model
|
40 |
}
|
41 |
|
42 |
try:
|