JustForFunn commited on
Commit
4eb3ab0
·
1 Parent(s): da277b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.load_model(model_path)
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(