Spaces:
Runtime error
Runtime error
Commit
·
6da864d
1
Parent(s):
2ca0b7a
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ openai.api_key = "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"
|
|
| 8 |
|
| 9 |
model_path = "models/dreamlike-art/dreamlike-photoreal-2.0"
|
| 10 |
model_prefix = "photoreal style"
|
| 11 |
-
model =
|
| 12 |
|
| 13 |
|
| 14 |
# Define the OpenAI prompt completion function
|
|
|
|
| 8 |
|
| 9 |
model_path = "models/dreamlike-art/dreamlike-photoreal-2.0"
|
| 10 |
model_prefix = "photoreal style"
|
| 11 |
+
model = gr.Interface.load(model_path)
|
| 12 |
|
| 13 |
|
| 14 |
# Define the OpenAI prompt completion function
|