arjunanand13 commited on
Commit
638c5b7
·
verified ·
1 Parent(s): 6056ee2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,7 +34,8 @@ def process_input(Prompt,choice):
34
  else:
35
  return None , None , generate_image(Prompt)
36
 
37
- with gr.Blocks as demo:
 
38
  with gr.Row():
39
  text_input = gr.Textbox()
40
  choice = gr.Radio(choices=["Chat","Music","Image"])
 
34
  else:
35
  return None , None , generate_image(Prompt)
36
 
37
+ demo=gr.Blocks()
38
+ with demo:
39
  with gr.Row():
40
  text_input = gr.Textbox()
41
  choice = gr.Radio(choices=["Chat","Music","Image"])