Update app.py
Browse files
app.py
CHANGED
|
@@ -65,9 +65,6 @@ agent = CodeAgent(
|
|
| 65 |
prompt_templates=prompt_templates
|
| 66 |
)
|
| 67 |
|
| 68 |
-
|
| 69 |
-
GradioUI(agent).launch()
|
| 70 |
-
|
| 71 |
import yfinance as yf
|
| 72 |
|
| 73 |
@tool
|
|
@@ -77,5 +74,9 @@ def get_stock_price(symbol: str) -> str:
|
|
| 77 |
stock =yf.Ticker(symbol)
|
| 78 |
data = stock.history(period="1d")
|
| 79 |
return(get_stock_price)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
|
|
|
|
| 65 |
prompt_templates=prompt_templates
|
| 66 |
)
|
| 67 |
|
|
|
|
|
|
|
|
|
|
| 68 |
import yfinance as yf
|
| 69 |
|
| 70 |
@tool
|
|
|
|
| 74 |
stock =yf.Ticker(symbol)
|
| 75 |
data = stock.history(period="1d")
|
| 76 |
return(get_stock_price)
|
| 77 |
+
|
| 78 |
+
GradioUI(agent).launch()
|
| 79 |
+
|
| 80 |
+
|
| 81 |
|
| 82 |
|