Spaces:
Runtime error
Runtime error
Commit ·
4eb3ab0
1
Parent(s): da277b2
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ openai.api_key = "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"
|
|
| 5 |
|
| 6 |
model_path = "models/dreamlike-art/dreamlike-photoreal-2.0"
|
| 7 |
model_prefix = "photoreal style"
|
| 8 |
-
model = gradio.
|
| 9 |
|
| 10 |
def generate_text(prompt):
|
| 11 |
response = openai.Completion.create(
|
|
|
|
| 5 |
|
| 6 |
model_path = "models/dreamlike-art/dreamlike-photoreal-2.0"
|
| 7 |
model_prefix = "photoreal style"
|
| 8 |
+
model = gradio.Interface.load(model_path)
|
| 9 |
|
| 10 |
def generate_text(prompt):
|
| 11 |
response = openai.Completion.create(
|