Spaces:
Sleeping
Sleeping
Ravi theja K
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,24 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
import replicate
|
3 |
import os
|
4 |
-
#import snowflake.snowpark.functions
|
5 |
-
#from snowflake.snowpark import Session
|
6 |
-
#from snowflake.snowpark.functions import col
|
7 |
from transformers import AutoTokenizer
|
8 |
|
9 |
-
'''
|
10 |
-
connection_parameters= {"account" : "ap20346.ap-south-1",
|
11 |
-
"user" : "Vassist",
|
12 |
-
"password" : "Vassist@123",
|
13 |
-
"role" : "ACCOUNTADMIN",
|
14 |
-
"warehouse" : "COMPUTE_WH",
|
15 |
-
"database" : "SNOWFLAKE_SAMPLE_DATA",
|
16 |
-
"schema" : "TPCH_SF1"
|
17 |
-
}
|
18 |
-
|
19 |
-
test_session = Session.builder.configs(connection_parameters).create()
|
20 |
-
'''
|
21 |
-
|
22 |
# Set assistant icon to Snowflake logo
|
23 |
icons = {"assistant": "./Snowflake_Logomark_blue.svg", "user": "⛷️"}
|
24 |
|
|
|
1 |
import streamlit as st
|
2 |
import replicate
|
3 |
import os
|
|
|
|
|
|
|
4 |
from transformers import AutoTokenizer
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
# Set assistant icon to Snowflake logo
|
7 |
icons = {"assistant": "./Snowflake_Logomark_blue.svg", "user": "⛷️"}
|
8 |
|