Update app.py
Browse files
app.py
CHANGED
@@ -122,15 +122,8 @@ def main(api_key, user_query):
|
|
122 |
return formatted_steps, ""
|
123 |
|
124 |
# Define the Gradio interface
|
125 |
-
with gr.Blocks() as demo:
|
126 |
-
|
127 |
-
|
128 |
-
gr.Markdown("""
|
129 |
-
This is an early prototype of using prompting to create O1-like reasoning chains to improve output accuracy. It is not perfect and accuracy has yet to be formally evaluated. It is powered by Groq so that the reasoning step is fast!
|
130 |
-
|
131 |
-
Open source [repository here](https://github.com/bklieger-groq)
|
132 |
-
""")
|
133 |
-
|
134 |
with gr.Row():
|
135 |
with gr.Column():
|
136 |
api_input = gr.Textbox(
|
@@ -153,4 +146,4 @@ with gr.Blocks() as demo:
|
|
153 |
|
154 |
# Launch the Gradio app
|
155 |
if __name__ == "__main__":
|
156 |
-
demo.launch()
|
|
|
122 |
return formatted_steps, ""
|
123 |
|
124 |
# Define the Gradio interface
|
125 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme") as demo:
|
126 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
with gr.Row():
|
128 |
with gr.Column():
|
129 |
api_input = gr.Textbox(
|
|
|
146 |
|
147 |
# Launch the Gradio app
|
148 |
if __name__ == "__main__":
|
149 |
+
demo.launch()
|