Spaces:
Running
Running
Dacho688
commited on
Commit
·
7e4d34f
1
Parent(s):
93f4bd2
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
import
|
3 |
import gradio as gr
|
4 |
from transformers import ReactCodeAgent, HfEngine, Tool
|
5 |
import pandas as pd
|
@@ -129,4 +129,4 @@ I come packed with pandas, numpy, sklearn, matplotlib, seaborn, and more!
|
|
129 |
submit.click(interact_with_agent, [file_input, text_input], [chatbot])
|
130 |
|
131 |
if __name__ == "__main__":
|
132 |
-
demo.launch()
|
|
|
1 |
import os
|
2 |
+
import shutilos.getenv("HUGGINGFACEHUB_API_TOKEN")
|
3 |
import gradio as gr
|
4 |
from transformers import ReactCodeAgent, HfEngine, Tool
|
5 |
import pandas as pd
|
|
|
129 |
submit.click(interact_with_agent, [file_input, text_input], [chatbot])
|
130 |
|
131 |
if __name__ == "__main__":
|
132 |
+
demo.launch(share=True)
|