Spaces:
Runtime error
Runtime error
Leonardo
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,6 +163,7 @@ class ModelManager:
|
|
| 163 |
device_map="auto",
|
| 164 |
max_new_tokens=1000,
|
| 165 |
)
|
|
|
|
| 166 |
|
| 167 |
else:
|
| 168 |
raise ValueError(f"Invalid inference type: {chosen_inference}")
|
|
|
|
| 163 |
device_map="auto",
|
| 164 |
max_new_tokens=1000,
|
| 165 |
)
|
| 166 |
+
|
| 167 |
|
| 168 |
else:
|
| 169 |
raise ValueError(f"Invalid inference type: {chosen_inference}")
|