Spaces:
Paused
Paused
Update Gradio_UI.py
Browse files- Gradio_UI.py +0 -8
Gradio_UI.py
CHANGED
|
@@ -261,11 +261,7 @@ class GradioUI:
|
|
| 261 |
def launch(self, **kwargs):
|
| 262 |
import gradio as gr
|
| 263 |
|
| 264 |
-
|
| 265 |
-
|
| 266 |
with gr.Blocks(fill_height=True) as demo:
|
| 267 |
-
gr.Markdown("# Ask about predicting cryptocurrency prices! Note: This is a fun project and is not intended for serious investment decisions. 😉 It utilizes 9-day and 20-day Simple Moving Averages (SMA) for predictions.")
|
| 268 |
-
|
| 269 |
stored_messages = gr.State([])
|
| 270 |
file_uploads_log = gr.State([])
|
| 271 |
chatbot = gr.Chatbot(
|
|
@@ -294,10 +290,6 @@ class GradioUI:
|
|
| 294 |
[stored_messages, text_input],
|
| 295 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 296 |
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
demo.launch(debug=True, share=True, **kwargs)
|
| 302 |
|
| 303 |
|
|
|
|
| 261 |
def launch(self, **kwargs):
|
| 262 |
import gradio as gr
|
| 263 |
|
|
|
|
|
|
|
| 264 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
|
|
|
| 265 |
stored_messages = gr.State([])
|
| 266 |
file_uploads_log = gr.State([])
|
| 267 |
chatbot = gr.Chatbot(
|
|
|
|
| 290 |
[stored_messages, text_input],
|
| 291 |
).then(self.interact_with_agent, [stored_messages, chatbot], [chatbot])
|
| 292 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
demo.launch(debug=True, share=True, **kwargs)
|
| 294 |
|
| 295 |
|