Update app.py
Browse filesupdated example questions
app.py
CHANGED
|
@@ -82,12 +82,13 @@ def handle_prompt(message, history):
|
|
| 82 |
except:
|
| 83 |
raise gr.Error("Requests rate limit exceeded")
|
| 84 |
|
| 85 |
-
greetingsmessage = "Hi, I'm ChangBot, a chat bot here to assist you with any question related to Chang's research"
|
| 86 |
example_questions = [
|
| 87 |
-
"
|
| 88 |
-
"
|
| 89 |
-
"What is
|
| 90 |
-
"
|
|
|
|
| 91 |
]
|
| 92 |
|
| 93 |
demo = gr.ChatInterface(handle_prompt, type="messages", title="ChangBot", examples=example_questions, theme=gr.themes.Soft(), description=greetingsmessage)#, chatbot=chatbot)
|
|
|
|
| 82 |
except:
|
| 83 |
raise gr.Error("Requests rate limit exceeded")
|
| 84 |
|
| 85 |
+
greetingsmessage = "Hi, I'm ChangBot, a chat bot here to assist you with any question related to Chang's research. I'm in pre-alpha stage, so please be patient."
|
| 86 |
example_questions = [
|
| 87 |
+
"Tell me more about SimBIG",
|
| 88 |
+
"How can you constrain neutrino mass with galaxies?",
|
| 89 |
+
"What is the DESI BGS?",
|
| 90 |
+
"What is SEDflow?",
|
| 91 |
+
"What are normalizing flows?"
|
| 92 |
]
|
| 93 |
|
| 94 |
demo = gr.ChatInterface(handle_prompt, type="messages", title="ChangBot", examples=example_questions, theme=gr.themes.Soft(), description=greetingsmessage)#, chatbot=chatbot)
|