Spaces:
Paused
Paused
ranamhamoud
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def generate_image(text):
|
|
36 |
logging.error("Failed to generate image: %s", str(error))
|
37 |
raise gr.Error("An error occurred while generating the image. Please check your API key and try again.")
|
38 |
|
39 |
-
|
40 |
'type': 'linear', # Adjust the type to the appropriate scaling type for your model.
|
41 |
'factor': 8.0 # Use the intended scaling factor.
|
42 |
}
|
|
|
36 |
logging.error("Failed to generate image: %s", str(error))
|
37 |
raise gr.Error("An error occurred while generating the image. Please check your API key and try again.")
|
38 |
|
39 |
+
rope_scaling = {
|
40 |
'type': 'linear', # Adjust the type to the appropriate scaling type for your model.
|
41 |
'factor': 8.0 # Use the intended scaling factor.
|
42 |
}
|