Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def inference(image, mode, best_max_flavors):
|
|
52 |
|
53 |
print("mode best: " + prompt_result)
|
54 |
|
55 |
-
return prompt_result
|
56 |
|
57 |
elif mode == 'classic':
|
58 |
|
@@ -60,7 +60,7 @@ def inference(image, mode, best_max_flavors):
|
|
60 |
|
61 |
print("mode classic: " + prompt_result)
|
62 |
|
63 |
-
return prompt_result
|
64 |
|
65 |
else:
|
66 |
|
@@ -68,7 +68,7 @@ def inference(image, mode, best_max_flavors):
|
|
68 |
|
69 |
print("mode fast: " + prompt_result)
|
70 |
|
71 |
-
return prompt_result
|
72 |
|
73 |
title = """
|
74 |
<div style="text-align: center; max-width: 500px; margin: 0 auto;">
|
|
|
52 |
|
53 |
print("mode best: " + prompt_result)
|
54 |
|
55 |
+
return prompt_result
|
56 |
|
57 |
elif mode == 'classic':
|
58 |
|
|
|
60 |
|
61 |
print("mode classic: " + prompt_result)
|
62 |
|
63 |
+
return prompt_result
|
64 |
|
65 |
else:
|
66 |
|
|
|
68 |
|
69 |
print("mode fast: " + prompt_result)
|
70 |
|
71 |
+
return prompt_result
|
72 |
|
73 |
title = """
|
74 |
<div style="text-align: center; max-width: 500px; margin: 0 auto;">
|