Spaces:
Sleeping
Sleeping
Ravi theja K
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,24 +2,6 @@ import streamlit as st
|
|
2 |
import replicate
|
3 |
import os
|
4 |
from transformers import AutoTokenizer
|
5 |
-
|
6 |
-
|
7 |
-
'''from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
|
8 |
-
import snowflake.connector
|
9 |
-
|
10 |
-
# Replace with your own Snowflake account identifier, username, and password
|
11 |
-
account = "HYNVZSV.GEB42510"
|
12 |
-
username = "kravitheja027"
|
13 |
-
password = "Neervi@2727"
|
14 |
-
database = "SNOWFLAKE_SAMPLE_DATA"
|
15 |
-
|
16 |
-
# Create a connection to Snowflake
|
17 |
-
conn = snowflake.connector.connect(
|
18 |
-
user=kravitheja027,
|
19 |
-
password=Neervi@2727,
|
20 |
-
account=GEB42510,
|
21 |
-
database=SNOWFLAKE_SAMPLE_DATA
|
22 |
-
'''
|
23 |
|
24 |
# Set assistant icon to Snowflake logo
|
25 |
icons = {"assistant": "./Snowflake_Logomark_blue.svg", "user": "⛷️"}
|
|
|
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": "⛷️"}
|