rubend18 commited on
Commit
509da71
·
1 Parent(s): a8cc450

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ def generate_prompt():
56
  prompt = generate_sentence()
57
  return prompt
58
 
59
- # value1 = gr.inputs.Textbox(label="Character", placeholder="Enter the character...")
60
  value2 = gr.outputs.Textbox(label="Prompt")
61
 
62
  # examples = [
@@ -67,7 +67,7 @@ value2 = gr.outputs.Textbox(label="Prompt")
67
 
68
  demo = gr.Interface(
69
  fn=generate_prompt,
70
- inputs="",
71
  outputs=value2,
72
  title="Prompt Generator for OpenAI's DALL-E"
73
  # examples=examples,
 
56
  prompt = generate_sentence()
57
  return prompt
58
 
59
+ value1 = gr.inputs.Textbox(label="Character", placeholder="Enter the character...")
60
  value2 = gr.outputs.Textbox(label="Prompt")
61
 
62
  # examples = [
 
67
 
68
  demo = gr.Interface(
69
  fn=generate_prompt,
70
+ inputs=value1,
71
  outputs=value2,
72
  title="Prompt Generator for OpenAI's DALL-E"
73
  # examples=examples,