Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def generate(prompt, history, email):
|
|
22 |
output = ""
|
23 |
|
24 |
if not email:
|
25 |
-
for char in "Please provide your email address to use the app.":
|
26 |
output += char
|
27 |
yield output
|
28 |
else:
|
@@ -45,5 +45,6 @@ gr.ChatInterface(
|
|
45 |
chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="bubble"),
|
46 |
additional_inputs=additional_inputs,
|
47 |
title="Predict the Prompt - GDG Cloud Kolkata - GCCD 2024",
|
|
|
48 |
concurrency_limit=20,
|
49 |
).launch(show_api=False)
|
|
|
22 |
output = ""
|
23 |
|
24 |
if not email:
|
25 |
+
for char in "Please provide your valid email address in 'Additional Inputs' section to use the app.":
|
26 |
output += char
|
27 |
yield output
|
28 |
else:
|
|
|
45 |
chatbot=gr.Chatbot(show_label=True, show_share_button=True, show_copy_button=True, likeable=True, layout="bubble"),
|
46 |
additional_inputs=additional_inputs,
|
47 |
title="Predict the Prompt - GDG Cloud Kolkata - GCCD 2024",
|
48 |
+
theme=gr.themes.Soft()
|
49 |
concurrency_limit=20,
|
50 |
).launch(show_api=False)
|