Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|