ATG2024 commited on
Commit
677c27b
·
verified ·
1 Parent(s): 627ce9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ def respond(user_input):
12
  return f"Here's a picture of Los Angeles!", PICTURE_URL
13
  else:
14
  return "How can I help you with astronomy?", None
15
- Define the Gradio interface
16
  iface = gr.Interface(
17
 
18
  fn=respond,
@@ -20,7 +20,7 @@ iface = gr.Interface(
20
  outputs=["text", "image"]
21
 
22
 
23
- Launch the interface
24
  iface.launch()#
25
  os.environ["TOKENIZERS_PARALLELISM"] = "false"
26
 
 
12
  return f"Here's a picture of Los Angeles!", PICTURE_URL
13
  else:
14
  return "How can I help you with astronomy?", None
15
+ #Define the Gradio interface#
16
  iface = gr.Interface(
17
 
18
  fn=respond,
 
20
  outputs=["text", "image"]
21
 
22
 
23
+ #Launch the interface#
24
  iface.launch()#
25
  os.environ["TOKENIZERS_PARALLELISM"] = "false"
26